// // FMOD::Sound::get3DMinMaxDistance from 0x1800a70f0 to 0x1800a722f (319 bytes) // // 5 xrefs: // > FMOD_Sound_Get3DMinMaxDistance @ 0x1800c6569 // > @ 0x180186ee8 // > @ 0x180186ef8 // > @ 0x180194348 // > @ 0x1801fb91c // // 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::Sound::get3DMinMaxDistance(__int64 a1, __int64 a2, __int64 a3) { int v5; // r14d unsigned int v6; // esi int v7; // ebx int v8; // eax __int64 result; // rax _DWORD *v10; // [rsp+30h] [rbp-148h] BYREF _BYTE v11[256]; // [rsp+40h] [rbp-138h] BYREF v5 = a1; v6 = sub_1800E1460(a1, &v10, 0); if ( !v6 ) { if ( !v10[68] || v10[68] == 7 || v10[68] == 5 ) { result = (*(__int64 (__fastcall **)(_DWORD *, __int64, __int64))(*(_QWORD *)v10 + 80LL))(v10, a2, a3); v6 = result; if ( !(_DWORD)result ) return result; } else { v6 = 46; } } if ( *((char *)off_1801AED20 + 16) < 0 ) { v7 = sub_1800F30A0(v11, 256, a2); v8 = sub_1800F2F70(&v11[v7]); sub_1800F30A0(&v11[v8 + v7], (unsigned int)(256 - (v8 + v7)), a3); sub_1800B20E0(v6, 5, v5, (unsigned int)"Sound::get3DMinMaxDistance", (__int64)v11); } return v6; }