//
// GameObject::init from 0x1002f1d08 to 0x1002f1d44 (60 bytes)
//
// 5 xrefs:
// > PlayerObject::init @ 0x1002b43b8
// > SmartGameObject::init @ 0x100426a70
// > LabelGameObject::create @ 0x10042ef6c
// > LabelGameObject::init @ 0x10042efd4
// > EndPortalObject::init @ 0x10047f0a4
//
// 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 11:02:56 +0000
//
__int64 __fastcall GameObject::init(__int64 a1, __int64 a2)
{
__int64 v3; // x20
v3 = CCSpritePlus::initWithSpriteFrameName(a1, a2);
if ( (_DWORD)v3 )
{
GameObject::commonSetup(a1);
*(_BYTE *)(a1 + 313) = 1;
}
return v3;
}