; ; cocos2d::CCMenu::addChild from 0x180059f30 to 0x180059f95 (101 bytes) ; ; 3 xrefs: ; > @ 0x1800fd2f0 ; > @ 0x18014cf68 ; > @ 0x1801bccac ; ; 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:48 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180059f30 mov [rsp+arg_8], rbp ; +0x5, 0x180059f35 mov [rsp+arg_10], rsi ; +0xa, 0x180059f3a push rdi ; +0xf, 0x180059f3f sub rsp, 30h ; +0x10, 0x180059f40 mov rsi, rdx ; +0x14, 0x180059f44 mov [rsp+38h+var_18], 0 ; +0x17, 0x180059f47 mov ebx, r9d ; +0x1f, 0x180059f4f mov edi, r8d ; +0x22, 0x180059f52 mov rbp, rcx ; +0x25, 0x180059f55 lea r9, ??_R0?AVCCMenuItem@cocos2d@@@8; cocos2d::CCMenuItem `RTTI Type Descriptor' ; +0x28, 0x180059f58 mov rcx, rsi ; +0x2f, 0x180059f5f lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x32, 0x180059f62 xor edx, edx ; +0x39, 0x180059f69 call __RTDynamicCast ; +0x3b, 0x180059f6b mov r9d, ebx; int ; +0x40, 0x180059f70 mov r8d, edi; int ; +0x43, 0x180059f73 mov rdx, rsi; struct cocos2d::CCNode * ; +0x46, 0x180059f76 mov rcx, rbp; this ; +0x49, 0x180059f79 mov rbx, [rsp+38h+arg_0] ; +0x4c, 0x180059f7c mov rbp, [rsp+38h+arg_8] ; +0x51, 0x180059f81 mov rsi, [rsp+38h+arg_10] ; +0x56, 0x180059f86 add rsp, 30h ; +0x5b, 0x180059f8b pop rdi ; +0x5f, 0x180059f8f jmp ?addChild@CCNode@cocos2d@@UEAAXPEAV12@HH@Z; cocos2d::CCNode::addChild(cocos2d::CCNode *,int,int) ; +0x60, 0x180059f90