//
// sub_1004E8214 from 0x1004e8214 to 0x1004e8260 (76 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall sub_1004E8214(__int64 a1)
{
__int64 v2; // x8
int v3; // w0
bool v4; // zf
_BOOL8 result; // x0
int v6; // w9
v2 = *(_QWORD *)(a1 + 8);
*(_QWORD *)(v2 + 464) = 0;
*(_DWORD *)(v2 + 4104) = 0;
v3 = sub_10042AA08(*(_QWORD *)(v2 + 120));
v4 = v3 == 0;
result = v3 != 0;
if ( v4 )
v6 = 8;
else
v6 = 2;
**(_DWORD **)a1 = v6;
return result;
}