//
// sub_100584A6C from 0x100584a6c to 0x100584a84 (24 bytes)
//
// 1 xrefs:
// > FMOD::Channel::setPriority @ 0x10057b1ac
//
// 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:31 +0000
//
__int64 __fastcall sub_100584A6C(__int64 a1, unsigned int a2)
{
if ( a2 > 0x100 )
return 31;
*(_DWORD *)(a1 + 480) = a2;
return sub_100581D34(a1);
}