// // FMOD::ChannelControl::set3DDistanceFilter from 0x100506eac to 0x100507018 (364 bytes) // // 2 xrefs: // > sub_100453738 @ 0x100453744 // > sub_100453DA0 @ 0x100453dac // // 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 // // local variable allocation has failed, the output may be wrong! FMOD_RESULT __fastcall FMOD::ChannelControl::set3DDistanceFilter(FMOD::ChannelControl *a1, bool a2, float a3, float a4) { _BOOL8 v6; // x21 __int64 v8; // x19 int v9; // w0 int v10; // w3 int v11; // w4 int v12; // w5 int v13; // w6 int v14; // w7 __int64 v15; // x24 __int64 v16; // x2 int v17; // w3 int v18; // w4 int v19; // w5 int v20; // w6 int v21; // w7 int v22; // w3 int v23; // w4 int v24; // w5 int v25; // w6 int v26; // w7 int v27; // w0 __int64 v28; // x2 int v29; // w3 int v30; // w4 int v31; // w5 int v32; // w6 int v33; // w7 __int64 v35; // [xsp+8h] [xbp-168h] BYREF __int64 v36; // [xsp+10h] [xbp-160h] BYREF _BYTE v37[256]; // [xsp+18h] [xbp-158h] BYREF v6 = a2; v35 = 0; v8 = sub_1005088AC(a1, &v36, &v35); if ( (_DWORD)v8 || (v8 = (*(__int64 (__fastcall **)(__int64, _BOOL8, float, float))(*(_QWORD *)v36 + 472LL))(v36, v6, a3, a4), (_DWORD)v8) ) { if ( (*((_BYTE *)off_1008524C8 + 32) & 0x80) != 0 ) { v9 = sub_100435E24(v37, 0x100u, v6); v15 = v9 + (__int64)(int)sub_100435EB4(&v37[v9], (unsigned int)(256 - v9), ", ", v10, v11, v12, v13, v14); LODWORD(v15) = v15 + sub_100435DC4((__int16 *)&v37[v15], (unsigned int)(256 - v15), a3, v16, v17, v18, v19, v20, v21); v27 = sub_100435EB4(&v37[(int)v15], (unsigned int)(256 - v15), ", ", v22, v23, v24, v25, v26); sub_100435DC4( (__int16 *)&v37[(int)v15 + v27], (unsigned int)(256 - (v15 + v27)), a4, v28, v29, v30, v31, v32, v33); sub_10048489C(v8, 4, (__int64)a1, (__int64)"ChannelControl::set3DDistanceFilter", (__int64)v37); } } if ( v35 ) sub_100442D80(v35); return (unsigned int)v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source