//
// sub_10050A960 from 0x10050a960 to 0x10050a9a4 (68 bytes)
//
// 0 xrefs:
//
// 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 sub_10050A960(__int64 a1)
{
unsigned __int64 v1; // x1
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 536);
if ( !v1 )
return 0;
result = FMOD::ExpandingPool::free(*(_QWORD *)(a1 + 168) + 1824LL, v1, 1u);
if ( !(_DWORD)result )
*(_QWORD *)(a1 + 536) = 0;
return result;
}