{"type": "func", "start": 6442650608, "end": 6442650715, "name": "cocos2d::CCCallFuncO::initWithTarget", "pseudocode": "// \n// cocos2d::CCCallFuncO::initWithTarget from 0x180030bf0 to 0x180030c5b (107 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCCallFuncO::create @ 0x1800304f1\n// > cocos2d::CCCallFuncO::create @ 0x1800304d9\n// > <???> @ 0x1800ef3b8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba288\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:33 +0000\n// \n\nchar __fastcall cocos2d::CCCallFuncO::initWithTarget(\n        _QWORD *a1,\n        cocos2d::CCObject *a2,\n        __int64 a3,\n        cocos2d::CCObject *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[11] = a2;\n  a1[15] = a4;\n  if ( a4 )\n    cocos2d::CCObject::retain(a4);\n  a1[13] = a3;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCCallFuncO::initWithTarget from 0x180030bf0 to 0x180030c5b (107 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCCallFuncO::create @ 0x1800304f1\n; > cocos2d::CCCallFuncO::create @ 0x1800304d9\n; > <???> @ 0x1800ef3b8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba288\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180030bf0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180030bf5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180030bfa\npush    rdi                                                            ; +0xf, 0x180030bff\nsub     rsp, 20h                                                       ; +0x10, 0x180030c00\nmov     rdi, r9                                                        ; +0x14, 0x180030c04\nmov     rbp, r8                                                        ; +0x17, 0x180030c07\nmov     rsi, rdx                                                       ; +0x1a, 0x180030c0a\nmov     rbx, rcx                                                       ; +0x1d, 0x180030c0d\ntest    rdx, rdx                                                       ; +0x20, 0x180030c10\njz      short loc_180030C1D                                            ; +0x23, 0x180030c13\nmov     rcx, rdx; this                                                 ; +0x25, 0x180030c15\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x28, 0x180030c18\nmov     rcx, [rbx+58h]; this                                           ; +0x2d, 0x180030c1d\ntest    rcx, rcx                                                       ; +0x31, 0x180030c21\njz      short loc_180030C2B                                            ; +0x34, 0x180030c24\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x36, 0x180030c26\nmov     [rbx+58h], rsi                                                 ; +0x3b, 0x180030c2b\nmov     [rbx+78h], rdi                                                 ; +0x3f, 0x180030c2f\ntest    rdi, rdi                                                       ; +0x43, 0x180030c33\njz      short loc_180030C40                                            ; +0x46, 0x180030c36\nmov     rcx, rdi; this                                                 ; +0x48, 0x180030c38\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4b, 0x180030c3b\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x50, 0x180030c40\nmov     al, 1                                                          ; +0x55, 0x180030c45\nmov     [rbx+68h], rbp                                                 ; +0x57, 0x180030c47\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x180030c4b\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x60, 0x180030c50\nadd     rsp, 20h                                                       ; +0x65, 0x180030c55\npop     rdi                                                            ; +0x69, 0x180030c59\nretn                                                                   ; +0x6a, 0x180030c5a", "xrefs": ["cocos2d::CCCallFuncO::create @ 0x1800304f1", "cocos2d::CCCallFuncO::create @ 0x1800304d9", "<???> @ 0x1800ef3b8", "<???> @ 0x18014cf68", "<???> @ 0x1801ba288"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}