//
// cocos2d::CCAnimation::create from 0x18008cca0 to 0x18008cd2f (143 bytes)
//
// 5 xrefs:
// > cocos2d::CCAnimate::reverse @ 0x180036149
// > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008da9d
// > cocos2d::CCAnimation::create @ 0x1800d5c76
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfcac
//
// 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::create(
struct cocos2d::CCArray *a1,
float a2,
unsigned int a3)
{
cocos2d::CCObject *v5; // rax
cocos2d::CCObject *v6; // rbx
v5 = (cocos2d::CCObject *)sub_1800E4AC0(0x58u);
v6 = v5;
if ( v5 )
{
cocos2d::CCObject::CCObject(v5);
*(_QWORD *)v6 = &cocos2d::CCAnimation::`vftable';
*((_QWORD *)v6 + 7) = 0;
*((_DWORD *)v6 + 16) = 0;
*((_QWORD *)v6 + 9) = 0;
*((_BYTE *)v6 + 80) = 0;
*((_DWORD *)v6 + 21) = 0;
}
else
{
v6 = nullptr;
}
cocos2d::CCAnimation::initWithAnimationFrames(v6, a1, a2, a3);
cocos2d::CCObject::autorelease(v6);
return v6;
}