//
// sub_100432658 from 0x100432658 to 0x10043279c (324 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall sub_100432658(__int64 a1, __int64 a2)
{
unsigned __int64 v4; // x21
float *v5; // x8
float *v6; // x25
float v7; // s1
float v8; // s0
unsigned __int64 v9; // x9
__exp10f(-5.9309);
if ( a2 )
{
v4 = 0;
*(_QWORD *)(a2 + 256) = 0;
*(_OWORD *)(a2 + 224) = 0u;
*(_OWORD *)(a2 + 240) = 0u;
*(_OWORD *)(a2 + 192) = 0u;
*(_OWORD *)(a2 + 208) = 0u;
*(_OWORD *)(a2 + 160) = 0u;
*(_OWORD *)(a2 + 176) = 0u;
*(_OWORD *)(a2 + 128) = 0u;
*(_OWORD *)(a2 + 144) = 0u;
*(_OWORD *)(a2 + 96) = 0u;
*(_OWORD *)(a2 + 112) = 0u;
*(_OWORD *)(a2 + 64) = 0u;
*(_OWORD *)(a2 + 80) = 0u;
*(_OWORD *)(a2 + 32) = 0u;
*(_OWORD *)(a2 + 48) = 0u;
*(_OWORD *)a2 = 0u;
*(_OWORD *)(a2 + 16) = 0u;
v5 = *(float **)(a1 + 3512);
v6 = v5;
do
{
if ( &v5[*(int *)(a1 + 3520)] <= v6 || v4 > 0x41 )
break;
v7 = (float)((float)((int)v4 + 1) + -60.0) + 0.691;
v8 = 0.0;
if ( v7 > -80.0 )
{
v8 = __exp10f(v7 / 10.0);
v5 = *(float **)(a1 + 3512);
}
if ( v5 <= v6 )
{
v9 = (unsigned __int64)&v5[*(int *)(a1 + 3520)];
do
{
if ( v9 <= (unsigned __int64)v6 )
break;
if ( *v6 >= v8 )
break;
*(float *)(a2 + 4 * v4) = *(float *)(a2 + 4 * v4) + 1.0;
++v6;
}
while ( v5 <= v6 );
}
++v6;
++v4;
}
while ( v5 <= v6 );
}
}