//
// sub_100495220 from 0x100495220 to 0x100495280 (96 bytes)
//
// 0 xrefs:
//
// 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_100495220(__int64 a1, int a2, float a3)
{
if ( a2 == 2 )
{
*(float *)(a1 + 1096) = a3;
return 0;
}
if ( a2 == 1 )
{
*(float *)(a1 + 1092) = a3;
return 0;
}
if ( a2 )
return 0;
if ( (float)((float)((float)*(int *)(*(_QWORD *)(a1 + 168) + 1744LL) * 0.5) + -100.0) <= a3 )
a3 = (float)((float)*(int *)(*(_QWORD *)(a1 + 168) + 1744LL) * 0.5) + -100.0;
*(float *)(a1 + 1088) = a3;
return 0;
}