//
// SpecialAnimGameObject::create from 0x1001b39c0 to 0x1001b3ac5 (261 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10059d538
//
// 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
//
SpecialAnimGameObject *__fastcall SpecialAnimGameObject::create(const char *a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x5B0u);
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_1008C8868;
*((_QWORD *)v1 + 40) = off_1008C8FB0;
*((_QWORD *)v1 + 43) = off_1008C9030;
*(_WORD *)(v1 + 1447) = 0;
if ( EnhancedGameObject::init((EnhancedGameObject *)v1, a1) )
{
v1[313] = 0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return (SpecialAnimGameObject *)v1;
}