//
// sub_1800C9540 from 0x1800c9540 to 0x1800c9576 (54 bytes)
//
// 1 xrefs:
// > ??> @ 0x18016c508
//
// This function is hookable on this platform (idp: pc, 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 10:54:06 +0000
//
__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);
}