//
// sub_14006A220 from 0x14006a220 to 0x14006a259 (57 bytes)
//
// 3 xrefs:
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x140689cc3
// > ??> @ 0x140888dfd
// > ??> @ 0x1409112f4
//
// 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:25:47 +0000
//
void __fastcall sub_14006A220(__int64 a1)
{
__int64 v2; // rcx
void *v3; // rcx
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
sub_14003D310(v2 + 40);
v3 = *(void **)(a1 + 8);
if ( v3 )
j_j_free(v3);
}