//
// EnhancedGameObject::init from 0x1003000dc to 0x10030011c (64 bytes)
//
// 55 xrefs:
// > sub_1002F1C10 @ 0x1002f1c38
// > sub_100415A18 @ 0x100415a40
// > sub_10041FF28 @ 0x10041ff88
// > GradientTriggerObject::init @ 0x100420014
// > sub_100420894 @ 0x1004208bc
// > sub_10042238C @ 0x100422420
// > sub_10042588C @ 0x10042593c
// > sub_100425F88 @ 0x100425fe0
// > sub_100426D98 @ 0x100426e44
// > ParticleGameObject::init @ 0x100426eb0
// > sub_1004284DC @ 0x100428528
// > sub_100428798 @ 0x1004287e0
// > sub_100428DF0 @ 0x100428e50
// > sub_10042B300 @ 0x10042b328
// > sub_10042CE14 @ 0x10042ce68
// > KeyframeAnimTriggerObject::init @ 0x10042cef0
// > sub_10042D58C @ 0x10042d5d8
// > StartPosObject::init @ 0x10042dafc
// > TeleportPortalObject::create @ 0x10042ddc8
// > sub_10042FDF4 @ 0x10042fe44
// > RandTriggerGameObject::init @ 0x10042fecc
// > sub_10043070C @ 0x100430784
// > SequenceTriggerGameObject::init @ 0x10043080c
// > KeyframeGameObject::init @ 0x100431628
// > sub_1004326CC @ 0x1004326f4
// > sub_100434530 @ 0x100434580
// > sub_1004349A4 @ 0x100434a04
// > EventLinkTrigger::init @ 0x100434a8c
// > sub_10043529C @ 0x100435304
// > SpawnTriggerGameObject::init @ 0x10043538c
// > sub_10043606C @ 0x1004360bc
// > CheckpointGameObject::init @ 0x100436150
// > sub_10043714C @ 0x1004371a0
// > sub_100437DC0 @ 0x100437e18
// > sub_1004388BC @ 0x100438908
// > EndTriggerGameObject::init @ 0x100438990
// > sub_100438EA4 @ 0x100438ef0
// > UISettingsGameObject::init @ 0x100438f78
// > sub_10043948C @ 0x1004394f0
// > sub_10043AD44 @ 0x10043ada8
// > sub_10043B8CC @ 0x10043b944
// > sub_10043D058 @ 0x10043d0b0
// > AudioLineGuideGameObject::init @ 0x10043d138
// > sub_10043D5F0 @ 0x10043d644
// > sub_10043DF10 @ 0x10043df58
// > sub_10043E210 @ 0x10043e258
// > PlayerControlGameObject::init @ 0x10043e2e0
// > sub_10043E7F0 @ 0x10043e834
// > ObjectControlGameObject::init @ 0x10043e8bc
// > sub_10043EAF4 @ 0x10043eb40
// > ProgressGameObject::init @ 0x10043ebc8
// > sub_10043F0D0 @ 0x10043f0f4
// > SpawnParticleGameObject::init @ 0x10043f5e0
// > sub_10043FFF8 @ 0x10044005c
// > RotateGameplayGameObject::init @ 0x1004400e4
//
// 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:03:04 +0000
//
__int64 __fastcall EnhancedGameObject::init(__int64 a1, __int64 a2)
{
__int64 v3; // x20
v3 = CCSpritePlus::initWithSpriteFrameName(a1, a2);
if ( (_DWORD)v3 )
{
GameObject::commonSetup(a1);
*(_DWORD *)(a1 + 1248) = 4;
*(_BYTE *)(a1 + 313) = 0;
}
return v3;
}