//
// AnimatedGameObject::create from 0x1001b6300 to 0x1001b6437 (311 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10059d50e
//
// 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
//
AnimatedGameObject *__fastcall AnimatedGameObject::create(int a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x5F8u);
GameObject::GameObject((GameObject *)v1);
*(_OWORD *)(v1 + 1347) = 0;
*(_QWORD *)(v1 + 1361) = 0;
*((_DWORD *)v1 + 343) = 1065353216;
*((_WORD *)v1 + 688) = 0;
v1[1378] = 0;
*(_QWORD *)(v1 + 1380) = 0x13F800000LL;
v1[1388] = 0;
*((_OWORD *)v1 + 87) = 0;
v1[1408] = 0;
*((_DWORD *)v1 + 353) = 1065353216;
*((_QWORD *)v1 + 177) = 0;
*((_WORD *)v1 + 712) = 0;
*(_OWORD *)(v1 + 1428) = 0;
*(_DWORD *)(v1 + 1443) = 0;
*(_QWORD *)v1 = off_1008C4068;
*((_QWORD *)v1 + 40) = off_1008C47C0;
*((_QWORD *)v1 + 43) = off_1008C4840;
*((_QWORD *)v1 + 181) = &off_1008C4870;
*((_QWORD *)v1 + 182) = &off_1008C4888;
*((_DWORD *)v1 + 381) = 0;
*(_OWORD *)(v1 + 1474) = 0;
*(_OWORD *)(v1 + 1464) = 0;
*(_OWORD *)(v1 + 1496) = 0;
*(_OWORD *)(v1 + 1505) = 0;
if ( AnimatedGameObject::init((AnimatedGameObject *)v1, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return (AnimatedGameObject *)v1;
}