// // FMOD::Sound::get3DConeSettings from 0x1800a6e20 to 0x1800a6fa3 (387 bytes) // // 5 xrefs: // > FMOD_Sound_Get3DConeSettings @ 0x1800c6549 // > @ 0x180186f94 // > @ 0x180186fa4 // > @ 0x180194348 // > @ 0x1801fb8d4 // // 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::get3DConeSettings(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { int v7; // r15d unsigned int v8; // esi int v9; // ebx int v10; // ebx int v11; // ebx int v12; // eax __int64 result; // rax _DWORD *v14; // [rsp+30h] [rbp-158h] BYREF _BYTE v15[256]; // [rsp+40h] [rbp-148h] BYREF v7 = a1; v8 = sub_1800E1460(a1, &v14, 0); if ( !v8 ) { if ( !v14[68] || v14[68] == 7 || v14[68] == 5 ) { result = (*(__int64 (__fastcall **)(_DWORD *, __int64, __int64, __int64))(*(_QWORD *)v14 + 96LL))(v14, a2, a3, a4); v8 = result; if ( !(_DWORD)result ) return result; } else { v8 = 46; } } if ( *((char *)off_1801AED20 + 16) < 0 ) { v9 = sub_1800F30A0(v15, 256, a2); v10 = sub_1800F2F70(&v15[v9]) + v9; v11 = sub_1800F30A0(&v15[v10], (unsigned int)(256 - v10), a3) + v10; v12 = sub_1800F2F70(&v15[v11]); sub_1800F30A0(&v15[v12 + v11], (unsigned int)(256 - (v12 + v11)), a4); sub_1800B20E0(v8, 5, v7, (unsigned int)"Sound::get3DConeSettings", (__int64)v15); } return v8; }