//
// sub_675EC from 0x675ec to 0x6769e (178 bytes)
//
// 1 xrefs:
// > sub_67360 @ 0x67366
//
// 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_675EC(int a1, int a2)
{
int v2; // r4
_BYTE *v3; // r8
int v4; // r1
int v5; // r6
int v6; // r0
float *v7; // r5
float v8; // s22
float v9; // r0
float v10; // s0
int v11; // r0
if ( a2 == 1 )
{
v2 = a1;
v3 = (_BYTE *)(a1 + 8932);
v4 = *(_DWORD *)(a1 + 376);
v5 = 32;
v6 = *(_DWORD *)(a1 + 9068);
if ( v4 != v6 )
{
*(_DWORD *)(v2 + 376) = v6;
*v3 = 1;
}
v7 = (float *)(v2 + 9072);
while ( v5 )
{
v8 = *(v7 - 33);
v9 = powf(10.0, v8 * 0.05);
--v5;
v10 = 0.0;
if ( v8 > -80.0 )
v10 = v9;
if ( v10 != *(float *)(v2 + 612) )
{
*(float *)(v2 + 612) = v10;
*v3 = 1;
}
v11 = *(_DWORD *)v7++;
if ( *(_DWORD *)(v2 + 484) != v11 )
{
*(_DWORD *)(v2 + 484) = v11;
*v3 = 1;
}
v2 += 4;
}
}
return 0;
}