//
// sub_1005BB388 from 0x1005bb388 to 0x1005bb3e8 (96 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 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 11:09:16 +0000
//
__int64 __fastcall sub_1005BB388(__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;
}