//
// sub_1800920B0 from 0x1800920b0 to 0x180092100 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x180167210
//
// 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:53:45 +0000
//
__int64 __fastcall sub_1800920B0(__int64 a1, float a2)
{
bool v3; // zf
if ( a2 < 0.0 )
{
a2 = -a2;
*(_DWORD *)(a1 + 584) = 1;
LABEL_3:
*(float *)(a1 + 560) = a2;
return 0;
}
if ( !*(_QWORD *)(a1 + 552) )
goto LABEL_3;
v3 = (*(_BYTE *)(*(_QWORD *)(a1 + 544) + 56LL) & 4) == 0;
*(float *)(a1 + 560) = a2;
if ( !v3 )
return 0;
*(_DWORD *)(a1 + 584) = 0;
return 0;
}