//
// sub_1800C9540 from 0x1800c9540 to 0x1800c9576 (54 bytes)
//
// 1 xrefs:
// > ??> @ 0x18016c508
//
// 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_1800C9540(__int64 a1)
{
float v1; // xmm0_4
bool v2; // zf
v1 = *(float *)(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 32LL) + 492LL);
if ( v1 == *(float *)(a1 + 780) )
return 0;
v2 = (*(_BYTE *)(a1 + 56) & 8) == 0;
*(float *)(a1 + 780) = v1;
if ( v2 )
return 0;
else
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 96LL))(a1);
}