{"type": "func", "start": 6442668480, "end": 6442668603, "name": "cocos2d::CCSpawn::create", "pseudocode": "// \n// cocos2d::CCSpawn::create from 0x1800351c0 to 0x18003523b (123 bytes)\n// \n// 9 xrefs:\n// > cocos2d::CCTransitionRotoZoom::onEnter @ 0x18005796c\n// > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x1800580b5\n// > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x180058166\n// > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180058346\n// > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x1800583e7\n// > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800585ca\n// > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x18005866b\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba7a4\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\nstruct cocos2d::CCSpawn *cocos2d::CCSpawn::create(struct cocos2d::CCFiniteTimeAction *a1, ...)\n{\n  struct cocos2d::CCFiniteTimeAction *v1; // rdi\n  char v2; // al\n  struct cocos2d::CCFiniteTimeAction **v3; // rbx\n  struct cocos2d::CCFiniteTimeAction *v4; // rdx\n  struct cocos2d::CCFiniteTimeAction *v5; // rax\n  struct cocos2d::CCFiniteTimeAction *v7; // [rsp+40h] [rbp+8h] BYREF\n\n  v7 = a1;\n  v1 = a1;\n  v2 = 1;\n  if ( !a1 )\n    return nullptr;\n  v3 = &v7;\n  while ( 1 )\n  {\n    v4 = v3[1];\n    ++v3;\n    if ( !v4 )\n      break;\n    v1 = cocos2d::CCSpawn::createWithTwoActions(v1, v4);\n    v2 = 0;\n  }\n  if ( !v2 )\n    return v1;\n  v5 = (struct cocos2d::CCFiniteTimeAction *)sub_180035490();\n  return cocos2d::CCSpawn::createWithTwoActions(v1, v5);\n}", "assembly": "; \n; cocos2d::CCSpawn::create from 0x1800351c0 to 0x18003523b (123 bytes)\n; \n; 9 xrefs:\n; > cocos2d::CCTransitionRotoZoom::onEnter @ 0x18005796c\n; > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x1800580b5\n; > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x180058166\n; > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180058346\n; > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x1800583e7\n; > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800585ca\n; > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x18005866b\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba7a4\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], rcx                                               ; +0x0, 0x1800351c0\nmov     [rsp+arg_8], rdx                                               ; +0x5, 0x1800351c5\nmov     [rsp+arg_10], r8                                               ; +0xa, 0x1800351ca\nmov     [rsp+arg_18], r9                                               ; +0xf, 0x1800351cf\npush    rbx                                                            ; +0x14, 0x1800351d4\npush    rdi                                                            ; +0x15, 0x1800351d5\nsub     rsp, 28h                                                       ; +0x16, 0x1800351d6\nlea     rbx, [rsp+38h+arg_8]                                           ; +0x1a, 0x1800351da\nmov     rdi, rcx                                                       ; +0x1f, 0x1800351df\nmov     al, 1                                                          ; +0x22, 0x1800351e2\ntest    rcx, rcx                                                       ; +0x24, 0x1800351e4\njz      short loc_180035231                                            ; +0x27, 0x1800351e7\nadd     rbx, 0FFFFFFFFFFFFFFF8h                                        ; +0x29, 0x1800351e9\nnop     dword ptr [rax]                                                ; +0x2d, 0x1800351ed\nmov     rdx, [rbx+8]; struct cocos2d::CCFiniteTimeAction *             ; +0x30, 0x1800351f0\nlea     rbx, [rbx+8]                                                   ; +0x34, 0x1800351f4\ntest    rdx, rdx                                                       ; +0x38, 0x1800351f8\njz      short loc_18003520C                                            ; +0x3b, 0x1800351fb\nmov     rcx, rdi; struct cocos2d::CCFiniteTimeAction *                 ; +0x3d, 0x1800351fd\ncall    ?createWithTwoActions@CCSpawn@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSpawn::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x40, 0x180035200\nmov     rdi, rax                                                       ; +0x45, 0x180035205\nxor     al, al                                                         ; +0x48, 0x180035208\njmp     short loc_1800351F0                                            ; +0x4a, 0x18003520a\ntest    al, al                                                         ; +0x4c, 0x18003520c\njz      short loc_180035227                                            ; +0x4e, 0x18003520e\ncall    sub_180035490                                                  ; +0x50, 0x180035210\nmov     rdx, rax; struct cocos2d::CCFiniteTimeAction *                 ; +0x55, 0x180035215\nmov     rcx, rdi; struct cocos2d::CCFiniteTimeAction *                 ; +0x58, 0x180035218\ncall    ?createWithTwoActions@CCSpawn@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSpawn::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x5b, 0x18003521b\nadd     rsp, 28h                                                       ; +0x60, 0x180035220\npop     rdi                                                            ; +0x64, 0x180035224\npop     rbx                                                            ; +0x65, 0x180035225\nretn                                                                   ; +0x66, 0x180035226\nmov     rax, rdi                                                       ; +0x67, 0x180035227\nadd     rsp, 28h                                                       ; +0x6a, 0x18003522a\npop     rdi                                                            ; +0x6e, 0x18003522e\npop     rbx                                                            ; +0x6f, 0x18003522f\nretn                                                                   ; +0x70, 0x180035230\nmov     rax, rcx                                                       ; +0x71, 0x180035231\nadd     rsp, 28h                                                       ; +0x74, 0x180035234\npop     rdi                                                            ; +0x78, 0x180035238\npop     rbx                                                            ; +0x79, 0x180035239\nretn                                                                   ; +0x7a, 0x18003523a", "xrefs": ["cocos2d::CCTransitionRotoZoom::onEnter @ 0x18005796c", "cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x1800580b5", "cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x180058166", "cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180058346", "cocos2d::CCTransitionZoomFlipX::onEnter @ 0x1800583e7", "cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800585ca", "cocos2d::CCTransitionZoomFlipY::onEnter @ 0x18005866b", "<???> @ 0x18014cf68", "<???> @ 0x1801ba7a4"], "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"}