//
// MenuLayer::openOptions from 0x10037ce70 to 0x10037cee1 (113 bytes)
//
// 0 xrefs:
//
// 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:07 +0000
//
__int64 __fastcall MenuLayer::openOptions(__int64 a1, unsigned int a2)
{
__int64 v2; // rbx
__int64 result; // rax
__int64 v4; // rax
v2 = OptionsLayer::create(a1);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v2, 100);
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1328LL))(v2, a2);
if ( a2 )
{
v4 = VideoOptionsLayer::create();
return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v2 + 464LL))(v2, v4, 100);
}
return result;
}