//
// FMOD::DSP::getCPUUsage from 0xd4c5c to 0xd4cc0 (100 bytes)
//
// 4 xrefs:
// > FMOD::DSP::getCPUUsage @ 0x107c0c
// > ??> @ 0x4d38
// > FMOD::DSP::getCPUUsage @ 0x107c04
// > ??> @ 0x1106c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:14:52 +0000
//
__int64 __fastcall FMOD::DSP::getCPUUsage(FMOD::DSP *this, unsigned int *a2, unsigned int *a3)
{
unsigned int v3; // w20
__int64 v4; // x0
_DWORD *v5; // x1
_DWORD *v6; // x2
__int64 v7; // x0
char v8; // w8
__int64 v9; // x0
__int64 v10; // x0
v3 = sub_D4D48(this);
if ( v3 || (v4 = sub_D4FF0(), v7 = sub_CCAC4(v4, v5, v6), (v3 = v7) != 0) )
{
v7 = sub_D4D24();
if ( v8 < 0 )
{
v9 = sub_D4EB0(v7);
v10 = sub_D4CC0(v9);
v7 = sub_D4D38(v10);
}
}
sub_D4F38(v7);
return v3;
}