; ; cocos2d::CCMenu::addChild from 0x180057fc0 to 0x180058025 (101 bytes) ; ; 3 xrefs: ; > @ 0x1800f6ea8 ; > @ 0x1801438a8 ; > @ 0x1801b2a18 ; ; 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, 0x180057fc0 mov [rsp+arg_8], rbp ; +0x5, 0x180057fc5 mov [rsp+arg_10], rsi ; +0xa, 0x180057fca push rdi ; +0xf, 0x180057fcf sub rsp, 30h ; +0x10, 0x180057fd0 mov rsi, rdx ; +0x14, 0x180057fd4 mov [rsp+38h+var_18], 0 ; +0x17, 0x180057fd7 mov ebx, r9d ; +0x1f, 0x180057fdf mov edi, r8d ; +0x22, 0x180057fe2 mov rbp, rcx ; +0x25, 0x180057fe5 lea r9, ??_R0?AVCCMenuItem@cocos2d@@@8; cocos2d::CCMenuItem `RTTI Type Descriptor' ; +0x28, 0x180057fe8 mov rcx, rsi ; +0x2f, 0x180057fef lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x32, 0x180057ff2 xor edx, edx ; +0x39, 0x180057ff9 call __RTDynamicCast ; +0x3b, 0x180057ffb mov r9d, ebx; int ; +0x40, 0x180058000 mov r8d, edi; int ; +0x43, 0x180058003 mov rdx, rsi; struct cocos2d::CCNode * ; +0x46, 0x180058006 mov rcx, rbp; this ; +0x49, 0x180058009 mov rbx, [rsp+38h+arg_0] ; +0x4c, 0x18005800c mov rbp, [rsp+38h+arg_8] ; +0x51, 0x180058011 mov rsi, [rsp+38h+arg_10] ; +0x56, 0x180058016 add rsp, 30h ; +0x5b, 0x18005801b pop rdi ; +0x5f, 0x18005801f jmp ?addChild@CCNode@cocos2d@@UEAAXPEAV12@HH@Z; cocos2d::CCNode::addChild(cocos2d::CCNode *,int,int) ; +0x60, 0x180058020