//
// sub_1005794A0 from 0x1005794a0 to 0x1005794e4 (68 bytes)
//
// 1 xrefs:
// > sub_10055D5D8 @ 0x10055d5d8
//
// 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 11:08:24 +0000
//
__int64 __fastcall sub_1005794A0(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
unsigned __int8 v4; // [xsp+Fh] [xbp-11h] BYREF
if ( !a1 )
return 31;
result = FMOD::ChannelControl::getVolumeRamp(a1, &v4);
if ( a2 )
*a2 = v4;
return result;
}