//
// sub_100495380 from 0x100495380 to 0x1004953e4 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100852040
//
// 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_100495380(__int64 *a1, int a2, float a3)
{
__int64 v3; // x8
v3 = *a1;
if ( a2 == 2 )
{
*(float *)(v3 + 1096) = a3;
return 0;
}
if ( a2 == 1 )
{
*(float *)(v3 + 1092) = a3;
return 0;
}
if ( a2 )
return 0;
if ( (float)((float)((float)*(int *)(*(_QWORD *)(v3 + 168) + 1744LL) * 0.5) + -100.0) <= a3 )
a3 = (float)((float)*(int *)(*(_QWORD *)(v3 + 168) + 1744LL) * 0.5) + -100.0;
*(float *)(v3 + 1088) = a3;
return 0;
}