//
// sub_14051D460 from 0x14051d460 to 0x14051d4c7 (103 bytes)
//
// 7 xrefs:
// > sub_14051E500 @ 0x14051e536
// > sub_140521100 @ 0x1405211bc
// > sub_140521280 @ 0x140521296
// > sub_14054CDE0 @ 0x14054cdec
// > ??> @ 0x1408d7bbc
// > ??> @ 0x1408d7bcc
// > ??> @ 0x14092b124
//
// 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_14051D460(__int64 a1, __int64 a2)
{
void *v2; // rbx
void *v3; // rdi
**(_QWORD **)(a2 + 8) = 0;
v2 = *(void **)a2;
if ( *(_QWORD *)a2 )
{
do
{
v3 = *(void **)v2;
sub_14003EA90((_QWORD *)v2 + 14);
sub_14003EB00((void **)v2 + 12);
sub_14003EA90((_QWORD *)v2 + 6);
sub_14003EB00((void **)v2 + 4);
j_j_free(v2);
v2 = v3;
}
while ( v3 );
}
}