//
// sub_1401BF9E0 from 0x1401bf9e0 to 0x1401bfa3c (92 bytes)
//
// 6 xrefs:
// > sub_1401A93A0 @ 0x1401a93bb
// > EditorUI::dEditorUI @ 0x1401a9615
// > sub_140697E7E @ 0x140697e89
// > ??> @ 0x1408a263c
// > ??> @ 0x1408a264c
// > ??> @ 0x14091a630
//
// 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:28:02 +0000
//
void __fastcall sub_1401BF9E0(void **a1)
{
_QWORD **v1; // rdx
_QWORD *v3; // rcx
_QWORD *v4; // rbx
v1 = (_QWORD **)*a1;
**((_QWORD **)*a1 + 1) = 0;
v3 = *v1;
if ( *v1 )
{
do
{
v4 = (_QWORD *)*v3;
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*a1);
}