//
// SpecialAnimGameObject::create from 0x100382250 to 0x1003822d8 (136 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x100254468
//
// 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 *v2; // x19
v2 = (char *)operator new(0x5B0u);
EnhancedGameObject::EnhancedGameObject((EnhancedGameObject *)v2);
*(_QWORD *)v2 = &off_1007F98F0;
*((_QWORD *)v2 + 40) = off_1007FA038;
*((_QWORD *)v2 + 43) = off_1007FA0B8;
*(_WORD *)(v2 + 1447) = 0;
if ( EnhancedGameObject::init((EnhancedGameObject *)v2, a1) )
{
v2[313] = 0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (SpecialAnimGameObject *)v2;
}