//
// GameObject::init from 0x1005a2030 to 0x1005a205d (45 bytes)
//
// 6 xrefs:
// > SmartGameObject::create @ 0x1001b0c5a
// > SmartGameObject::init @ 0x1001b0ccd
// > LabelGameObject::create @ 0x1001c0e82
// > LabelGameObject::init @ 0x1001c0ee0
// > EndPortalObject::init @ 0x10039c43b
// > PlayerObject::init @ 0x1003fa8d9
//
// 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
//
bool __fastcall GameObject::init(GameObject *a1, const char *a2)
{
bool result; // al
bool v3; // r14
result = CCSpritePlus::initWithSpriteFrameName(a1, a2);
if ( result )
{
v3 = result;
GameObject::commonSetup(a1);
a1->m_bUnkBool2 = 1;
return v3;
}
return result;
}