{"type": "func", "start": 6442666992, "end": 6442667162, "name": "cocos2d::CCTargetedAction::create", "pseudocode": "// \n// cocos2d::CCTargetedAction::create from 0x180034bf0 to 0x180034c9a (170 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0690\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// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCTargetedAction *__fastcall cocos2d::CCTargetedAction::create(\n        struct cocos2d::CCNode *this,\n        struct cocos2d::CCFiniteTimeAction *a2)\n{\n  cocos2d::CCAction *v4; // rax\n  cocos2d::CCAction *v5; // rbx\n  float m_fDuration; // xmm1_4\n\n  v4 = (cocos2d::CCAction *)operator new(0x70u);\n  v5 = v4;\n  if ( v4 )\n  {\n    cocos2d::CCAction::CCAction(v4);\n    LODWORD(v4) = 0;\n    LODWORD(v5[1].__vftable) = 0;\n    v5->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCTargetedAction::`vftable';\n    *(_QWORD *)&v5[1].cocos2d::CCObject::m_nTag = 0;\n    *(_QWORD *)&v5[1].m_uAutoReleaseCount = 0;\n  }\n  else\n  {\n    v5 = nullptr;\n  }\n  m_fDuration = a2->m_fDuration;\n  *(float *)&v5[1].__vftable = m_fDuration;\n  if ( m_fDuration == 0.0 )\n    LODWORD(v5[1].__vftable) = 872415232;\n  v5[1].m_uID = (unsigned int)v4;\n  LOBYTE(v5[1].m_nLuaID) = 1;\n  if ( this )\n    cocos2d::CCObject::retain(this);\n  *(_QWORD *)&v5[1].cocos2d::CCObject::m_nTag = this;\n  cocos2d::CCObject::retain(a2);\n  *(_QWORD *)&v5[1].m_uAutoReleaseCount = a2;\n  cocos2d::CCObject::autorelease(v5);\n  return (struct cocos2d::CCTargetedAction *)v5;\n}", "assembly": "; \n; cocos2d::CCTargetedAction::create from 0x180034bf0 to 0x180034c9a (170 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0690\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, 0x180034bf0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180034bf5\npush    rdi                                                            ; +0xa, 0x180034bfa\nsub     rsp, 20h                                                       ; +0xb, 0x180034bfb\nmov     rsi, rdx                                                       ; +0xf, 0x180034bff\nmov     rdi, rcx                                                       ; +0x12, 0x180034c02\nmov     ecx, 70h ; 'p'; Size                                           ; +0x15, 0x180034c05\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x180034c0a\nmov     rbx, rax                                                       ; +0x1f, 0x180034c0f\nmov     [rsp+28h+arg_8], rax                                           ; +0x22, 0x180034c12\ntest    rax, rax                                                       ; +0x27, 0x180034c17\njz      short loc_180034C3D                                            ; +0x2a, 0x180034c1a\nmov     rcx, rax; this                                                 ; +0x2c, 0x180034c1c\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x2f, 0x180034c1f\nxor     eax, eax                                                       ; +0x34, 0x180034c24\nmov     [rbx+50h], eax                                                 ; +0x36, 0x180034c26\nlea     rcx, ??_7CCTargetedAction@cocos2d@@6B@; const cocos2d::CCTargetedAction::`vftable' ; +0x39, 0x180034c29\nmov     [rbx], rcx                                                     ; +0x40, 0x180034c30\nmov     [rbx+60h], rax                                                 ; +0x43, 0x180034c33\nmov     [rbx+68h], rax                                                 ; +0x47, 0x180034c37\njmp     short loc_180034C40                                            ; +0x4b, 0x180034c3b\nmov     rbx, rax                                                       ; +0x4d, 0x180034c3d\nmovss   xmm1, dword ptr [rsi+50h]                                      ; +0x50, 0x180034c40\nmovss   dword ptr [rbx+50h], xmm1                                      ; +0x55, 0x180034c45\nxorps   xmm0, xmm0                                                     ; +0x5a, 0x180034c4a\nucomiss xmm1, xmm0                                                     ; +0x5d, 0x180034c4d\njp      short loc_180034C5B                                            ; +0x60, 0x180034c50\njnz     short loc_180034C5B                                            ; +0x62, 0x180034c52\nmov     dword ptr [rbx+50h], 34000000h                                 ; +0x64, 0x180034c54\nmov     [rbx+58h], eax                                                 ; +0x6b, 0x180034c5b\nmov     byte ptr [rbx+5Ch], 1                                          ; +0x6e, 0x180034c5e\ntest    rdi, rdi                                                       ; +0x72, 0x180034c62\njz      short loc_180034C6F                                            ; +0x75, 0x180034c65\nmov     rcx, rdi; this                                                 ; +0x77, 0x180034c67\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x7a, 0x180034c6a\nmov     [rbx+60h], rdi                                                 ; +0x7f, 0x180034c6f\nmov     rcx, rsi; this                                                 ; +0x83, 0x180034c73\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x86, 0x180034c76\nmov     [rbx+68h], rsi                                                 ; +0x8b, 0x180034c7b\nmov     rcx, rbx; this                                                 ; +0x8f, 0x180034c7f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x92, 0x180034c82\nmov     rax, rbx                                                       ; +0x97, 0x180034c87\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9a, 0x180034c8a\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x9f, 0x180034c8f\nadd     rsp, 20h                                                       ; +0xa4, 0x180034c94\npop     rdi                                                            ; +0xa8, 0x180034c98\nretn                                                                   ; +0xa9, 0x180034c99", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b0690"], "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"}