//
// GameObject::init from 0x100254b64 to 0x100254ba0 (60 bytes)
//
// 5 xrefs:
// > PlayerObject::init @ 0x1002178f8
// > SmartGameObject::init @ 0x1003807e4
// > LabelGameObject::create @ 0x100388980
// > LabelGameObject::init @ 0x1003889e8
// > EndPortalObject::init @ 0x1003fe728
//
// 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)
{
_BOOL4 v3; // w20
v3 = CCSpritePlus::initWithSpriteFrameName(a1, a2);
if ( v3 )
{
GameObject::commonSetup(a1);
a1->m_bUnkBool2 = 1;
}
return v3;
}