//
// sub_140353C80 from 0x140353c80 to 0x140353cdc (92 bytes)
//
// 10 xrefs:
// > sub_14030AE90 @ 0x14030aeab
// > sub_14030AEB0 @ 0x14030aef4
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034f0c0
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034f0d9
// > sub_1406A99C8 @ 0x1406a99d3
// > sub_1406AAD50 @ 0x1406aad5b
// > sub_1406AAD7C @ 0x1406aad87
// > ??> @ 0x1408b8d8c
// > ??> @ 0x1408b8d9c
// > ??> @ 0x140920498
//
// This function is hookable on this platform (idp: pc, 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:30:48 +0000
//
void __fastcall sub_140353C80(void **a1)
{
_QWORD **v1; // rdx
_QWORD *v3; // rcx
_QWORD *v4; // rbx
v1 = (_QWORD **)*a1;
**((_QWORD **)*a1 + 1) = 0;
v3 = *v1;
if ( *v1 )
{
do
{
v4 = (_QWORD *)*v3;
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*a1);
}