//
// sub_724B0 from 0x724b0 to 0x72560 (176 bytes)
//
// 1 xrefs:
// > sub_7288E @ 0x728c6
//
// 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
//
int __fastcall sub_724B0(_DWORD *a1, int a2, int a3, void *a4, int a5)
{
_UNKNOWN **v8; // r4
void *v9; // r0
void *v10; // r1
_DWORD *v11; // r0
unsigned int v12; // r1
int v14; // [sp+0h] [bp-18h] BYREF
char v15; // [sp+4h] [bp-14h]
a1[70] = a5;
a1[66] = 0;
a1[67] = a4;
a1[56] = 0;
a1[57] = a2;
a1[58] = a3;
v14 = *(int *)((char *)&dword_110 + (_DWORD)off_E8000);
j_FMOD_OS_CriticalSection_Enter(v14);
v15 = 1;
v8 = &off_E8C94;
while ( 1 )
{
v8 = (_UNKNOWN **)*v8;
if ( v8 == &off_E8C94 )
break;
if ( v8[3] == a4 )
{
sub_44984((int)&v14);
v9 = v8[4];
a1[68] = v9;
v10 = v8[6];
a1[63] = v9;
a1[69] = v10;
v11 = (_DWORD *)a1[64];
v12 = ((unsigned int)v11 + 71) & 0xFFFFFFF0;
*v11 = a1 + 56;
v11[1] = v12 + (a2 << 11);
v11[2] = v12;
sub_D080E();
memset(*(void **)(a1[64] + 8), 0, a2 << 11);
memset(*(void **)(a1[64] + 4), 0, a2 << 12);
return 0;
}
}
sub_44984((int)&v14);
return 28;
}