//
// sub_1800CFC40 from 0x1800cfc40 to 0x1800cfc59 (25 bytes)
//
// 1 xrefs:
// > FMOD::Channel::setPriority @ 0x1800a0a0e
//
// This function is hookable on this platform (idp: pc, 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 10:54:09 +0000
//
__int64 __fastcall sub_1800CFC40(__int64 a1, unsigned int a2)
{
if ( a2 > 0x100 )
return 31;
*(_DWORD *)(a1 + 480) = a2;
return sub_1800D04F0(a1);
}