//
// cocos2d::CCAnimation::createWithSpriteFrames from 0x18008cdd0 to 0x18008ce4f (127 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfcc4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:06 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCAnimation *__fastcall cocos2d::CCAnimation::createWithSpriteFrames(
struct cocos2d::CCArray *a1,
float a2)
{
cocos2d::CCObject *v3; // rax
cocos2d::CCObject *v4; // rbx
v3 = (cocos2d::CCObject *)sub_1800E4AC0(0x58u);
v4 = v3;
if ( v3 )
{
cocos2d::CCObject::CCObject(v3);
*(_QWORD *)v4 = &cocos2d::CCAnimation::`vftable';
*((_QWORD *)v4 + 7) = 0;
*((_DWORD *)v4 + 16) = 0;
*((_QWORD *)v4 + 9) = 0;
*((_BYTE *)v4 + 80) = 0;
*((_DWORD *)v4 + 21) = 0;
}
else
{
v4 = nullptr;
}
cocos2d::CCAnimation::initWithSpriteFrames(v4, a1, a2);
cocos2d::CCObject::autorelease(v4);
return v4;
}