//
// LevelOptionsLayer::init from 0x10020ed20 to 0x10020ed80 (96 bytes)
//
// 2 xrefs:
// > LevelOptionsLayer::create @ 0x10020d204
// > LevelOptionsLayer2::init @ 0x10020f46c
//
// This function is hookable on this platform (idp: arm, 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 11:01:01 +0000
//
__int64 __fastcall LevelOptionsLayer::init(__int64 a1, __int64 a2)
{
__int64 v3; // x20
*(_DWORD *)(a1 + 1012) = 1109393408;
*(_DWORD *)(a1 + 1032) = 1053609165;
*(_QWORD *)(a1 + 1120) = a2;
v3 = GJOptionsLayer::init(a1, 1, 280.0);
if ( (_DWORD)v3 )
{
SetupTriggerPopup::preSetup((_BYTE *)a1);
SetupTriggerPopup::postSetup((_BYTE *)a1);
}
return v3;
}