//
// sub_14051E2A0 from 0x14051e2a0 to 0x14051e303 (99 bytes)
//
// 5 xrefs:
// > sub_1406BF7F0 @ 0x1406bf7f7
// > ??> @ 0x1408d7c07
// > ??> @ 0x1408d7e54
// > ??> @ 0x1408d7e88
// > ??> @ 0x14092b28c
//
// 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:33:36 +0000
//
void __fastcall sub_14051E2A0(__int64 a1)
{
_QWORD *v1; // rbx
_QWORD *v2; // rcx
void *v3; // rdi
if ( *(_QWORD *)(a1 + 8) )
{
*(_QWORD *)(*(_QWORD *)(a1 + 24) + 8LL) = 0;
**(_QWORD **)(a1 + 16) = 0;
v1 = *(_QWORD **)(a1 + 24);
while ( v1 )
{
v2 = v1;
v3 = v1;
v1 = (_QWORD *)*v1;
sub_1400C6AA0((__int64)(v2 + 3));
j_j_free(v3);
}
}
}