{"type": "func", "start": 6443164912, "end": 6443165049, "name": "cocos2d::CCParallaxNode::removeChild", "pseudocode": "// \n// cocos2d::CCParallaxNode::removeChild from 0x1800ae4f0 to 0x1800ae579 (137 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18010baa8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c228c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:18 +0000\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_1800A1B70(*((_QWORD *)this + 40), v4, 1);\n  }\nLABEL_6:\n  cocos2d::CCNode::removeChild(this, a2, a3);\n}", "assembly": "; \n; cocos2d::CCParallaxNode::removeChild from 0x1800ae4f0 to 0x1800ae579 (137 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18010baa8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c228c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800ae4f0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800ae4f5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800ae4fa\npush    rdi                                                            ; +0xf, 0x1800ae4ff\nsub     rsp, 20h                                                       ; +0x10, 0x1800ae500\nmov     r9, [rcx+140h]                                                 ; +0x14, 0x1800ae504\nxor     ebx, ebx                                                       ; +0x1b, 0x1800ae50b\nmovzx   ebp, r8b                                                       ; +0x1d, 0x1800ae50d\nmov     rsi, rdx                                                       ; +0x21, 0x1800ae511\nmov     rdi, rcx                                                       ; +0x24, 0x1800ae514\ncmp     [r9], ebx                                                      ; +0x27, 0x1800ae517\njbe     short loc_1800AE556                                            ; +0x2a, 0x1800ae51a\nnop     dword ptr [rax+00h]                                            ; +0x2c, 0x1800ae51c\nmov     rax, [r9+10h]                                                  ; +0x30, 0x1800ae520\nmov     rdx, rsi                                                       ; +0x34, 0x1800ae524\nmov     rcx, [rax+rbx*8]                                               ; +0x37, 0x1800ae527\nmov     rcx, [rcx+48h]                                                 ; +0x3b, 0x1800ae52b\nmov     rax, [rcx]                                                     ; +0x3f, 0x1800ae52f\ncall    qword ptr [rax+10h]                                            ; +0x42, 0x1800ae532\nmov     r9, [rdi+140h]                                                 ; +0x45, 0x1800ae535\ntest    al, al                                                         ; +0x4c, 0x1800ae53c\njnz     short loc_1800AE549                                            ; +0x4e, 0x1800ae53e\ninc     ebx                                                            ; +0x50, 0x1800ae540\ncmp     ebx, [r9]                                                      ; +0x52, 0x1800ae542\njb      short loc_1800AE520                                            ; +0x55, 0x1800ae545\njmp     short loc_1800AE556                                            ; +0x57, 0x1800ae547\nmov     r8b, 1                                                         ; +0x59, 0x1800ae549\nmov     edx, ebx                                                       ; +0x5c, 0x1800ae54c\nmov     rcx, r9                                                        ; +0x5e, 0x1800ae54e\ncall    sub_1800A1B70                                                  ; +0x61, 0x1800ae551\nmovzx   r8d, bpl; bool                                                 ; +0x66, 0x1800ae556\nmov     rdx, rsi; struct cocos2d::CCNode *                             ; +0x6a, 0x1800ae55a\nmov     rcx, rdi; this                                                 ; +0x6d, 0x1800ae55d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x70, 0x1800ae560\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x75, 0x1800ae565\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x7a, 0x1800ae56a\nadd     rsp, 20h                                                       ; +0x7f, 0x1800ae56f\npop     rdi                                                            ; +0x83, 0x1800ae573\njmp     ?removeChild@CCNode@cocos2d@@UEAAXPEAV12@_N@Z; cocos2d::CCNode::removeChild(cocos2d::CCNode *,bool) ; +0x84, 0x1800ae574", "xrefs": ["<???> @ 0x18010baa8", "<???> @ 0x18014cf68", "<???> @ 0x1801c228c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}