//
// sub_10054DB54 from 0x10054db54 to 0x10054dbd0 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009aa348
//
// 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:07:51 +0000
//
void __fastcall sub_10054DB54(_DWORD *a1)
{
int v2; // w8
__int64 v3; // x1
*(_QWORD *)a1 = off_1009AA2E0;
v2 = a1[37];
a1[36] = 0;
if ( v2 )
{
if ( v2 >= 1 )
{
v3 = *((_QWORD *)a1 + 17);
if ( v3 )
sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), v3, "../../src/fmod_memory.h", 255, 1);
}
*((_QWORD *)a1 + 17) = 0;
a1[37] = 0;
}
sub_10054DBD0(a1 + 24);
operator delete(a1);
}