//
// cocos2d::CCAnimation::create_1 from 0x100280e30 to 0x100280eb8 (136 bytes)
//
// 1 xrefs:
// > sub_1008BF550 @ 0x1008c07f8
//
// 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 12:27:43 +0000
//
_DWORD *cocos2d::CCAnimation::create_1()
{
_DWORD *v0; // rbx
__int64 v1; // rax
__int64 v2; // rdi
__int64 v3; // r14
v0 = operator new(0x58u);
cocos2d::CCObject::CCObject(v0);
*(_QWORD *)v0 = off_100AFE1F8;
v0[16] = 0;
*((_QWORD *)v0 + 9) = 0;
*((_BYTE *)v0 + 80) = 0;
v0[21] = 1;
*((_QWORD *)v0 + 7) = 0;
v1 = sub_1007FE900(v0);
v2 = *((_QWORD *)v0 + 9);
if ( v2 != v1 )
{
v3 = v1;
if ( v1 )
{
cocos2d::CCObject::retain(v1);
v2 = *((_QWORD *)v0 + 9);
}
if ( v2 )
cocos2d::CCObject::release(v2);
*((_QWORD *)v0 + 9) = v3;
}
cocos2d::CCObject::autorelease(v0);
return v0;
}