//
// MenuLayer::openOptions from 0x100267f68 to 0x100267ff0 (136 bytes)
//
// 1 xrefs:
// > MenuLayer::onOptionsInstant @ 0x1002664fc
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall MenuLayer::openOptions(MenuLayer *a1, bool a2)
{
_BOOL8 v2; // x20
OptionsLayer *v4; // x19
VideoOptionsLayer *v5; // x1
v2 = a2;
v4 = OptionsLayer::create();
((void (__fastcall *)(MenuLayer *, OptionsLayer *, __int64))a1->addChild_0)(a1, v4, 100);
((void (__fastcall *)(OptionsLayer *, _BOOL8))v4->showLayer)(v4, v2);
if ( v2 )
{
v5 = VideoOptionsLayer::create();
((void (__fastcall *)(OptionsLayer *, VideoOptionsLayer *, __int64))v4->addChild_0)(v4, v5, 100);
}
}