{"type": "func", "start": 6442648592, "end": 6442648669, "name": "cocos2d::CCCallFuncN::initWithTarget", "pseudocode": "// \n// cocos2d::CCCallFuncN::initWithTarget from 0x180030410 to 0x18003045d (77 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCCallFuncN::create @ 0x18002fb21\n// > <???> @ 0x1800e9208\n// > <???> @ 0x1800e92a8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b015c\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::CCCallFuncN::initWithTarget(__int64 a1, cocos2d::CCObject *a2, __int64 a3)\n{\n  cocos2d::CCObject *v6; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  v6 = *(cocos2d::CCObject **)(a1 + 88);\n  if ( v6 )\n    cocos2d::CCObject::release(v6);\n  *(_QWORD *)(a1 + 104) = a3;\n  *(_QWORD *)(a1 + 88) = a2;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCCallFuncN::initWithTarget from 0x180030410 to 0x18003045d (77 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCCallFuncN::create @ 0x18002fb21\n; > <???> @ 0x1800e9208\n; > <???> @ 0x1800e92a8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b015c\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, 0x180030410\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180030415\npush    rdi                                                            ; +0xa, 0x18003041a\nsub     rsp, 20h                                                       ; +0xb, 0x18003041b\nmov     rsi, r8                                                        ; +0xf, 0x18003041f\nmov     rdi, rdx                                                       ; +0x12, 0x180030422\nmov     rbx, rcx                                                       ; +0x15, 0x180030425\ntest    rdx, rdx                                                       ; +0x18, 0x180030428\njz      short loc_180030435                                            ; +0x1b, 0x18003042b\nmov     rcx, rdx; this                                                 ; +0x1d, 0x18003042d\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x20, 0x180030430\nmov     rcx, [rbx+58h]; this                                           ; +0x25, 0x180030435\ntest    rcx, rcx                                                       ; +0x29, 0x180030439\njz      short loc_180030443                                            ; +0x2c, 0x18003043c\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2e, 0x18003043e\nmov     [rbx+68h], rsi                                                 ; +0x33, 0x180030443\nmov     al, 1                                                          ; +0x37, 0x180030447\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x39, 0x180030449\nmov     [rbx+58h], rdi                                                 ; +0x3e, 0x18003044e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x42, 0x180030452\nadd     rsp, 20h                                                       ; +0x47, 0x180030457\npop     rdi                                                            ; +0x4b, 0x18003045b\nretn                                                                   ; +0x4c, 0x18003045c", "xrefs": ["cocos2d::CCCallFuncN::create @ 0x18002fb21", "<???> @ 0x1800e9208", "<???> @ 0x1800e92a8", "<???> @ 0x1801438a8", "<???> @ 0x1801b015c"], "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"}