{"type": "func", "start": 6442668048, "end": 6442668156, "name": "cocos2d::CCSequence::createWithVariableList", "pseudocode": "// \n// cocos2d::CCSequence::createWithVariableList from 0x180035010 to 0x18003507c (108 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1801355d0\n// > <???> @ 0x1801355e0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b06cc\n// > <???> @ 0x1801b06d8\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::CCSequence *__fastcall cocos2d::CCSequence::createWithVariableList(\n        struct cocos2d::CCFiniteTimeAction *this,\n        char *a2)\n{\n  struct cocos2d::CCSequence *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 = (struct cocos2d::CCSequence *)this;\n  v3 = 1;\n  if ( !this )\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::CCSequence::createWithTwoActions(v2, v5);\n    v3 = 0;\n  }\n  if ( !v3 )\n    return v2;\n  v6 = (struct cocos2d::CCFiniteTimeAction *)sub_180034E40();\n  return cocos2d::CCSequence::createWithTwoActions(v2, v6);\n}", "assembly": "; \n; cocos2d::CCSequence::createWithVariableList from 0x180035010 to 0x18003507c (108 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1801355d0\n; > <???> @ 0x1801355e0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b06cc\n; > <???> @ 0x1801b06d8\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\npush    rdi                                                            ; +0x0, 0x180035010\nsub     rsp, 20h                                                       ; +0x2, 0x180035012\nmov     rdi, rcx                                                       ; +0x6, 0x180035016\nmov     al, 1                                                          ; +0x9, 0x180035019\ntest    rcx, rcx                                                       ; +0xb, 0x18003501b\njz      short loc_180035073                                            ; +0xe, 0x18003501e\nmov     [rsp+28h+arg_0], rbx                                           ; +0x10, 0x180035020\nlea     rbx, [rdx-8]                                                   ; +0x15, 0x180035025\nnop     dword ptr [rax+00000000h]                                      ; +0x19, 0x180035029\nmov     rdx, [rbx+8]; struct cocos2d::CCFiniteTimeAction *             ; +0x20, 0x180035030\nlea     rbx, [rbx+8]                                                   ; +0x24, 0x180035034\ntest    rdx, rdx                                                       ; +0x28, 0x180035038\njz      short loc_18003504C                                            ; +0x2b, 0x18003503b\nmov     rcx, rdi; this                                                 ; +0x2d, 0x18003503d\ncall    ?createWithTwoActions@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSequence::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x30, 0x180035040\nmov     rdi, rax                                                       ; +0x35, 0x180035045\nxor     al, al                                                         ; +0x38, 0x180035048\njmp     short loc_180035030                                            ; +0x3a, 0x18003504a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3c, 0x18003504c\ntest    al, al                                                         ; +0x41, 0x180035051\njz      short loc_18003506A                                            ; +0x43, 0x180035053\ncall    sub_180034E40                                                  ; +0x45, 0x180035055\nmov     rdx, rax; struct cocos2d::CCFiniteTimeAction *                 ; +0x4a, 0x18003505a\nmov     rcx, rdi; this                                                 ; +0x4d, 0x18003505d\nadd     rsp, 20h                                                       ; +0x50, 0x180035060\npop     rdi                                                            ; +0x54, 0x180035064\njmp     ?createWithTwoActions@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSequence::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x55, 0x180035065\nmov     rax, rdi                                                       ; +0x5a, 0x18003506a\nadd     rsp, 20h                                                       ; +0x5d, 0x18003506d\npop     rdi                                                            ; +0x61, 0x180035071\nretn                                                                   ; +0x62, 0x180035072\nmov     rax, rcx                                                       ; +0x63, 0x180035073\nadd     rsp, 20h                                                       ; +0x66, 0x180035076\npop     rdi                                                            ; +0x6a, 0x18003507a\nretn                                                                   ; +0x6b, 0x18003507b", "xrefs": ["<???> @ 0x1801355d0", "<???> @ 0x1801355e0", "<???> @ 0x1801438a8", "<???> @ 0x1801b06cc", "<???> @ 0x1801b06d8"], "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"}