//
// sub_14024A010 from 0x14024a010 to 0x14024a07d (109 bytes)
//
// 8 xrefs:
// > sub_140204F30 @ 0x140204f4b
// > sub_140204FB0 @ 0x140205018
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x140244d93
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x140244dac
// > int `std::_Locinfo::_Locinfo @ 0x1404f9d4b
// > ??> @ 0x140682b44
// > ??> @ 0x140682b54
// > ??> @ 0x1406cea48
//
// 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
//
void __fastcall sub_14024A010(void **a1)
{
_QWORD **v1; // rbx
_QWORD *v3; // rbx
_QWORD *v4; // rdi
v1 = (_QWORD **)*a1;
**((_QWORD **)*a1 + 1) = 0;
v3 = *v1;
if ( v3 )
{
do
{
v4 = (_QWORD *)*v3;
sub_14005E430((__int64)(v3 + 3));
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*a1);
}