//
// sub_10027C4A0 from 0x10027c4a0 to 0x10027c564 (196 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:27:41 +0000
//
__int64 __fastcall sub_10027C4A0(_QWORD *a1, __int64 a2, __int64 a3)
{
__int64 v3; // rdx
unsigned __int64 v4; // xmm0_8
__int64 v5; // rax
__int64 v6; // rax
*a1 = off_100AFD9E8;
a1[40] = off_100AFDF70;
a1[41] = &off_100AFDFE0;
a1[42] = off_100AFDFF8;
a1[43] = off_100AFE018;
a1[44] = off_100AFE040;
a1[51] = off_100AFE070;
a1[54] = off_100AFE0F0;
a1[69] = &off_100AFE110;
a1[70] = &off_100AFE128;
v4 = GameManager::sharedState(a1, a2, a3).u64[0];
if ( *(_QWORD **)(v5 + 952) == a1 + 70 )
{
v4 = GameManager::sharedState(a1, a2, v3).u64[0];
*(_QWORD *)(v6 + 952) = 0;
}
return sub_100518A90(a1, *(double *)&v4);
}