{"type": "func", "start": 6443172704, "end": 6443172825, "name": "cocos2d::CCTMXLayer::removeChild", "pseudocode": "// \n// cocos2d::CCTMXLayer::removeChild from 0x1800b0360 to 0x1800b03d9 (121 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18010c2f0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2448\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:19 +0000\n// \n\nvoid __fastcall cocos2d::CCTMXLayer::removeChild(cocos2d::CCTMXLayer *this, struct cocos2d::CCNode *a2, char a3)\n{\n  __int64 v6; // rdx\n\n  if ( a2 )\n  {\n    cocos2d::CCArray::containsObject(*((cocos2d::CCArray **)this + 26), a2);\n    v6 = *((unsigned int *)a2 + 90);\n    *(_DWORD *)(*((_QWORD *)this + 47) + 4LL * *(unsigned int *)(*(_QWORD *)(*((_QWORD *)this + 59) + 16LL) + 8 * v6)) = 0;\n    sub_1800A2010(*((_QWORD *)this + 59), v6);\n    cocos2d::CCSpriteBatchNode::removeChild(this, a2, a3);\n  }\n}", "assembly": "; \n; cocos2d::CCTMXLayer::removeChild from 0x1800b0360 to 0x1800b03d9 (121 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18010c2f0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2448\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:19 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x1800b0360\njz      short locret_1800B03D8                                         ; +0x3, 0x1800b0363\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x1800b0365\nmov     [rsp+arg_8], rsi                                               ; +0xa, 0x1800b036a\npush    rdi                                                            ; +0xf, 0x1800b036f\nsub     rsp, 20h                                                       ; +0x10, 0x1800b0370\nmov     rdi, rcx                                                       ; +0x14, 0x1800b0374\nmovzx   esi, r8b                                                       ; +0x17, 0x1800b0377\nmov     rcx, [rcx+0D0h]; this                                          ; +0x1b, 0x1800b037b\nmov     rbx, rdx                                                       ; +0x22, 0x1800b0382\ncall    ?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x25, 0x1800b0385\nmov     rax, [rdi+1D8h]                                                ; +0x2a, 0x1800b038a\nmov     edx, [rbx+168h]                                                ; +0x31, 0x1800b0391\nmov     r9, [rax+10h]                                                  ; +0x37, 0x1800b0397\nmov     rax, [rdi+178h]                                                ; +0x3b, 0x1800b039b\nmov     r8d, [r9+rdx*8]                                                ; +0x42, 0x1800b03a2\nmov     dword ptr [rax+r8*4], 0                                        ; +0x46, 0x1800b03a6\nmov     rcx, [rdi+1D8h]                                                ; +0x4e, 0x1800b03ae\ncall    sub_1800A2010                                                  ; +0x55, 0x1800b03b5\nmovzx   r8d, sil; bool                                                 ; +0x5a, 0x1800b03ba\nmov     rdx, rbx; struct cocos2d::CCNode *                             ; +0x5e, 0x1800b03be\nmov     rcx, rdi; this                                                 ; +0x61, 0x1800b03c1\ncall    ?removeChild@CCSpriteBatchNode@cocos2d@@UEAAXPEAVCCNode@2@_N@Z; cocos2d::CCSpriteBatchNode::removeChild(cocos2d::CCNode *,bool) ; +0x64, 0x1800b03c4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x69, 0x1800b03c9\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6e, 0x1800b03ce\nadd     rsp, 20h                                                       ; +0x73, 0x1800b03d3\npop     rdi                                                            ; +0x77, 0x1800b03d7\nretn                                                                   ; +0x78, 0x1800b03d8", "xrefs": ["<???> @ 0x18010c2f0", "<???> @ 0x18014cf68", "<???> @ 0x1801c2448"], "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"}