//
// sub_14035BFD0 from 0x14035bfd0 to 0x14035c009 (57 bytes)
//
// 3 xrefs:
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1406ab2a3
// > ??> @ 0x1408b9561
// > ??> @ 0x140920e7c
//
// 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:30:51 +0000
//
void __fastcall sub_14035BFD0(__int64 a1)
{
__int64 v2; // rcx
void *v3; // rcx
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
sub_14003EA90((_QWORD *)(v2 + 24));
v3 = *(void **)(a1 + 8);
if ( v3 )
j_j_free(v3);
}