{"type": "func", "start": 6442648672, "end": 6442648766, "name": "cocos2d::CCCallFuncND::initWithTarget", "pseudocode": "// \n// cocos2d::CCCallFuncND::initWithTarget from 0x180030460 to 0x1800304be (94 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCCallFuncND::create @ 0x18002fc7b\n// > <???> @ 0x1800e92b0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0168\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::CCCallFuncND::initWithTarget(_QWORD *a1, cocos2d::CCObject *a2, __int64 a3, __int64 a4)\n{\n  cocos2d::CCObject *v8; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  v8 = (cocos2d::CCObject *)a1[11];\n  if ( v8 )\n    cocos2d::CCObject::release(v8);\n  a1[15] = a4;\n  a1[13] = a3;\n  a1[11] = a2;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCCallFuncND::initWithTarget from 0x180030460 to 0x1800304be (94 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCCallFuncND::create @ 0x18002fc7b\n; > <???> @ 0x1800e92b0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0168\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, 0x180030460\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180030465\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18003046a\npush    rdi                                                            ; +0xf, 0x18003046f\nsub     rsp, 20h                                                       ; +0x10, 0x180030470\nmov     rsi, r9                                                        ; +0x14, 0x180030474\nmov     rbp, r8                                                        ; +0x17, 0x180030477\nmov     rdi, rdx                                                       ; +0x1a, 0x18003047a\nmov     rbx, rcx                                                       ; +0x1d, 0x18003047d\ntest    rdx, rdx                                                       ; +0x20, 0x180030480\njz      short loc_18003048D                                            ; +0x23, 0x180030483\nmov     rcx, rdx; this                                                 ; +0x25, 0x180030485\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x28, 0x180030488\nmov     rcx, [rbx+58h]; this                                           ; +0x2d, 0x18003048d\ntest    rcx, rcx                                                       ; +0x31, 0x180030491\njz      short loc_18003049B                                            ; +0x34, 0x180030494\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x36, 0x180030496\nmov     [rbx+78h], rsi                                                 ; +0x3b, 0x18003049b\nmov     al, 1                                                          ; +0x3f, 0x18003049f\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x41, 0x1800304a1\nmov     [rbx+68h], rbp                                                 ; +0x46, 0x1800304a6\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x4a, 0x1800304aa\nmov     [rbx+58h], rdi                                                 ; +0x4f, 0x1800304af\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x53, 0x1800304b3\nadd     rsp, 20h                                                       ; +0x58, 0x1800304b8\npop     rdi                                                            ; +0x5c, 0x1800304bc\nretn                                                                   ; +0x5d, 0x1800304bd", "xrefs": ["cocos2d::CCCallFuncND::create @ 0x18002fc7b", "<???> @ 0x1800e92b0", "<???> @ 0x1801438a8", "<???> @ 0x1801b0168"], "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"}