//
// xCompSpeed from 0x3ff800 to 0x3ff840 (64 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:47:23 +0000
//
int __fastcall xCompSpeed(_DWORD **a1, int *a2)
{
int v2; // r5
_DWORD *v3; // r0
int v4; // r2
int v5; // r3
int v6; // r4
v2 = *a2;
v3 = *a1;
v4 = *(_DWORD *)(*a2 + 1588);
v5 = v3[397];
if ( v5 != v4 )
return v5 - v4;
v6 = (int)*(float *)(*(int (__fastcall **)(_DWORD *))(*v3 + 96))(v3);
return v6 - (int)*(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 96))(v2);
}