//
// sub_140376A50 from 0x140376a50 to 0x140376a89 (57 bytes)
//
// 3 xrefs:
// > ?dtor$0@?0???$__acrt_get_current_directory@U__crt_win32_buffer_internal_dynamic_resizing@@@@YAHAEAV?$__crt_win32_buffer@DU__crt_win32_buffer_internal_dynamic_resizing@@@@@Z@4HA_100 @ 0x1406abf93
// > ??> @ 0x1408bbb9d
// > ??> @ 0x140922160
//
// 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:31:01 +0000
//
void __fastcall sub_140376A50(__int64 a1)
{
__int64 v2; // rcx
void *v3; // rcx
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
sub_140373970(v2 + 24);
v3 = *(void **)(a1 + 8);
if ( v3 )
j_j_free(v3);
}