{"type": "func", "start": 6442667904, "end": 6442668048, "name": "cocos2d::CCSpawn::createWithTwoActions", "pseudocode": "// \n// cocos2d::CCSpawn::createWithTwoActions from 0x180034f80 to 0x180035010 (144 bytes)\n// \n// 8 xrefs:\n// > cocos2d::CCSpawn::create @ 0x180034b43\n// > cocos2d::CCSpawn::create @ 0x180034bb0\n// > cocos2d::CCSpawn::create @ 0x180034bcb\n// > cocos2d::CCSpawn::createWithVariableList @ 0x1800350b0\n// > cocos2d::CCSpawn::createWithVariableList @ 0x1800350d5\n// > cocos2d::CCSpawn::reverse @ 0x180035e07\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b06cc\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::CCSpawn *__fastcall cocos2d::CCSpawn::createWithTwoActions(\n        struct cocos2d::CCFiniteTimeAction *a1,\n        struct cocos2d::CCFiniteTimeAction *a2)\n{\n  _OWORD *v4; // rax\n  _OWORD *v5; // rbx\n\n  v4 = operator new(0x70u);\n  v5 = v4;\n  if ( v4 )\n  {\n    *v4 = 0;\n    v4[1] = 0;\n    v4[2] = 0;\n    v4[3] = 0;\n    v4[4] = 0;\n    v4[5] = 0;\n    v4[6] = 0;\n    cocos2d::CCAction::CCAction((cocos2d::CCAction *)v4);\n    *((_DWORD *)v5 + 20) = 0;\n    *(_QWORD *)v5 = &cocos2d::CCSpawn::`vftable';\n  }\n  else\n  {\n    v5 = nullptr;\n  }\n  cocos2d::CCSpawn::initWithTwoActions((cocos2d::CCSpawn *)v5, a1, a2);\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);\n  return (struct cocos2d::CCSpawn *)v5;\n}", "assembly": "; \n; cocos2d::CCSpawn::createWithTwoActions from 0x180034f80 to 0x180035010 (144 bytes)\n; \n; 8 xrefs:\n; > cocos2d::CCSpawn::create @ 0x180034b43\n; > cocos2d::CCSpawn::create @ 0x180034bb0\n; > cocos2d::CCSpawn::create @ 0x180034bcb\n; > cocos2d::CCSpawn::createWithVariableList @ 0x1800350b0\n; > cocos2d::CCSpawn::createWithVariableList @ 0x1800350d5\n; > cocos2d::CCSpawn::reverse @ 0x180035e07\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b06cc\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, 0x180034f80\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180034f85\npush    rdi                                                            ; +0xa, 0x180034f8a\nsub     rsp, 20h                                                       ; +0xb, 0x180034f8b\nmov     rdi, rdx                                                       ; +0xf, 0x180034f8f\nmov     rsi, rcx                                                       ; +0x12, 0x180034f92\nmov     ecx, 70h ; 'p'; Size                                           ; +0x15, 0x180034f95\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x180034f9a\nmov     rbx, rax                                                       ; +0x1f, 0x180034f9f\nmov     [rsp+28h+arg_10], rax                                          ; +0x22, 0x180034fa2\ntest    rax, rax                                                       ; +0x27, 0x180034fa7\njz      short loc_180034FE5                                            ; +0x2a, 0x180034faa\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x180034fac\nmovups  xmmword ptr [rax], xmm0                                        ; +0x2f, 0x180034faf\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x32, 0x180034fb2\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x36, 0x180034fb6\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x3a, 0x180034fba\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x3e, 0x180034fbe\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x42, 0x180034fc2\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x46, 0x180034fc6\nmov     rcx, rax; this                                                 ; +0x4a, 0x180034fca\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4d, 0x180034fcd\nmov     dword ptr [rbx+50h], 0                                         ; +0x52, 0x180034fd2\nlea     rax, ??_7CCSpawn@cocos2d@@6B@; const cocos2d::CCSpawn::`vftable' ; +0x59, 0x180034fd9\nmov     [rbx], rax                                                     ; +0x60, 0x180034fe0\njmp     short loc_180034FE7                                            ; +0x63, 0x180034fe3\nxor     ebx, ebx                                                       ; +0x65, 0x180034fe5\nmov     r8, rdi; struct cocos2d::CCFiniteTimeAction *                  ; +0x67, 0x180034fe7\nmov     rdx, rsi; struct cocos2d::CCFiniteTimeAction *                 ; +0x6a, 0x180034fea\nmov     rcx, rbx; this                                                 ; +0x6d, 0x180034fed\ncall    ?initWithTwoActions@CCSpawn@cocos2d@@QEAA_NPEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSpawn::initWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x70, 0x180034ff0\nmov     rcx, rbx; this                                                 ; +0x75, 0x180034ff5\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x78, 0x180034ff8\nmov     rax, rbx                                                       ; +0x7d, 0x180034ffd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x80, 0x180035000\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x85, 0x180035005\nadd     rsp, 20h                                                       ; +0x8a, 0x18003500a\npop     rdi                                                            ; +0x8e, 0x18003500e\nretn                                                                   ; +0x8f, 0x18003500f", "xrefs": ["cocos2d::CCSpawn::create @ 0x180034b43", "cocos2d::CCSpawn::create @ 0x180034bb0", "cocos2d::CCSpawn::create @ 0x180034bcb", "cocos2d::CCSpawn::createWithVariableList @ 0x1800350b0", "cocos2d::CCSpawn::createWithVariableList @ 0x1800350d5", "cocos2d::CCSpawn::reverse @ 0x180035e07", "<???> @ 0x1801438a8", "<???> @ 0x1801b06cc"], "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"}