//
// sub_1001129D8 from 0x1001129d8 to 0x100112a60 (136 bytes)
//
// 4 xrefs:
// > OptionsLayer::dOptionsLayer @ 0x100112a64
// > sub_100112A68 @ 0x100112a6c
// > sub_100112A70 @ 0x100112a78
// > sub_100112A84 @ 0x100112a90
//
// 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_1001129D8(_QWORD *a1)
{
__int64 v2; // x0
*a1 = off_1008D0440;
a1[40] = off_1008D09C8;
a1[41] = &off_1008D0A38;
a1[42] = off_1008D0A50;
a1[43] = &off_1008D0A70;
a1[44] = off_1008D0A98;
a1[51] = off_1008D0AC8;
a1[54] = off_1008D0B48;
a1[76] = &off_1008D0B68;
a1[77] = &off_1008D0B80;
v2 = GameManager::sharedState(a1);
if ( *(_QWORD **)(v2 + 952) == a1 + 77 )
*(_QWORD *)(GameManager::sharedState(v2) + 952) = 0;
return sub_100459174(a1);
}