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