//
// GameOptionsLayer::init from 0xa23e44 to 0xa23ea0 (92 bytes)
//
// 2 xrefs:
// > GameOptionsLayer::create @ 0xa240fc
// > ??> @ 0xe7370
//
// 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 12:59:41 +0000
//
__int64 __fastcall GameOptionsLayer::init(GameOptionsLayer *this, GJBaseGameLayer *a2)
{
unsigned __int8 v3; // w0
unsigned int v4; // w20
*((_QWORD *)this + 140) = a2;
*((_DWORD *)this + 253) = 1109393408;
*((_DWORD *)this + 258) = 1053609165;
v3 = GJOptionsLayer::init(this, 2, 280.0);
v4 = v3;
if ( v3 )
{
SetupTriggerPopup::preSetup(this);
SetupTriggerPopup::postSetup(this);
}
return v4;
}