//
// sub_1004608D0 from 0x1004608d0 to 0x100460914 (68 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_1004608D0(__int64 a1, __int64 a2, unsigned __int64 a3)
{
__int64 v3; // x8
int v4; // w9
unsigned int v5; // w8
v3 = *(_QWORD *)(a1 + 8);
v4 = *(_DWORD *)(v3 + 12);
v5 = *(_DWORD *)(v3 + 8) - 1;
if ( v5 <= 4 )
a3 = (qword_100649450[v5] * (unsigned __int64)(unsigned int)a3) >> 3;
return sub_1004AA8B8(*(_QWORD *)(a1 + 368), (unsigned int)(*(_DWORD *)(a1 + 272) + a3 * v4), 0);
}