//
// GameObject::init from 0x354728 to 0x354744 (28 bytes)
//
// 6 xrefs:
// > PlayerObject::init @ 0x350ce2
// > GameObject::createWithFrame @ 0x35475a
// > EnhancedGameObject::init @ 0x3607c4
// > LabelGameObject::init @ 0x3e1208
// > SmartGameObject::init @ 0x3e6cbe
// > EndPortalObject::init @ 0x3fe5ba
//
// 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 GameObject::init(GameObject *a1, const char *a2)
{
_BOOL4 v3; // r4
v3 = CCSpritePlus::initWithSpriteFrameName(a1, a2);
if ( v3 )
{
GameObject::commonSetup(a1);
a1->m_bUnkBool2 = 1;
}
return v3;
}