//
// xCompSpeed from 0x30f2fc to 0x30f33c (64 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
//
int __fastcall xCompSpeed(_DWORD **a1, int *a2)
{
_DWORD *v2; // r0
int v3; // r5
int v4; // r3
int v5; // r2
int v6; // r4
v2 = *a1;
v3 = *a2;
v4 = v2[395];
v5 = *(_DWORD *)(*a2 + 1580);
if ( v4 != v5 )
return v4 - v5;
v6 = (int)*(float *)(*(int (__fastcall **)(_DWORD *))(*v2 + 96))(v2);
return v6 - (int)*(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 96))(v3);
}