//
// sub_532C8 from 0x532c8 to 0x53348 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c268
//
// 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
//
__int64 __fastcall sub_532C8(__int64 a1, _BYTE *a2)
{
char v2; // w8
char v3; // w8
__int64 v4; // x8
char v5; // w8
__int64 v6; // x8
char v7; // w8
__int64 v8; // x8
char v9; // w8
v2 = atomic_load((unsigned int *)(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 96LL) + 100LL));
if ( v2 < 0 )
{
if ( !*(_QWORD *)(a1 + 40) || !*(_QWORD *)(a1 + 664) || (v3 = atomic_load((unsigned int *)(a1 + 212)), v3 < 0) )
{
v4 = *(_QWORD *)(a1 + 736);
if ( !v4 || (v5 = atomic_load((unsigned int *)(v4 + 100)), v5 < 0) )
{
v6 = *(_QWORD *)(a1 + 744);
if ( !v6 || (v7 = atomic_load((unsigned int *)(v6 + 100)), v7 < 0) )
{
v8 = *(_QWORD *)(a1 + 48);
if ( !v8 || (v9 = atomic_load((unsigned int *)(v8 + 100)), v9 < 0) )
JUMPOUT(0x525A4);
}
}
}
}
*a2 = 1;
return 0;
}