//
// sub_1004A09D0 from 0x1004a09d0 to 0x1004a0a1c (76 bytes)
//
// 1 xrefs:
// > sub_10049E474 @ 0x10049ec78
//
// 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:06:02 +0000
//
__int64 __fastcall sub_1004A09D0(__int64 a1)
{
__int64 v2; // x0
__int16 v3; // w8
__int16 v5; // [xsp+Ch] [xbp-14h] BYREF
char v6; // [xsp+Eh] [xbp-12h]
v2 = GameManager::sharedState();
v3 = *(_WORD *)(v2 + 960);
v6 = *(_BYTE *)(v2 + 962);
v5 = v3;
return (*(__int64 (__fastcall **)(_QWORD, __int16 *))(**(_QWORD **)(a1 + 1032) + 1360LL))(*(_QWORD *)(a1 + 1032), &v5);
}