{"type": "func", "start": 6442671696, "end": 6442671760, "name": "cocos2d::CCTargetedAction::setForcedTarget", "pseudocode": "// \n// cocos2d::CCTargetedAction::setForcedTarget from 0x180035e50 to 0x180035e90 (64 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0828\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\n// Alternative name is '?setAnimation@CCAnimate@cocos2d@@QEAAXPEAVCCAnimation@2@@Z'\nvoid __fastcall cocos2d::CCTargetedAction::setForcedTarget(cocos2d::CCTargetedAction *this, struct cocos2d::CCNode *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( *((struct cocos2d::CCNode **)this + 12) != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    v4 = *((cocos2d::CCObject **)this + 12);\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)this + 12) = a2;\n  }\n}", "assembly": "; \n; cocos2d::CCTargetedAction::setForcedTarget from 0x180035e50 to 0x180035e90 (64 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0828\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, 0x180035e50\npush    rdi                                                            ; +0x5, 0x180035e55\nsub     rsp, 20h                                                       ; +0x6, 0x180035e56\nmov     rbx, rdx                                                       ; +0xa, 0x180035e5a\nmov     rdi, rcx                                                       ; +0xd, 0x180035e5d\ncmp     [rcx+60h], rdx                                                 ; +0x10, 0x180035e60\njz      short loc_180035E85                                            ; +0x14, 0x180035e64\ntest    rdx, rdx                                                       ; +0x16, 0x180035e66\njz      short loc_180035E73                                            ; +0x19, 0x180035e69\nmov     rcx, rdx; this                                                 ; +0x1b, 0x180035e6b\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1e, 0x180035e6e\nmov     rcx, [rdi+60h]; this                                           ; +0x23, 0x180035e73\ntest    rcx, rcx                                                       ; +0x27, 0x180035e77\njz      short loc_180035E81                                            ; +0x2a, 0x180035e7a\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2c, 0x180035e7c\nmov     [rdi+60h], rbx                                                 ; +0x31, 0x180035e81\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x180035e85\nadd     rsp, 20h                                                       ; +0x3a, 0x180035e8a\npop     rdi                                                            ; +0x3e, 0x180035e8e\nretn                                                                   ; +0x3f, 0x180035e8f", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b0828"], "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"}