{"type": "func", "start": 6442666864, "end": 6442666987, "name": "cocos2d::CCSpawn::create", "pseudocode": "// \n// cocos2d::CCSpawn::create from 0x180034b70 to 0x180034beb (123 bytes)\n// \n// 9 xrefs:\n// > cocos2d::CCTransitionRotoZoom::onEnter @ 0x180055b25\n// > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x180056209\n// > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x1800562be\n// > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180056479\n// > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x18005651d\n// > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800566de\n// > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x180056783\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0684\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\nstruct cocos2d::CCSpawn *cocos2d::CCSpawn::create(struct cocos2d::CCSpawn *a1, ...)\n{\n  struct cocos2d::CCSpawn *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_180034E40();\n  return cocos2d::CCSpawn::createWithTwoActions(v1, v5);\n}", "assembly": "; \n; cocos2d::CCSpawn::create from 0x180034b70 to 0x180034beb (123 bytes)\n; \n; 9 xrefs:\n; > cocos2d::CCTransitionRotoZoom::onEnter @ 0x180055b25\n; > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x180056209\n; > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x1800562be\n; > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180056479\n; > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x18005651d\n; > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800566de\n; > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x180056783\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0684\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], rcx                                               ; +0x0, 0x180034b70\nmov     [rsp+arg_8], rdx                                               ; +0x5, 0x180034b75\nmov     [rsp+arg_10], r8                                               ; +0xa, 0x180034b7a\nmov     [rsp+arg_18], r9                                               ; +0xf, 0x180034b7f\npush    rbx                                                            ; +0x14, 0x180034b84\npush    rdi                                                            ; +0x15, 0x180034b85\nsub     rsp, 28h                                                       ; +0x16, 0x180034b86\nlea     rbx, [rsp+38h+arg_8]                                           ; +0x1a, 0x180034b8a\nmov     rdi, rcx                                                       ; +0x1f, 0x180034b8f\nmov     al, 1                                                          ; +0x22, 0x180034b92\ntest    rcx, rcx                                                       ; +0x24, 0x180034b94\njz      short loc_180034BE1                                            ; +0x27, 0x180034b97\nadd     rbx, 0FFFFFFFFFFFFFFF8h                                        ; +0x29, 0x180034b99\nnop     dword ptr [rax]                                                ; +0x2d, 0x180034b9d\nmov     rdx, [rbx+8]; struct cocos2d::CCFiniteTimeAction *             ; +0x30, 0x180034ba0\nlea     rbx, [rbx+8]                                                   ; +0x34, 0x180034ba4\ntest    rdx, rdx                                                       ; +0x38, 0x180034ba8\njz      short loc_180034BBC                                            ; +0x3b, 0x180034bab\nmov     rcx, rdi; struct cocos2d::CCFiniteTimeAction *                 ; +0x3d, 0x180034bad\ncall    ?createWithTwoActions@CCSpawn@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSpawn::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x40, 0x180034bb0\nmov     rdi, rax                                                       ; +0x45, 0x180034bb5\nxor     al, al                                                         ; +0x48, 0x180034bb8\njmp     short loc_180034BA0                                            ; +0x4a, 0x180034bba\ntest    al, al                                                         ; +0x4c, 0x180034bbc\njz      short loc_180034BD7                                            ; +0x4e, 0x180034bbe\ncall    sub_180034E40                                                  ; +0x50, 0x180034bc0\nmov     rdx, rax; struct cocos2d::CCFiniteTimeAction *                 ; +0x55, 0x180034bc5\nmov     rcx, rdi; struct cocos2d::CCFiniteTimeAction *                 ; +0x58, 0x180034bc8\ncall    ?createWithTwoActions@CCSpawn@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSpawn::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x5b, 0x180034bcb\nadd     rsp, 28h                                                       ; +0x60, 0x180034bd0\npop     rdi                                                            ; +0x64, 0x180034bd4\npop     rbx                                                            ; +0x65, 0x180034bd5\nretn                                                                   ; +0x66, 0x180034bd6\nmov     rax, rdi                                                       ; +0x67, 0x180034bd7\nadd     rsp, 28h                                                       ; +0x6a, 0x180034bda\npop     rdi                                                            ; +0x6e, 0x180034bde\npop     rbx                                                            ; +0x6f, 0x180034bdf\nretn                                                                   ; +0x70, 0x180034be0\nmov     rax, rcx                                                       ; +0x71, 0x180034be1\nadd     rsp, 28h                                                       ; +0x74, 0x180034be4\npop     rdi                                                            ; +0x78, 0x180034be8\npop     rbx                                                            ; +0x79, 0x180034be9\nretn                                                                   ; +0x7a, 0x180034bea", "xrefs": ["cocos2d::CCTransitionRotoZoom::onEnter @ 0x180055b25", "cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x180056209", "cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x1800562be", "cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180056479", "cocos2d::CCTransitionZoomFlipX::onEnter @ 0x18005651d", "cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800566de", "cocos2d::CCTransitionZoomFlipY::onEnter @ 0x180056783", "<???> @ 0x1801438a8", "<???> @ 0x1801b0684"], "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"}