//
// MenuLayer::onOptionsInstant from 0x10037acb0 to 0x10037ad07 (87 bytes)
//
// 1 xrefs:
// > MenuLayer::scene @ 0x10037ac60
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:29:06 +0000
//
__int64 __fastcall MenuLayer::onOptionsInstant(__int64 a1)
{
__int64 v1; // r14
__int64 v2; // rax
v1 = OptionsLayer::create();
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v1, 100);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 1328LL))(v1, 1);
v2 = VideoOptionsLayer::create();
return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v1 + 464LL))(v1, v2, 100);
}