//
// sub_1004C46E0 from 0x1004c46e0 to 0x1004c4710 (48 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_1004C46E0(__int64 a1)
{
unsigned int v1; // w9
unsigned int v2; // w8
v1 = atomic_load((unsigned int *)(a1 + 272));
if ( v1 && (v2 = atomic_load((unsigned int *)(a1 + 272)), v2 != 2) )
return 0;
else
return *(_BYTE *)(a1 + 92) == 0;
}