//
// sub_B86D8 from 0xb86d8 to 0xb870c (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x119bb0
//
// 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 12:14:39 +0000
//
float __fastcall sub_B86D8(__int64 *a1, int a2, float a3)
{
__int64 v3; // x8
float result; // s0
v3 = *a1;
if ( a2 == 1 )
*(float *)(v3 + 576) = a3;
else
a3 = *(float *)(v3 + 576);
result = a3 / (float)*(int *)(*(_QWORD *)(v3 + 168) + 1744LL);
*(float *)(v3 + 580) = result;
return result;
}