//
// GameObject::init from 0x100673730 to 0x10067375d (45 bytes)
//
// 6 xrefs:
// > SmartGameObject::create @ 0x10019122a
// > SmartGameObject::init @ 0x10019129d
// > LabelGameObject::create @ 0x1001a1752
// > LabelGameObject::init @ 0x1001a17b0
// > EndPortalObject::init @ 0x100385dab
// > PlayerObject::init @ 0x1003e7ab9
//
// This function is hookable on this platform (idp: pc, 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:35:02 +0000
//
__int64 __fastcall GameObject::init(__int64 a1, __int64 a2, double a3)
{
__int64 result; // rax
unsigned int v4; // r14d
result = CCSpritePlus::initWithSpriteFrameName(a1, a2, a3);
if ( (_BYTE)result )
{
v4 = result;
GameObject::commonSetup(a1);
*(_BYTE *)(a1 + 313) = 1;
return v4;
}
return result;
}