//
// sub_1004590F4 from 0x1004590f4 to 0x100459130 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008278d0
//
// 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_1004590F4(__int64 a1, unsigned __int64 a2)
{
unsigned __int64 v3; // x20
v3 = HIDWORD(a2);
sub_10045641C(a1, a2);
return (*(__int64 (__fastcall **)(__int64, unsigned __int64, __int64, _QWORD))(*(_QWORD *)a1 + 216LL))(a1, v3, 2, 0);
}