//
// MenuLayer::openOptions from 0x30a45e to 0x30a49e (64 bytes)
//
// 2 xrefs:
// > MenuLayer::onOptions @ 0x30a4a0
// > MenuLayer::onOptionsInstant @ 0x30a4a6
//
// 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 v2; // r5
OptionsLayer *v4; // r4
VideoOptionsLayer *v5; // r0
v2 = a2;
v4 = OptionsLayer::create();
a1->addChild_0(a1, v4, 100);
v4->showLayer(v4, v2);
if ( v2 )
{
v5 = VideoOptionsLayer::create();
v4->addChild_0(v4, v5, 100);
}
}