{"type": "func", "start": 6442668608, "end": 6442668778, "name": "cocos2d::CCTargetedAction::create", "pseudocode": "// \n// cocos2d::CCTargetedAction::create from 0x180035240 to 0x1800352ea (170 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba7b0\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:34 +0000\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 v6; // xmm1_4\n\n  v4 = (cocos2d::CCAction *)sub_1800E4AC0(0x70u);\n  v5 = v4;\n  if ( v4 )\n  {\n    cocos2d::CCAction::CCAction(v4);\n    LODWORD(v4) = 0;\n    *((_DWORD *)v5 + 20) = 0;\n    *(_QWORD *)v5 = &cocos2d::CCTargetedAction::`vftable';\n    *((_QWORD *)v5 + 12) = 0;\n    *((_QWORD *)v5 + 13) = 0;\n  }\n  else\n  {\n    v5 = nullptr;\n  }\n  v6 = *((float *)a2 + 20);\n  *((float *)v5 + 20) = v6;\n  if ( v6 == 0.0 )\n    *((_DWORD *)v5 + 20) = 872415232;\n  *((_DWORD *)v5 + 22) = (_DWORD)v4;\n  *((_BYTE *)v5 + 92) = 1;\n  if ( this )\n    cocos2d::CCObject::retain(this);\n  *((_QWORD *)v5 + 12) = this;\n  cocos2d::CCObject::retain(a2);\n  *((_QWORD *)v5 + 13) = a2;\n  cocos2d::CCObject::autorelease(v5);\n  return v5;\n}", "assembly": "; \n; cocos2d::CCTargetedAction::create from 0x180035240 to 0x1800352ea (170 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba7b0\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:34 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180035240\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180035245\npush    rdi                                                            ; +0xa, 0x18003524a\nsub     rsp, 20h                                                       ; +0xb, 0x18003524b\nmov     rsi, rdx                                                       ; +0xf, 0x18003524f\nmov     rdi, rcx                                                       ; +0x12, 0x180035252\nmov     ecx, 70h ; 'p'; Size                                           ; +0x15, 0x180035255\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x18003525a\nmov     rbx, rax                                                       ; +0x1f, 0x18003525f\nmov     [rsp+28h+arg_8], rax                                           ; +0x22, 0x180035262\ntest    rax, rax                                                       ; +0x27, 0x180035267\njz      short loc_18003528D                                            ; +0x2a, 0x18003526a\nmov     rcx, rax; this                                                 ; +0x2c, 0x18003526c\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x2f, 0x18003526f\nxor     eax, eax                                                       ; +0x34, 0x180035274\nmov     [rbx+50h], eax                                                 ; +0x36, 0x180035276\nlea     rcx, ??_7CCTargetedAction@cocos2d@@6B@; const cocos2d::CCTargetedAction::`vftable' ; +0x39, 0x180035279\nmov     [rbx], rcx                                                     ; +0x40, 0x180035280\nmov     [rbx+60h], rax                                                 ; +0x43, 0x180035283\nmov     [rbx+68h], rax                                                 ; +0x47, 0x180035287\njmp     short loc_180035290                                            ; +0x4b, 0x18003528b\nmov     rbx, rax                                                       ; +0x4d, 0x18003528d\nmovss   xmm1, dword ptr [rsi+50h]                                      ; +0x50, 0x180035290\nmovss   dword ptr [rbx+50h], xmm1                                      ; +0x55, 0x180035295\nxorps   xmm0, xmm0                                                     ; +0x5a, 0x18003529a\nucomiss xmm1, xmm0                                                     ; +0x5d, 0x18003529d\njp      short loc_1800352AB                                            ; +0x60, 0x1800352a0\njnz     short loc_1800352AB                                            ; +0x62, 0x1800352a2\nmov     dword ptr [rbx+50h], 34000000h                                 ; +0x64, 0x1800352a4\nmov     [rbx+58h], eax                                                 ; +0x6b, 0x1800352ab\nmov     byte ptr [rbx+5Ch], 1                                          ; +0x6e, 0x1800352ae\ntest    rdi, rdi                                                       ; +0x72, 0x1800352b2\njz      short loc_1800352BF                                            ; +0x75, 0x1800352b5\nmov     rcx, rdi; this                                                 ; +0x77, 0x1800352b7\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x7a, 0x1800352ba\nmov     [rbx+60h], rdi                                                 ; +0x7f, 0x1800352bf\nmov     rcx, rsi; this                                                 ; +0x83, 0x1800352c3\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x86, 0x1800352c6\nmov     [rbx+68h], rsi                                                 ; +0x8b, 0x1800352cb\nmov     rcx, rbx; this                                                 ; +0x8f, 0x1800352cf\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x92, 0x1800352d2\nmov     rax, rbx                                                       ; +0x97, 0x1800352d7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9a, 0x1800352da\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x9f, 0x1800352df\nadd     rsp, 20h                                                       ; +0xa4, 0x1800352e4\npop     rdi                                                            ; +0xa8, 0x1800352e8\nretn                                                                   ; +0xa9, 0x1800352e9", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801ba7b0"], "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"}