{"type": "func", "start": 6442648528, "end": 6442648588, "name": "cocos2d::CCCallFunc::initWithTarget", "pseudocode": "// \n// cocos2d::CCCallFunc::initWithTarget from 0x1800303d0 to 0x18003040c (60 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCCallFunc::create @ 0x18002f973\n// > <???> @ 0x1800e9170\n// > <???> @ 0x1800e91f8\n// > <???> @ 0x1800e9298\n// > <???> @ 0x1800e9340\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0150\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nchar __fastcall cocos2d::CCCallFunc::initWithTarget(cocos2d::CCCallFunc *this, struct cocos2d::CCObject *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  v4 = *((cocos2d::CCObject **)this + 11);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  *((_QWORD *)this + 11) = a2;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCCallFunc::initWithTarget from 0x1800303d0 to 0x18003040c (60 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCCallFunc::create @ 0x18002f973\n; > <???> @ 0x1800e9170\n; > <???> @ 0x1800e91f8\n; > <???> @ 0x1800e9298\n; > <???> @ 0x1800e9340\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0150\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800303d0\npush    rdi                                                            ; +0x5, 0x1800303d5\nsub     rsp, 20h                                                       ; +0x6, 0x1800303d6\nmov     rbx, rdx                                                       ; +0xa, 0x1800303da\nmov     rdi, rcx                                                       ; +0xd, 0x1800303dd\ntest    rdx, rdx                                                       ; +0x10, 0x1800303e0\njz      short loc_1800303ED                                            ; +0x13, 0x1800303e3\nmov     rcx, rdx; this                                                 ; +0x15, 0x1800303e5\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x18, 0x1800303e8\nmov     rcx, [rdi+58h]; this                                           ; +0x1d, 0x1800303ed\ntest    rcx, rcx                                                       ; +0x21, 0x1800303f1\njz      short loc_1800303FB                                            ; +0x24, 0x1800303f4\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x26, 0x1800303f6\nmov     [rdi+58h], rbx                                                 ; +0x2b, 0x1800303fb\nmov     al, 1                                                          ; +0x2f, 0x1800303ff\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x31, 0x180030401\nadd     rsp, 20h                                                       ; +0x36, 0x180030406\npop     rdi                                                            ; +0x3a, 0x18003040a\nretn                                                                   ; +0x3b, 0x18003040b", "xrefs": ["cocos2d::CCCallFunc::create @ 0x18002f973", "<???> @ 0x1800e9170", "<???> @ 0x1800e91f8", "<???> @ 0x1800e9298", "<???> @ 0x1800e9340", "<???> @ 0x1801438a8", "<???> @ 0x1801b0150"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}