; ; cocos2d::CCMenu::removeChild from 0x18005b940 to 0x18005b9ab (107 bytes) ; ; 3 xrefs: ; > @ 0x1800fd348 ; > @ 0x18014cf68 ; > @ 0x1801bce20 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:49 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18005b940 mov [rsp+arg_8], rsi ; +0x5, 0x18005b945 push rdi ; +0xa, 0x18005b94a sub rsp, 30h ; +0xb, 0x18005b94b mov rdi, rdx ; +0xf, 0x18005b94f mov [rsp+38h+var_18], 0 ; +0x12, 0x18005b952 movzx esi, r8b ; +0x1a, 0x18005b95a lea r9, ??_R0?AVCCMenuItem@cocos2d@@@8; cocos2d::CCMenuItem `RTTI Type Descriptor' ; +0x1e, 0x18005b95e mov rbx, rcx ; +0x25, 0x18005b965 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x28, 0x18005b968 mov rcx, rdi ; +0x2f, 0x18005b96f xor edx, edx ; +0x32, 0x18005b972 call __RTDynamicCast ; +0x34, 0x18005b974 cmp [rbx+1B8h], rax ; +0x39, 0x18005b979 jnz short loc_18005B98D ; +0x40, 0x18005b980 mov qword ptr [rbx+1B8h], 0 ; +0x42, 0x18005b982 movzx r8d, sil; bool ; +0x4d, 0x18005b98d mov rdx, rdi; struct cocos2d::CCNode * ; +0x51, 0x18005b991 mov rcx, rbx; this ; +0x54, 0x18005b994 mov rbx, [rsp+38h+arg_0] ; +0x57, 0x18005b997 mov rsi, [rsp+38h+arg_8] ; +0x5c, 0x18005b99c add rsp, 30h ; +0x61, 0x18005b9a1 pop rdi ; +0x65, 0x18005b9a5 jmp ?removeChild@CCNode@cocos2d@@UEAAXPEAV12@_N@Z; cocos2d::CCNode::removeChild(cocos2d::CCNode *,bool) ; +0x66, 0x18005b9a6