//
// sub_100113524 from 0x100113524 to 0x100113568 (68 bytes)
//
// 1 xrefs:
// > OptionsLayer::customSetup @ 0x100112d4c
//
// 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 10:59:09 +0000
//
__int64 __fastcall sub_100113524(__int64 a1)
{
__int64 v1; // x0
__int64 GameVariable; // x0
__int64 v3; // x0
__int64 v4; // x0
v1 = GameManager::sharedState(a1);
GameVariable = GameManager::getGameVariable(v1, "0228");
if ( (_DWORD)GameVariable && (v3 = GameManager::sharedState(GameVariable), (unsigned int)sub_1003B6184(v3)) )
v4 = sub_100113818();
else
v4 = sub_1001138EC();
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}