//
// sub_64DA2 from 0x64da2 to 0x64e04 (98 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 sub_64DA2(int a1, int a2, float a3, float a4, float a5, float a6, float a7, int a8, float *a9)
{
int result; // r0
int v13; // r0
int v14; // [sp+14h] [bp-14h] BYREF
result = 31;
if ( a9 && (unsigned int)(a8 - 1) <= 0x1F )
{
v13 = *(_DWORD *)(*(_DWORD *)a1 + 128);
v14 = 0;
result = sub_64BD4(v13, a2, &v14);
if ( !result )
return sub_60178((int *)v14, a3, a4, a5, a6, a7, a8, a9);
}
return result;
}