//
// FMOD_Channel_GetVolumeRamp from 0x50b00 to 0x50b2c (44 bytes)
//
// 4 xrefs:
// > .FMOD_Channel_GetVolumeRamp @ 0x108aac
// > ??> @ 0x4b70
// > .FMOD_Channel_GetVolumeRamp @ 0x108aa4
// > ??> @ 0x110e18
//
// 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_Channel_GetVolumeRamp(__int64 a1)
{
__int64 v1; // x19
__int64 result; // x0
if ( !a1 )
return 31;
result = sub_51A00();
if ( v1 )
return sub_519AC(result);
return result;
}