//
// sub_9B0F4 from 0x9b0f4 to 0x9b170 (124 bytes)
//
// 1 xrefs:
// > sub_9BB74 @ 0x9bb76
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:30 +0000
//
int __fastcall sub_9B0F4(int a1)
{
int v2; // r5
int v3; // r0
int result; // r0
__int64 v5; // kr00_8
float v6; // s0
float v7; // r0
v2 = 0;
*(_DWORD *)(a1 + 380) = 1045220557;
*(_DWORD *)(a1 + 384) = 0;
*(_DWORD *)(a1 + 388) = 1065353216;
while ( 1 )
{
v3 = *(_DWORD *)(a1 + 164);
if ( v2 >= *(_DWORD *)(v3 + 72) )
break;
result = sub_AB218(a1, v2, *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(v3 + 76) + 4 * v2) + 48));
++v2;
if ( result )
return result;
}
sub_9B17C(a1);
v5 = *(_QWORD *)(a1 + 928);
*(_QWORD *)(a1 + 376) = v5;
v6 = *(float *)(a1 + 936);
*(float *)(a1 + 384) = v6;
v7 = powf(10.0, v6 * 0.05);
*(float *)(a1 + 388) = v7;
sub_9B198(a1, v5, HIDWORD(v5), LODWORD(v7));
return 0;
}