{"type": "func", "start": 6443311776, "end": 6443311839, "name": "cocos2d::CCCallFuncO::setObject", "pseudocode": "// \n// cocos2d::CCCallFuncO::setObject from 0x1800d22a0 to 0x1800d22df (63 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ba47c\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\nvoid __fastcall cocos2d::CCCallFuncO::setObject(cocos2d::CCCallFuncO *this, struct cocos2d::CCObject *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  v4 = *((cocos2d::CCObject **)this + 15);\n  if ( a2 != v4 )\n  {\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)this + 15) = a2;\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n  }\n}", "assembly": "; \n; cocos2d::CCCallFuncO::setObject from 0x1800d22a0 to 0x1800d22df (63 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ba47c\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, 0x1800d22a0\npush    rdi                                                            ; +0x5, 0x1800d22a5\nsub     rsp, 20h                                                       ; +0x6, 0x1800d22a6\nmov     rdi, rcx                                                       ; +0xa, 0x1800d22aa\nmov     rbx, rdx                                                       ; +0xd, 0x1800d22ad\nmov     rcx, [rcx+78h]; this                                           ; +0x10, 0x1800d22b0\ncmp     rdx, rcx                                                       ; +0x14, 0x1800d22b4\njz      short loc_1800D22D4                                            ; +0x17, 0x1800d22b7\ntest    rcx, rcx                                                       ; +0x19, 0x1800d22b9\njz      short loc_1800D22C3                                            ; +0x1c, 0x1800d22bc\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1e, 0x1800d22be\nmov     [rdi+78h], rbx                                                 ; +0x23, 0x1800d22c3\ntest    rbx, rbx                                                       ; +0x27, 0x1800d22c7\njz      short loc_1800D22D4                                            ; +0x2a, 0x1800d22ca\nmov     rcx, rbx; this                                                 ; +0x2c, 0x1800d22cc\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x2f, 0x1800d22cf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x34, 0x1800d22d4\nadd     rsp, 20h                                                       ; +0x39, 0x1800d22d9\npop     rdi                                                            ; +0x3d, 0x1800d22dd\nretn                                                                   ; +0x3e, 0x1800d22de", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ba47c"], "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"}