//
// MenuLayer::openOptions from 0x5c29c8 to 0x5c2a44 (124 bytes)
//
// 3 xrefs:
// > MenuLayer::onOptions @ 0x5c2a48
// > MenuLayer::onOptionsInstant @ 0x5c2a50
// > ??> @ 0x9c228
//
// 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
//
void MenuLayer::openOptions(MenuLayer *a1, bool a2)
{
_BOOL4 v3; // w20
OptionsLayer *v4; // x19
VideoOptionsLayer *v5; // x0
v3 = a2;
v4 = OptionsLayer::create();
a1->addChild_0(a1, v4, 100);
v4->showLayer(v4, v3);
if ( v3 )
{
v5 = VideoOptionsLayer::create();
v4->addChild_0(v4, v5, 100);
}
}