{"type": "func", "start": 6442826048, "end": 6442826155, "name": "cocos2d::CCMenu::removeChild", "pseudocode": "// \n// cocos2d::CCMenu::removeChild from 0x18005b940 to 0x18005b9ab (107 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800fd348\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bce20\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:21:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenu::removeChild(cocos2d::CCMenu *this, struct cocos2d::CCNode *a2, char a3)\n{\n  if ( *((_QWORD *)this + 55) == _RTDynamicCast(\n                                   a2,\n                                   0,\n                                   &cocos2d::CCNode `RTTI Type Descriptor',\n                                   &cocos2d::CCMenuItem `RTTI Type Descriptor',\n                                   0) )\n    *((_QWORD *)this + 55) = 0;\n  cocos2d::CCNode::removeChild(this, a2, a3);\n}", "assembly": "; \n; cocos2d::CCMenu::removeChild from 0x18005b940 to 0x18005b9ab (107 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800fd348\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bce20\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:21:49 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005b940\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18005b945\npush    rdi                                                            ; +0xa, 0x18005b94a\nsub     rsp, 30h                                                       ; +0xb, 0x18005b94b\nmov     rdi, rdx                                                       ; +0xf, 0x18005b94f\nmov     [rsp+38h+var_18], 0                                            ; +0x12, 0x18005b952\nmovzx   esi, r8b                                                       ; +0x1a, 0x18005b95a\nlea     r9, ??_R0?AVCCMenuItem@cocos2d@@@8; cocos2d::CCMenuItem `RTTI Type Descriptor' ; +0x1e, 0x18005b95e\nmov     rbx, rcx                                                       ; +0x25, 0x18005b965\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x28, 0x18005b968\nmov     rcx, rdi                                                       ; +0x2f, 0x18005b96f\nxor     edx, edx                                                       ; +0x32, 0x18005b972\ncall    __RTDynamicCast                                                ; +0x34, 0x18005b974\ncmp     [rbx+1B8h], rax                                                ; +0x39, 0x18005b979\njnz     short loc_18005B98D                                            ; +0x40, 0x18005b980\nmov     qword ptr [rbx+1B8h], 0                                        ; +0x42, 0x18005b982\nmovzx   r8d, sil; bool                                                 ; +0x4d, 0x18005b98d\nmov     rdx, rdi; struct cocos2d::CCNode *                             ; +0x51, 0x18005b991\nmov     rcx, rbx; this                                                 ; +0x54, 0x18005b994\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x57, 0x18005b997\nmov     rsi, [rsp+38h+arg_8]                                           ; +0x5c, 0x18005b99c\nadd     rsp, 30h                                                       ; +0x61, 0x18005b9a1\npop     rdi                                                            ; +0x65, 0x18005b9a5\njmp     ?removeChild@CCNode@cocos2d@@UEAAXPEAV12@_N@Z; cocos2d::CCNode::removeChild(cocos2d::CCNode *,bool) ; +0x66, 0x18005b9a6", "xrefs": ["<???> @ 0x1800fd348", "<???> @ 0x18014cf68", "<???> @ 0x1801bce20"], "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"}