; ; cocos2d::CCMenu::removeChild from 0x180059900 to 0x18005996b (107 bytes) ; ; 3 xrefs: ; > @ 0x1800f6f00 ; > @ 0x1801438a8 ; > @ 0x1801b2b80 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x180059900 mov [rsp+arg_8], rsi ; +0x5, 0x180059905 push rdi ; +0xa, 0x18005990a sub rsp, 30h ; +0xb, 0x18005990b mov rdi, rdx ; +0xf, 0x18005990f mov [rsp+38h+var_18], 0 ; +0x12, 0x180059912 movzx esi, r8b ; +0x1a, 0x18005991a lea r9, ??_R0?AVCCMenuItem@cocos2d@@@8; cocos2d::CCMenuItem `RTTI Type Descriptor' ; +0x1e, 0x18005991e mov rbx, rcx ; +0x25, 0x180059925 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x28, 0x180059928 mov rcx, rdi ; +0x2f, 0x18005992f xor edx, edx ; +0x32, 0x180059932 call __RTDynamicCast ; +0x34, 0x180059934 cmp [rbx+1B8h], rax ; +0x39, 0x180059939 jnz short loc_18005994D ; +0x40, 0x180059940 mov qword ptr [rbx+1B8h], 0 ; +0x42, 0x180059942 movzx r8d, sil; bool ; +0x4d, 0x18005994d mov rdx, rdi; struct cocos2d::CCNode * ; +0x51, 0x180059951 mov rcx, rbx; this ; +0x54, 0x180059954 mov rbx, [rsp+38h+arg_0] ; +0x57, 0x180059957 mov rsi, [rsp+38h+arg_8] ; +0x5c, 0x18005995c add rsp, 30h ; +0x61, 0x180059961 pop rdi ; +0x65, 0x180059965 jmp ?removeChild@CCNode@cocos2d@@UEAAXPEAV12@_N@Z; cocos2d::CCNode::removeChild(cocos2d::CCNode *,bool) ; +0x66, 0x180059966