// // FMOD::ChannelControl::getDSPClock from 0x18000b2f0 to 0x18000b416 (294 bytes) // // 6 xrefs: // > FMOD_ChannelGroup_GetDSPClock @ 0x1800c4f59 // > FMOD_Channel_GetDSPClock @ 0x1800c5529 // > @ 0x18017df64 // > @ 0x18017df74 // > @ 0x180194348 // > @ 0x1801f66f0 // // 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::ChannelControl::getDSPClock(__int64 a1, _QWORD *a2, _QWORD *a3) { unsigned int v6; // esi __int64 result; // rax int v8; // ebx int v9; // eax _QWORD v10[2]; // [rsp+30h] [rbp-148h] BYREF _BYTE v11[256]; // [rsp+40h] [rbp-138h] BYREF v6 = sub_180012360(a1, v10, 0); if ( v6 ) goto LABEL_8; v6 = (*(__int64 (__fastcall **)(_QWORD, _QWORD *, _QWORD *))(*(_QWORD *)v10[0] + 216LL))(v10[0], a2, a3); if ( v6 ) goto LABEL_8; if ( a2 ) *a2 >>= 20; if ( a3 ) *a3 >>= 20; result = sub_180012360(a1, v10, 0); v6 = result; if ( (_DWORD)result ) { LABEL_8: if ( *((char *)off_1801AED20 + 16) < 0 ) { v8 = sub_1800F3280(v11, 256, a2); v9 = sub_1800F2F70(&v11[v8]); sub_1800F3280(&v11[v9 + v8], (unsigned int)(256 - (v9 + v8)), a3); sub_1800B20E0(v6, 4, a1, (unsigned int)"ChannelControl::getDSPClock", (__int64)v11); } return v6; } return result; }