//
// sub_639228 from 0x639228 to 0x63926a (66 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
//
int __fastcall sub_639228(int a1, bool *a2)
{
int result; // r0
if ( (*(_DWORD *)(*(_DWORD *)(a1 + 664) + 64) & 1) == 0
|| *(_BYTE *)(a1 + 1148)
|| (result = sub_6454E8(a1, *(unsigned __int8 *)(a1 + 1148), a1 + 1148)) == 0
&& (result = *(unsigned __int8 *)(a1 + 1148), *(_BYTE *)(a1 + 1148)) )
{
result = sub_63A580(a1 + 1088, 0);
*a2 = *(_DWORD *)(a1 + 1144) == 0;
}
return result;
}