//
// sub_18005A600 from 0x18005a600 to 0x18005a64a (74 bytes)
//
// 4 xrefs:
// > sub_180088E10 @ 0x180088fe0
// > sub_1800EC440 @ 0x1800ec52d
// > sub_1800FC980 @ 0x1800fcd48
// > ??> @ 0x1801f8f88
//
// 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_18005A600(__int64 a1, float a2, int a3, char a4)
{
__int64 result; // rax
result = 0;
if ( a4 )
{
*(_DWORD *)(a1 + 128) = 0;
}
else if ( a2 == *(float *)(a1 + 104) )
{
return 0;
}
*(float *)(a1 + 104) = a2;
if ( a2 == *(float *)(a1 + 128) )
{
*(_DWORD *)(a1 + 132) = 0;
return result;
}
*(_DWORD *)(a1 + 132) = a3;
if ( !a3 )
sub_18005A480(a1);
return 0;
}