//
// AnimatedGameObject::create from 0x100196970 to 0x100196aa7 (311 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10066ebf4
//
// 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:25:55 +0000
//
char *__fastcall AnimatedGameObject::create(unsigned int a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x5F8u);
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_100AC76A8;
*((_QWORD *)v1 + 40) = off_100AC7E10;
*((_QWORD *)v1 + 43) = off_100AC7E90;
*((_QWORD *)v1 + 181) = &off_100AC7EC0;
*((_QWORD *)v1 + 182) = &off_100AC7ED8;
*((_DWORD *)v1 + 381) = 0;
*(_OWORD *)(v1 + 1474) = 0;
*(_OWORD *)(v1 + 1464) = 0;
*(_OWORD *)(v1 + 1496) = 0;
*(_OWORD *)(v1 + 1505) = 0;
if ( (unsigned __int8)AnimatedGameObject::init(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}