//
// sub_676B0 from 0x676b0 to 0x676ec (60 bytes)
//
// 1 xrefs:
// > sub_6780E @ 0x67810
//
// 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_676B0(int a1, int a2, _DWORD *a3, int a4)
{
unsigned int v4; // r1
int v5; // r0
v4 = a2 - 1;
if ( v4 > 0x1F )
return 31;
v5 = a1 + 4 * v4;
*a3 = *(_DWORD *)(v5 + 8940);
if ( a4 )
sub_BE420(a4, 32, "%.02f", *(float *)(v5 + 8940));
return 0;
}