//
// GameOptionsLayer::init from 0x4b1778 to 0x4b17a6 (46 bytes)
//
// 1 xrefs:
// > GameOptionsLayer::create @ 0x4b1828
//
// 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 GameOptionsLayer::init(GameOptionsLayer *a1, GJBaseGameLayer *a2)
{
_BOOL4 v3; // r5
a1->m_baseGameLayer = a2;
a1->m_gap = 40.0;
a1->m_maxLabelScale = 0.4;
v3 = GJOptionsLayer::init(a1, 2);
if ( v3 )
{
SetupTriggerPopup::preSetup(a1);
SetupTriggerPopup::postSetup(a1);
}
return v3;
}