//
// xCompSpeed from 0x6f3334 to 0x6f33a0 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0xac360
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:51:49 +0000
//
__int64 __fastcall xCompSpeed(__int64 *a1, _DWORD **a2)
{
__int64 v2; // x2
_DWORD *v3; // x19
int v4; // w1
int v5; // w0
bool v6; // zf
__int64 result; // x0
float v8; // s0
v2 = *a1;
v3 = *a2;
v4 = *(_DWORD *)(*a1 + 1772);
v5 = v3[443];
v6 = v4 == v5;
result = (unsigned int)(v4 - v5);
if ( v6 )
{
v8 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2);
return (unsigned int)((int)v8 - (int)*(float *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 192LL))(v3));
}
return result;
}