//
// GameObject::init from 0x77ed00 to 0x77ed40 (64 bytes)
//
// 7 xrefs:
// > PlayerObject::init @ 0x767118
// > GameObject::createWithFrame @ 0x77f168
// > EnhancedGameObject::init @ 0x77f204
// > LabelGameObject::init @ 0x86f348
// > SmartGameObject::init @ 0x89addc
// > EndPortalObject::init @ 0x8b45ec
// > ??> @ 0xa9888
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:20 +0000
//
__int64 __fastcall GameObject::init(GameObject *this, const char *a2)
{
unsigned __int8 v3; // w0
unsigned int v4; // w19
v3 = CCSpritePlus::initWithSpriteFrameName(this, a2);
v4 = v3;
if ( v3 )
{
GameObject::commonSetup(this);
*((_BYTE *)this + 313) = 1;
}
return v4;
}