//
// sub_52FDC from 0x52fdc to 0x53008 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c248
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:13:48 +0000
//
__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;
}