//
// sub_100589624 from 0x100589624 to 0x100589670 (76 bytes)
//
// 3 xrefs:
// > sub_1005C7CB0 @ 0x1005c7cb4
// > sub_1005CECBC @ 0x1005cecc0
// > sub_1005D6700 @ 0x1005d6704
//
// 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_100589624(_QWORD *a1, __int64 a2)
{
__int64 v4; // x0
v4 = *a1;
if ( v4 && (int)sub_1005DEA4C(v4) > (int)a2 )
return sub_1005DEA60(*a1, a2);
else
return 0;
}