//
// LevelOptionsLayer::init from 0x140324000 to 0x140324066 (102 bytes)
//
// 3 xrefs:
// > LevelSettingsLayer::onSettings @ 0x140321076
// > LevelOptionsLayer::onSettings @ 0x1403245fd
// > ??> @ 0x1406d4d78
//
// 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 LevelOptionsLayer::init(LevelOptionsLayer *a1, LevelSettingsObject *a2)
{
bool result; // al
LevelOptionsLayer_vtbl *v4; // rax
a1->m_settingsObject = a2;
a1->m_gap = 40.0;
a1->m_maxLabelScale = 0.40000001;
result = GJOptionsLayer::init(a1, 1);
if ( result )
{
v4 = a1->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_disableTextDelegate = 1;
v4->determineStartValues(a1);
a1->updateDefaultTriggerValues(a1);
a1->m_disableTextDelegate = 0;
return 1;
}
return result;
}