//
// sub_90134 from 0x90134 to 0x90212 (222 bytes)
//
// 1 xrefs:
// > sub_90A6C @ 0x90a6e
//
// 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
//
int __fastcall sub_90134(int a1)
{
int v1; // r5
int v3; // r0
int result; // r0
float v5; // s0
float v6; // s16
float v7; // s18
float v8; // s0
float v9; // s24
float v10; // s2
float v11; // s0
v1 = 0;
*(_DWORD *)(a1 + 436) = 0;
*(_DWORD *)(a1 + 304) = 1;
*(_DWORD *)(a1 + 448) = 1;
memset((void *)(a1 + 404), 0, 0x14u);
while ( 1 )
{
v3 = *(_DWORD *)(a1 + 164);
if ( v1 >= *(_DWORD *)(v3 + 72) )
break;
result = sub_AB218(a1, v1, *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(v3 + 76) + 4 * v1) + 48));
++v1;
if ( result )
return result;
}
*(_DWORD *)(a1 + 376) = *(_DWORD *)(a1 + 460);
v5 = *(float *)(a1 + 464);
v6 = *(float *)(a1 + 472);
v7 = *(float *)(a1 + 476);
*(float *)(a1 + 396) = v7;
*(float *)(a1 + 380) = v5;
*(float *)(a1 + 384) = v5 * 0.01;
*(float *)(a1 + 388) = v6;
v8 = powf(10.0, v6 * 0.05);
v9 = 0.0;
v10 = 0.0;
if ( v6 > -80.0 )
v10 = v8;
*(float *)(a1 + 392) = v10;
v11 = powf(10.0, v7 * 0.05);
if ( v7 > -80.0 )
v9 = v11;
*(float *)(a1 + 400) = v9;
*(_DWORD *)(a1 + 456) = sub_90228(a1);
return 0;
}