{"type": "func", "start": 6442667200, "end": 6442667428, "name": "cocos2d::CCSequence::create", "pseudocode": "// \n// cocos2d::CCSequence::create from 0x180034cc0 to 0x180034da4 (228 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba768\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\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCSequence *__fastcall cocos2d::CCSequence::create(struct cocos2d::CCArray *this)\n{\n  unsigned int v2; // ebp\n  struct cocos2d::CCFiniteTimeAction *v3; // rdi\n  unsigned int i; // ebx\n  struct cocos2d::CCFiniteTimeAction *v5; // rax\n  struct cocos2d::CCSequence *result; // rax\n  __int64 v7; // rbx\n\n  v2 = cocos2d::CCArray::count(this);\n  if ( !v2 )\n    return nullptr;\n  v3 = cocos2d::CCArray::stringAtIndex(this, 0);\n  if ( v2 <= 1 )\n  {\n    v7 = sub_1800E4AC0(0x58u);\n    if ( v7 )\n    {\n      *(_OWORD *)v7 = 0;\n      *(_OWORD *)(v7 + 16) = 0;\n      *(_OWORD *)(v7 + 32) = 0;\n      *(_OWORD *)(v7 + 48) = 0;\n      *(_OWORD *)(v7 + 64) = 0;\n      *(_QWORD *)(v7 + 80) = 0;\n      cocos2d::CCAction::CCAction((cocos2d::CCAction *)v7);\n      *(_DWORD *)(v7 + 80) = 0;\n      *(_QWORD *)v7 = &cocos2d::ExtraAction::`vftable';\n    }\n    else\n    {\n      v7 = 0;\n    }\n    if ( v7 )\n      cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);\n    return cocos2d::CCSequence::createWithTwoActions(v3, (struct cocos2d::CCFiniteTimeAction *)v7);\n  }\n  else\n  {\n    for ( i = 1; i < v2; ++i )\n    {\n      v5 = cocos2d::CCArray::stringAtIndex(this, i);\n      result = cocos2d::CCSequence::createWithTwoActions(v3, v5);\n      v3 = result;\n    }\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCSequence::create from 0x180034cc0 to 0x180034da4 (228 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba768\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], rbx                                               ; +0x0, 0x180034cc0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x180034cc5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x180034cca\npush    rdi                                                            ; +0xf, 0x180034ccf\nsub     rsp, 20h                                                       ; +0x10, 0x180034cd0\nmov     rsi, rcx                                                       ; +0x14, 0x180034cd4\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x17, 0x180034cd7\nmov     ebp, eax                                                       ; +0x1c, 0x180034cdc\ntest    eax, eax                                                       ; +0x1e, 0x180034cde\njz      loc_180034D8D                                                  ; +0x20, 0x180034ce0\nxor     edx, edx; unsigned int                                         ; +0x26, 0x180034ce6\nmov     rcx, rsi; this                                                 ; +0x28, 0x180034ce8\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x2b, 0x180034ceb\nmov     rdi, rax                                                       ; +0x30, 0x180034cf0\ncmp     ebp, 1                                                         ; +0x33, 0x180034cf3\njbe     short loc_180034D20                                            ; +0x36, 0x180034cf6\nmov     ebx, 1                                                         ; +0x38, 0x180034cf8\nnop     dword ptr [rax]                                                ; +0x3d, 0x180034cfd\nmov     edx, ebx; unsigned int                                         ; +0x40, 0x180034d00\nmov     rcx, rsi; this                                                 ; +0x42, 0x180034d02\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x45, 0x180034d05\nmov     rdx, rax; struct cocos2d::CCFiniteTimeAction *                 ; +0x4a, 0x180034d0a\nmov     rcx, rdi; this                                                 ; +0x4d, 0x180034d0d\ncall    ?createWithTwoActions@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSequence::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0x50, 0x180034d10\nmov     rdi, rax                                                       ; +0x55, 0x180034d15\ninc     ebx                                                            ; +0x58, 0x180034d18\ncmp     ebx, ebp                                                       ; +0x5a, 0x180034d1a\njb      short loc_180034D00                                            ; +0x5c, 0x180034d1c\njmp     short loc_180034D8F                                            ; +0x5e, 0x180034d1e\nmov     ecx, 58h ; 'X'; Size                                           ; +0x60, 0x180034d20\ncall    sub_1800E4AC0                                                  ; +0x65, 0x180034d25\nmov     rbx, rax                                                       ; +0x6a, 0x180034d2a\nmov     [rsp+28h+arg_8], rax                                           ; +0x6d, 0x180034d2d\ntest    rax, rax                                                       ; +0x72, 0x180034d32\njz      short loc_180034D6E                                            ; +0x75, 0x180034d35\nxorps   xmm0, xmm0                                                     ; +0x77, 0x180034d37\nxor     eax, eax                                                       ; +0x7a, 0x180034d3a\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x7c, 0x180034d3c\nmovups  xmmword ptr [rbx+10h], xmm0                                    ; +0x7f, 0x180034d3f\nmovups  xmmword ptr [rbx+20h], xmm0                                    ; +0x83, 0x180034d43\nmovups  xmmword ptr [rbx+30h], xmm0                                    ; +0x87, 0x180034d47\nmovups  xmmword ptr [rbx+40h], xmm0                                    ; +0x8b, 0x180034d4b\nmov     [rbx+50h], rax                                                 ; +0x8f, 0x180034d4f\nmov     rcx, rbx; this                                                 ; +0x93, 0x180034d53\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x96, 0x180034d56\nmov     dword ptr [rbx+50h], 0                                         ; +0x9b, 0x180034d5b\nlea     rax, ??_7ExtraAction@cocos2d@@6B@; const cocos2d::ExtraAction::`vftable' ; +0xa2, 0x180034d62\nmov     [rbx], rax                                                     ; +0xa9, 0x180034d69\njmp     short loc_180034D70                                            ; +0xac, 0x180034d6c\nxor     ebx, ebx                                                       ; +0xae, 0x180034d6e\ntest    rbx, rbx                                                       ; +0xb0, 0x180034d70\njz      short loc_180034D7D                                            ; +0xb3, 0x180034d73\nmov     rcx, rbx; this                                                 ; +0xb5, 0x180034d75\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xb8, 0x180034d78\nmov     rdx, rbx; struct cocos2d::CCFiniteTimeAction *                 ; +0xbd, 0x180034d7d\nmov     rcx, rdi; this                                                 ; +0xc0, 0x180034d80\ncall    ?createWithTwoActions@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@0@Z; cocos2d::CCSequence::createWithTwoActions(cocos2d::CCFiniteTimeAction *,cocos2d::CCFiniteTimeAction *) ; +0xc3, 0x180034d83\nmov     rdi, rax                                                       ; +0xc8, 0x180034d88\njmp     short loc_180034D8F                                            ; +0xcb, 0x180034d8b\nxor     eax, eax                                                       ; +0xcd, 0x180034d8d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xcf, 0x180034d8f\nmov     rbp, [rsp+28h+arg_10]                                          ; +0xd4, 0x180034d94\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xd9, 0x180034d99\nadd     rsp, 20h                                                       ; +0xde, 0x180034d9e\npop     rdi                                                            ; +0xe2, 0x180034da2\nretn                                                                   ; +0xe3, 0x180034da3", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801ba768"], "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"}