// // sub_6D124 from 0x6d124 to 0x6d1e8 (196 bytes) // // 1 xrefs: // > FMOD::System::getSpeakerPosition @ 0xdcb2c // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:13:58 +0000 // __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; }