//
// sub_52FDC from 0x52fdc to 0x53008 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c248
//
// 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_52FDC(__int64 a1)
{
__int64 v1; // x8
float v2; // s0
char v3; // w9
v1 = *(_QWORD *)(a1 + 24);
v2 = *(float *)(*(_QWORD *)(v1 + 32) + 492LL);
if ( v2 != *(float *)(a1 + 780) && (v3 = *(_BYTE *)(a1 + 56), *(float *)(a1 + 780) = v2, (v3 & 8) != 0) )
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 104LL))(a1, *(float *)(v1 + 48));
else
return 0;
}