//
// sub_1402EF440 from 0x1402ef440 to 0x1402ef4ad (109 bytes)
//
// 6 xrefs:
// > sub_1402E5800 @ 0x1402e5bd7
// > sub_1402E6B90 @ 0x1402e6bab
// > sub_14050132C @ 0x140501337
// > ??> @ 0x14068f8b0
// > ??> @ 0x14068f8c0
// > ??> @ 0x1406d3884
//
// 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_1402EF440(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_1402EF940(v3 + 3);
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*a1);
}