{"type": "func", "start": 6443027616, "end": 6443027759, "name": "cocos2d::CCAnimation::create", "pseudocode": "// \n// cocos2d::CCAnimation::create from 0x18008cca0 to 0x18008cd2f (143 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCAnimate::reverse @ 0x180036149\n// > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008da9d\n// > cocos2d::CCAnimation::create @ 0x1800d5c76\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfcac\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:22:06 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCAnimation *__fastcall cocos2d::CCAnimation::create(\n        struct cocos2d::CCArray *a1,\n        float a2,\n        unsigned int a3)\n{\n  cocos2d::CCObject *v5; // rax\n  cocos2d::CCObject *v6; // rbx\n\n  v5 = (cocos2d::CCObject *)sub_1800E4AC0(0x58u);\n  v6 = v5;\n  if ( v5 )\n  {\n    cocos2d::CCObject::CCObject(v5);\n    *(_QWORD *)v6 = &cocos2d::CCAnimation::`vftable';\n    *((_QWORD *)v6 + 7) = 0;\n    *((_DWORD *)v6 + 16) = 0;\n    *((_QWORD *)v6 + 9) = 0;\n    *((_BYTE *)v6 + 80) = 0;\n    *((_DWORD *)v6 + 21) = 0;\n  }\n  else\n  {\n    v6 = nullptr;\n  }\n  cocos2d::CCAnimation::initWithAnimationFrames(v6, a1, a2, a3);\n  cocos2d::CCObject::autorelease(v6);\n  return v6;\n}", "assembly": "; \n; cocos2d::CCAnimation::create from 0x18008cca0 to 0x18008cd2f (143 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCAnimate::reverse @ 0x180036149\n; > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008da9d\n; > cocos2d::CCAnimation::create @ 0x1800d5c76\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfcac\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:22:06 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18008cca0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18008cca5\npush    rdi                                                            ; +0xa, 0x18008ccaa\nsub     rsp, 30h                                                       ; +0xb, 0x18008ccab\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x18008ccaf\nmov     edi, r8d                                                       ; +0x14, 0x18008ccb4\nmovaps  xmm6, xmm1                                                     ; +0x17, 0x18008ccb7\nmov     rsi, rcx                                                       ; +0x1a, 0x18008ccba\nmov     ecx, 58h ; 'X'; Size                                           ; +0x1d, 0x18008ccbd\ncall    sub_1800E4AC0                                                  ; +0x22, 0x18008ccc2\nmov     rbx, rax                                                       ; +0x27, 0x18008ccc7\nmov     [rsp+38h+arg_18], rax                                          ; +0x2a, 0x18008ccca\ntest    rax, rax                                                       ; +0x2f, 0x18008cccf\njz      short loc_18008CCFB                                            ; +0x32, 0x18008ccd2\nmov     rcx, rax; this                                                 ; +0x34, 0x18008ccd4\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x37, 0x18008ccd7\nlea     rax, ??_7CCAnimation@cocos2d@@6B@; const cocos2d::CCAnimation::`vftable' ; +0x3c, 0x18008ccdc\nmov     [rbx], rax                                                     ; +0x43, 0x18008cce3\nxor     eax, eax                                                       ; +0x46, 0x18008cce6\nmov     [rbx+38h], rax                                                 ; +0x48, 0x18008cce8\nmov     [rbx+40h], eax                                                 ; +0x4c, 0x18008ccec\nmov     [rbx+48h], rax                                                 ; +0x4f, 0x18008ccef\nmov     [rbx+50h], al                                                  ; +0x53, 0x18008ccf3\nmov     [rbx+54h], eax                                                 ; +0x56, 0x18008ccf6\njmp     short loc_18008CCFE                                            ; +0x59, 0x18008ccf9\nmov     rbx, rax                                                       ; +0x5b, 0x18008ccfb\nmov     r9d, edi; unsigned int                                         ; +0x5e, 0x18008ccfe\nmovaps  xmm2, xmm6; float                                              ; +0x61, 0x18008cd01\nmov     rdx, rsi; struct cocos2d::CCArray *                            ; +0x64, 0x18008cd04\nmov     rcx, rbx; this                                                 ; +0x67, 0x18008cd07\ncall    ?initWithAnimationFrames@CCAnimation@cocos2d@@QEAA_NPEAVCCArray@2@MI@Z; cocos2d::CCAnimation::initWithAnimationFrames(cocos2d::CCArray *,float,uint) ; +0x6a, 0x18008cd0a\nmov     rcx, rbx; this                                                 ; +0x6f, 0x18008cd0f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x72, 0x18008cd12\nmov     rax, rbx                                                       ; +0x77, 0x18008cd17\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x7a, 0x18008cd1a\nmov     rsi, [rsp+38h+arg_8]                                           ; +0x7f, 0x18008cd1f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x84, 0x18008cd24\nadd     rsp, 30h                                                       ; +0x89, 0x18008cd29\npop     rdi                                                            ; +0x8d, 0x18008cd2d\nretn                                                                   ; +0x8e, 0x18008cd2e", "xrefs": ["cocos2d::CCAnimate::reverse @ 0x180036149", "cocos2d::CCAnimationCache::parseVersion1 @ 0x18008da9d", "cocos2d::CCAnimation::create @ 0x1800d5c76", "<???> @ 0x18014cf68", "<???> @ 0x1801bfcac"], "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"}