// // sub_6D124 from 0x6d124 to 0x6d1e8 (196 bytes) // // 1 xrefs: // > FMOD::System::getSpeakerPosition @ 0xdcb2c // // 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_6D124(__int64 a1, int a2, _DWORD *a3, _DWORD *a4, _BYTE *a5) { int v5; // w9 unsigned int v6; // w8 v5 = *(_DWORD *)(a1 + 70460); if ( v5 == 5 ) { if ( a2 != 3 ) { a2 -= (a2 | 1) == 5; goto LABEL_9; } return 31; } if ( v5 != 4 ) goto LABEL_9; if ( (a2 | 1) == 3 ) return 31; if ( (a2 | 1) == 5 ) a2 -= 2; LABEL_9: if ( a2 >= *(_DWORD *)(a1 + 1748) ) return 31; if ( a3 ) *a3 = *(_DWORD *)(a1 + 48LL * a2 + 70472); if ( a4 ) *a4 = *(_DWORD *)(a1 + 48LL * a2 + 70480); v6 = 0; if ( a5 ) *a5 = *(_BYTE *)(a1 + 48LL * a2 + 70504); return v6; }