//
// cocos2d::CCAnimation::createWithSpriteFrames from 0x180089db0 to 0x180089e2f (127 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b59f4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// 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 *)operator new(0x58u);
v4 = v3;
if ( v3 )
{
cocos2d::CCObject::CCObject(v3);
v4->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCAnimation::`vftable';
v4[1].__vftable = nullptr;
v4[1].m_uID = 0;
*(_QWORD *)&v4[1].m_nTag = 0;
LOBYTE(v4[1].m_uAutoReleaseCount) = 0;
v4[1].m_eObjType = 0;
}
else
{
v4 = nullptr;
}
cocos2d::CCAnimation::initWithSpriteFrames((cocos2d::CCAnimation *)v4, a1, a2);
cocos2d::CCObject::autorelease(v4);
return (struct cocos2d::CCAnimation *)v4;
}