//
// sub_100589000 from 0x100589000 to 0x10058903c (60 bytes)
//
// 1 xrefs:
// > sub_100588E38 @ 0x100588f14
//
// 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_100589000(__int64 a1)
{
unsigned __int64 v1; // x0
v1 = sub_1005884DC(a1);
return 7 * (v1 >> 14) + 17851 * v1 + 251 * (v1 >> 4);
}