{"type": "func", "start": 6443027920, "end": 6443028047, "name": "cocos2d::CCAnimation::createWithSpriteFrames", "pseudocode": "// \n// cocos2d::CCAnimation::createWithSpriteFrames from 0x18008cdd0 to 0x18008ce4f (127 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfcc4\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::createWithSpriteFrames(\n        struct cocos2d::CCArray *a1,\n        float a2)\n{\n  cocos2d::CCObject *v3; // rax\n  cocos2d::CCObject *v4; // rbx\n\n  v3 = (cocos2d::CCObject *)sub_1800E4AC0(0x58u);\n  v4 = v3;\n  if ( v3 )\n  {\n    cocos2d::CCObject::CCObject(v3);\n    *(_QWORD *)v4 = &cocos2d::CCAnimation::`vftable';\n    *((_QWORD *)v4 + 7) = 0;\n    *((_DWORD *)v4 + 16) = 0;\n    *((_QWORD *)v4 + 9) = 0;\n    *((_BYTE *)v4 + 80) = 0;\n    *((_DWORD *)v4 + 21) = 0;\n  }\n  else\n  {\n    v4 = nullptr;\n  }\n  cocos2d::CCAnimation::initWithSpriteFrames(v4, a1, a2);\n  cocos2d::CCObject::autorelease(v4);\n  return v4;\n}", "assembly": "; \n; cocos2d::CCAnimation::createWithSpriteFrames from 0x18008cdd0 to 0x18008ce4f (127 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfcc4\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, 0x18008cdd0\npush    rdi                                                            ; +0x5, 0x18008cdd5\nsub     rsp, 30h                                                       ; +0x6, 0x18008cdd6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18008cdda\nmovaps  xmm6, xmm1                                                     ; +0xf, 0x18008cddf\nmov     rdi, rcx                                                       ; +0x12, 0x18008cde2\nmov     ecx, 58h ; 'X'; Size                                           ; +0x15, 0x18008cde5\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x18008cdea\nmov     rbx, rax                                                       ; +0x1f, 0x18008cdef\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x18008cdf2\ntest    rax, rax                                                       ; +0x27, 0x18008cdf7\njz      short loc_18008CE23                                            ; +0x2a, 0x18008cdfa\nmov     rcx, rax; this                                                 ; +0x2c, 0x18008cdfc\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x2f, 0x18008cdff\nlea     rax, ??_7CCAnimation@cocos2d@@6B@; const cocos2d::CCAnimation::`vftable' ; +0x34, 0x18008ce04\nmov     [rbx], rax                                                     ; +0x3b, 0x18008ce0b\nxor     eax, eax                                                       ; +0x3e, 0x18008ce0e\nmov     [rbx+38h], rax                                                 ; +0x40, 0x18008ce10\nmov     [rbx+40h], eax                                                 ; +0x44, 0x18008ce14\nmov     [rbx+48h], rax                                                 ; +0x47, 0x18008ce17\nmov     [rbx+50h], al                                                  ; +0x4b, 0x18008ce1b\nmov     [rbx+54h], eax                                                 ; +0x4e, 0x18008ce1e\njmp     short loc_18008CE26                                            ; +0x51, 0x18008ce21\nmov     rbx, rax                                                       ; +0x53, 0x18008ce23\nmovaps  xmm2, xmm6; float                                              ; +0x56, 0x18008ce26\nmov     rdx, rdi; struct cocos2d::CCArray *                            ; +0x59, 0x18008ce29\nmov     rcx, rbx; this                                                 ; +0x5c, 0x18008ce2c\ncall    ?initWithSpriteFrames@CCAnimation@cocos2d@@QEAA_NPEAVCCArray@2@M@Z; cocos2d::CCAnimation::initWithSpriteFrames(cocos2d::CCArray *,float) ; +0x5f, 0x18008ce2f\nmov     rcx, rbx; this                                                 ; +0x64, 0x18008ce34\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x67, 0x18008ce37\nmov     rax, rbx                                                       ; +0x6c, 0x18008ce3c\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x6f, 0x18008ce3f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x74, 0x18008ce44\nadd     rsp, 30h                                                       ; +0x79, 0x18008ce49\npop     rdi                                                            ; +0x7d, 0x18008ce4d\nretn                                                                   ; +0x7e, 0x18008ce4e", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfcc4"], "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"}