//
// sub_572C8 from 0x572c8 to 0x57328 (96 bytes)
//
// 2 xrefs:
// > ??> @ 0x10c568
// > ??> @ 0x10c790
//
// 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
//
void sub_572C8()
{
__int64 v0; // x19
_DWORD *v1; // x20
int v2; // w10
__int64 v3; // x9
char v4; // [xsp+Ch] [xbp-24h]
if ( !(unsigned int)((__int64 (*)(void))loc_577C8)() && (v4 & 0x10) != 0 && v1 && !(unsigned int)sub_56FC0(v1) )
{
v2 = *(_DWORD *)(v0 + 72);
v3 = *(_QWORD *)v1;
*(_DWORD *)(v0 + 188) = v1[2];
*(_QWORD *)(v0 + 180) = v3;
*(_DWORD *)(v0 + 72) = v2 | 4;
}
JUMPOUT(0x578A4);
}