//
// sub_14005DB90 from 0x14005db90 to 0x14005dbfd (109 bytes)
//
// 7 xrefs:
// > sub_140053730 @ 0x1400538b8
// > sub_1400538F0 @ 0x14005390b
// > sub_1404E224E @ 0x1404e2259
// > ??> @ 0x140665278
// > ??> @ 0x140665288
// > ??> @ 0x1406c5604
// > ??> @ 0x1406c5610
//
// 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_14005DB90(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_14003A830((__int64)(v3 + 5));
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*a1);
}