{"type": "func", "start": 6442669776, "end": 6442669884, "name": "cocos2d::CCSpawn::createWithVariableList", "pseudocode": "// \n// cocos2d::CCSpawn::createWithVariableList from 0x1800356d0 to 0x18003573c (108 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18013e758\n// > <???> @ 0x18013e768\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba81c\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 *__fastcall cocos2d::CCSpawn::createWithVariableList(\n        struct cocos2d::CCFiniteTimeAction *a1,\n        char *a2)\n{\n  struct cocos2d::CCFiniteTimeAction *v2; // rdi\n  char v3; // al\n  char *v4; // rbx\n  struct cocos2d::CCFiniteTimeAction *v5; // rdx\n  struct cocos2d::CCFiniteTimeAction *v6; // rax\n\n  v2 = a1;\n  v3 = 1;\n  if ( !a1 )\n    return nullptr;\n  v4 = a2 - 8;\n  while ( 1 )\n  {\n    v5 = *((struct cocos2d::CCFiniteTimeAction **)v4 + 1);\n    v4 += 8;\n    if ( !v5 )\n      break;\n    v2 = cocos2d::CCSpawn::createWithTwoActions(v2, v5);\n    v3 = 0;\n  }\n  if ( !v3 )\n    return v2;\n  v6 = (struct cocos2d::CCFiniteTimeAction *)sub_180035490();\n  return cocos2d::CCSpawn::createWithTwoActions(v2, v6);\n}", "assembly": "; \n; cocos2d::CCSpawn::createWithVariableList from 0x1800356d0 to 0x18003573c (108 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18013e758\n; > <???> @ 0x18013e768\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba81c\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; \npush    rdi                                                            ; +0x0, 0x1800356d0\nsub     rsp, 20h                                                       ; +0x2, 0x1800356d2\nmov     rdi, rcx                                                       ; +0x6, 0x1800356d6\nmov     al, 1                                                          ; +0x9, 0x1800356d9\ntest    rcx, rcx                                                       ; +0xb, 0x1800356db\njz      short loc_180035733                                            ; +0xe, 0x1800356de\nmov     [rsp+28h+arg_0], rbx                                           ; +0x10, 0x1800356e0\nlea     rbx, [rdx-8]                                                   ; +0x15, 0x1800356e5\nnop     dword ptr [rax+00000000h]                                      ; +0x19, 0x1800356e9\nmov     rdx, [rbx+8]; struct cocos2d::CCFiniteTimeAction *             ; +0x20, 0x1800356f0\nlea     rbx, [rbx+8]                                                   ; +0x24, 0x1800356f4\ntest    rdx, rdx                                                       ; +0x28, 0x1800356f8\njz      short loc_18003570C                                            ; +0x2b, 0x1800356fb\nmov     rcx, rdi; struct cocos2d::CCFiniteTimeAction *                 ; +0x2d, 0x1800356fd\ncall    ?createWithTwoActions@CCSpawn@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSpawn::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x30, 0x180035700\nmov     rdi, rax                                                       ; +0x35, 0x180035705\nxor     al, al                                                         ; +0x38, 0x180035708\njmp     short loc_1800356F0                                            ; +0x3a, 0x18003570a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3c, 0x18003570c\ntest    al, al                                                         ; +0x41, 0x180035711\njz      short loc_18003572A                                            ; +0x43, 0x180035713\ncall    sub_180035490                                                  ; +0x45, 0x180035715\nmov     rdx, rax; struct cocos2d::CCFiniteTimeAction *                 ; +0x4a, 0x18003571a\nmov     rcx, rdi; struct cocos2d::CCFiniteTimeAction *                 ; +0x4d, 0x18003571d\nadd     rsp, 20h                                                       ; +0x50, 0x180035720\npop     rdi                                                            ; +0x54, 0x180035724\njmp     ?createWithTwoActions@CCSpawn@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSpawn::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x55, 0x180035725\nmov     rax, rdi                                                       ; +0x5a, 0x18003572a\nadd     rsp, 20h                                                       ; +0x5d, 0x18003572d\npop     rdi                                                            ; +0x61, 0x180035731\nretn                                                                   ; +0x62, 0x180035732\nmov     rax, rcx                                                       ; +0x63, 0x180035733\nadd     rsp, 20h                                                       ; +0x66, 0x180035736\npop     rdi                                                            ; +0x6a, 0x18003573a\nretn                                                                   ; +0x6b, 0x18003573b", "xrefs": ["<???> @ 0x18013e758", "<???> @ 0x18013e768", "<???> @ 0x18014cf68", "<???> @ 0x1801ba81c"], "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"}