//
// GameLevelOptionsLayer::init from 0x1002e2510 to 0x1002e2578 (104 bytes)
//
// 1 xrefs:
// > GameLevelOptionsLayer::create @ 0x1002e24c4
//
// 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 GameLevelOptionsLayer::init(GameLevelOptionsLayer *a1, GJGameLevel *a2)
{
_BOOL4 v3; // w20
a1->m_gap = 40.0;
a1->m_maxLabelScale = 0.4;
if ( a2 )
{
a1->m_level = a2;
cocos2d::CCObject::retain(a2);
}
v3 = GJOptionsLayer::init(a1, 2);
if ( v3 )
{
SetupTriggerPopup::preSetup(a1);
SetupTriggerPopup::postSetup(a1);
}
return v3;
}