//
// StartPosObject::init from 0x1003876a0 to 0x100387718 (120 bytes)
//
// 2 xrefs:
// > StartPosObject::create @ 0x100387654
// > ??> @ 0x1007f5978
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall StartPosObject::init(StartPosObject *a1)
{
_BOOL4 v2; // w20
LevelSettingsObject *v3; // x0
v2 = EnhancedGameObject::init(a1, "edit_eStartPosBtn_001.png");
if ( v2 )
{
a1->m_classType = Effect;
a1->m_triggerTargetColor.b = -1;
*(_WORD *)&a1->m_triggerTargetColor.r = -1;
a1->m_duration = 0.5;
a1->m_legacyHSV = 1;
v3 = LevelSettingsObject::create();
StartPosObject::setSettings(a1, v3);
a1->m_startSettings->m_startsWithStartPos = 1;
}
return v2;
}