; ; cocos2d::CCCallFuncO::initWithTarget from 0x1800304c0 to 0x18003052b (107 bytes) ; ; 5 xrefs: ; > cocos2d::CCCallFuncO::create @ 0x18002fdb1 ; > cocos2d::CCCallFuncO::create @ 0x18002fd99 ; > @ 0x1800e9350 ; > @ 0x1801438a8 ; > @ 0x1801b0174 ; ; 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, 0x1800304c0 mov [rsp+arg_8], rbp ; +0x5, 0x1800304c5 mov [rsp+arg_10], rsi ; +0xa, 0x1800304ca push rdi ; +0xf, 0x1800304cf sub rsp, 20h ; +0x10, 0x1800304d0 mov rdi, r9 ; +0x14, 0x1800304d4 mov rbp, r8 ; +0x17, 0x1800304d7 mov rsi, rdx ; +0x1a, 0x1800304da mov rbx, rcx ; +0x1d, 0x1800304dd test rdx, rdx ; +0x20, 0x1800304e0 jz short loc_1800304ED ; +0x23, 0x1800304e3 mov rcx, rdx; this ; +0x25, 0x1800304e5 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x28, 0x1800304e8 mov rcx, [rbx+58h]; this ; +0x2d, 0x1800304ed test rcx, rcx ; +0x31, 0x1800304f1 jz short loc_1800304FB ; +0x34, 0x1800304f4 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x36, 0x1800304f6 mov [rbx+58h], rsi ; +0x3b, 0x1800304fb mov [rbx+78h], rdi ; +0x3f, 0x1800304ff test rdi, rdi ; +0x43, 0x180030503 jz short loc_180030510 ; +0x46, 0x180030506 mov rcx, rdi; this ; +0x48, 0x180030508 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4b, 0x18003050b mov rsi, [rsp+28h+arg_10] ; +0x50, 0x180030510 mov al, 1 ; +0x55, 0x180030515 mov [rbx+68h], rbp ; +0x57, 0x180030517 mov rbx, [rsp+28h+arg_0] ; +0x5b, 0x18003051b mov rbp, [rsp+28h+arg_8] ; +0x60, 0x180030520 add rsp, 20h ; +0x65, 0x180030525 pop rdi ; +0x69, 0x180030529 retn ; +0x6a, 0x18003052a