// // sub_589FC from 0x589fc to 0x58a70 (116 bytes) // // 2 xrefs: // > sub_588B4 @ 0x58938 // > FMOD::ChannelGroup::getGroup @ 0xd2210 // // 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_589FC(__int64 a1, int a2, _QWORD *a3) { _QWORD *v3; // x21 int v6; // w0 unsigned int v7; // w8 int i; // w8 v3 = (_QWORD *)(a1 + 400); v6 = sub_59188(a1 + 400); v7 = 31; if ( a3 && (a2 & 0x80000000) == 0 && v6 > a2 ) { for ( i = 0; i < v6; ++i ) { v3 = (_QWORD *)*v3; if ( a2 == i ) *a3 = v3[2]; } return 0; } return v7; }