//
// sub_1000DA3C0 from 0x1000da3c0 to 0x1000da417 (87 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
//
__int64 __fastcall sub_1000DA3C0(_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 + 1608LL))(*a1);
v5 = (int)(*(float (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1608LL))(v3);
if ( v4 == v5 )
{
v5 = v3[415] + v4;
v4 += *(_DWORD *)(v2 + 1660);
}
return (unsigned int)(v4 - v5);
}