// // FMOD::Codec::defaultGetWaveFormat from 0x100489334 to 0x100489390 (92 bytes) // // 3 xrefs: // > sub_100488E04 @ 0x100489270 // > sub_1004BC570 @ 0x1004bc62c // > @ 0x1007602a0 // // 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 FMOD::Codec::defaultGetWaveFormat(__int64 a1, int a2, __int64 a3) { __int64 v3; // x8 int v4; // w9 __int128 *v7; // x8 __int128 v8; // q0 __int128 v9; // q1 __int128 v10; // q2 v3 = *(_QWORD *)(a1 + 8); if ( !v3 ) return 53; if ( a2 < 0 ) return 31; v4 = *(_DWORD *)(a1 + 24); if ( a2 ) { if ( !v4 ) return 31; } if ( v4 >= 1 && v4 <= a2 ) return 31; v7 = (__int128 *)(v3 + 56LL * (unsigned int)a2); v8 = *v7; v9 = v7[1]; v10 = v7[2]; *(_QWORD *)(a3 + 48) = *((_QWORD *)v7 + 6); *(_OWORD *)(a3 + 16) = v9; *(_OWORD *)(a3 + 32) = v10; *(_OWORD *)a3 = v8; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source