//
// sub_100631F2C from 0x100631f2c to 0x100631f70 (68 bytes)
//
// 1 xrefs:
// > sub_100631E6C @ 0x100631eb0
//
// 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:10:28 +0000
//
__int64 __fastcall sub_100631F2C(__int64 *a1)
{
__int64 v1; // x19
unsigned __int64 v2; // x1
__int64 result; // x0
v1 = *a1;
v2 = *(_QWORD *)(*a1 + 536);
if ( !v2 )
return 0;
result = FMOD::ExpandingPool::free(*(_QWORD *)(v1 + 168) + 1824LL, v2, 1u);
if ( !(_DWORD)result )
*(_QWORD *)(v1 + 536) = 0;
return result;
}