//
// sub_1000A9030 from 0x1000a9030 to 0x1000a9087 (87 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:20:16 +0000
//
__int64 __fastcall sub_1000A9030(_QWORD *a1, _DWORD **a2)
{
__int64 v2; // r15
_DWORD *v3; // r14
int v4; // ebx
int v5; // eax
v2 = *a1;
v3 = *a2;
v4 = (int)(*(float (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 1624LL))(*a1);
v5 = (int)(*(float (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1624LL))(v3);
if ( v4 == v5 )
{
v5 = v3[415] + v4;
v4 += *(_DWORD *)(v2 + 1660);
}
return (unsigned int)(v4 - v5);
}