//
// GameObject::init from 0x45b160 to 0x45b17c (28 bytes)
//
// 6 xrefs:
// > PlayerObject::init @ 0x4471f0
// > GameObject::createWithFrame @ 0x45b192
// > EnhancedGameObject::init @ 0x45b1be
// > LabelGameObject::init @ 0x4e656c
// > SmartGameObject::init @ 0x4f5b56
// > EndPortalObject::init @ 0x507752
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:48:48 +0000
//
int __fastcall GameObject::init(GameObject *this, const char *a2)
{
unsigned int v3; // r1
int v4; // r4
v4 = CCSpritePlus::initWithSpriteFrameName(this, a2);
if ( v4 )
{
GameObject::commonSetup(this, v3);
*((_BYTE *)this + 261) = 1;
}
return v4;
}