{"type": "func", "start": 6443150576, "end": 6443150713, "name": "cocos2d::CCParallaxNode::removeChild", "pseudocode": "// \n// cocos2d::CCParallaxNode::removeChild from 0x1800aacf0 to 0x1800aad79 (137 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801053c0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7fc8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCParallaxNode::removeChild(\n        cocos2d::CCParallaxNode *this,\n        struct cocos2d::CCNode *a2,\n        char a3)\n{\n  __int64 v3; // r9\n  __int64 v4; // rbx\n  __int64 v8; // rcx\n  char v9; // al\n\n  v3 = *((_QWORD *)this + 40);\n  v4 = 0;\n  if ( *(_DWORD *)v3 )\n  {\n    while ( 1 )\n    {\n      v8 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(v3 + 16) + 8 * v4) + 72LL);\n      v9 = (*(__int64 (__fastcall **)(__int64, struct cocos2d::CCNode *))(*(_QWORD *)v8 + 16LL))(v8, a2);\n      v3 = *((_QWORD *)this + 40);\n      if ( v9 )\n        break;\n      v4 = (unsigned int)(v4 + 1);\n      if ( (unsigned int)v4 >= *(_DWORD *)v3 )\n        goto LABEL_6;\n    }\n    sub_18009DEE0(*((_QWORD *)this + 40), v4, 1);\n  }\nLABEL_6:\n  cocos2d::CCNode::removeChild(this, a2, a3);\n}", "assembly": "; \n; cocos2d::CCParallaxNode::removeChild from 0x1800aacf0 to 0x1800aad79 (137 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801053c0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7fc8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800aacf0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800aacf5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800aacfa\npush    rdi                                                            ; +0xf, 0x1800aacff\nsub     rsp, 20h                                                       ; +0x10, 0x1800aad00\nmov     r9, [rcx+140h]                                                 ; +0x14, 0x1800aad04\nxor     ebx, ebx                                                       ; +0x1b, 0x1800aad0b\nmovzx   ebp, r8b                                                       ; +0x1d, 0x1800aad0d\nmov     rsi, rdx                                                       ; +0x21, 0x1800aad11\nmov     rdi, rcx                                                       ; +0x24, 0x1800aad14\ncmp     [r9], ebx                                                      ; +0x27, 0x1800aad17\njbe     short loc_1800AAD56                                            ; +0x2a, 0x1800aad1a\nnop     dword ptr [rax+00h]                                            ; +0x2c, 0x1800aad1c\nmov     rax, [r9+10h]                                                  ; +0x30, 0x1800aad20\nmov     rdx, rsi                                                       ; +0x34, 0x1800aad24\nmov     rcx, [rax+rbx*8]                                               ; +0x37, 0x1800aad27\nmov     rcx, [rcx+48h]                                                 ; +0x3b, 0x1800aad2b\nmov     rax, [rcx]                                                     ; +0x3f, 0x1800aad2f\ncall    qword ptr [rax+10h]                                            ; +0x42, 0x1800aad32\nmov     r9, [rdi+140h]                                                 ; +0x45, 0x1800aad35\ntest    al, al                                                         ; +0x4c, 0x1800aad3c\njnz     short loc_1800AAD49                                            ; +0x4e, 0x1800aad3e\ninc     ebx                                                            ; +0x50, 0x1800aad40\ncmp     ebx, [r9]                                                      ; +0x52, 0x1800aad42\njb      short loc_1800AAD20                                            ; +0x55, 0x1800aad45\njmp     short loc_1800AAD56                                            ; +0x57, 0x1800aad47\nmov     r8b, 1                                                         ; +0x59, 0x1800aad49\nmov     edx, ebx                                                       ; +0x5c, 0x1800aad4c\nmov     rcx, r9                                                        ; +0x5e, 0x1800aad4e\ncall    sub_18009DEE0                                                  ; +0x61, 0x1800aad51\nmovzx   r8d, bpl; bool                                                 ; +0x66, 0x1800aad56\nmov     rdx, rsi; struct cocos2d::CCNode *                             ; +0x6a, 0x1800aad5a\nmov     rcx, rdi; this                                                 ; +0x6d, 0x1800aad5d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x70, 0x1800aad60\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x75, 0x1800aad65\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x7a, 0x1800aad6a\nadd     rsp, 20h                                                       ; +0x7f, 0x1800aad6f\npop     rdi                                                            ; +0x83, 0x1800aad73\njmp     ?removeChild@CCNode@cocos2d@@UEAAXPEAV12@_N@Z; cocos2d::CCNode::removeChild(cocos2d::CCNode *,bool) ; +0x84, 0x1800aad74", "xrefs": ["<???> @ 0x1801053c0", "<???> @ 0x1801438a8", "<???> @ 0x1801b7fc8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}