//
// sub_140083780 from 0x140083780 to 0x1400837d5 (85 bytes)
//
// 9 xrefs:
// > SectionedContentNode::removeAllChildrenWithCleanup @ 0x140080cf3
// > SectionedContentNode::removeAllChildrenWithCleanup @ 0x140080d47
// > sub_140083330 @ 0x14008335a
// > sub_140083780 @ 0x1400837aa
// > GJBaseGameLayer::update @ 0x140340c62
// > InfoLayer::clearBulkSelection @ 0x1403d38b2
// > sub_1403D4570 @ 0x1403d459a
// > MusicDownloadManager::clearSortedMusicCache @ 0x14048efeb
// > ??> @ 0x14091238c
//
// 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:25:56 +0000
//
void __fastcall sub_140083780(__int64 a1, __int64 a2, __int64 a3)
{
_QWORD *v3; // rbx
void *v6; // rcx
v3 = (_QWORD *)a3;
if ( !*(_BYTE *)(a3 + 25) )
{
do
{
sub_140083780(a1, a2, v3[2]);
v6 = v3;
v3 = (_QWORD *)*v3;
j_j_free(v6);
}
while ( !*((_BYTE *)v3 + 25) );
}
}