//
// sub_140250F70 from 0x140250f70 to 0x140250fa9 (57 bytes)
//
// 3 xrefs:
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1404f9e53
// > ??> @ 0x140683491
// > ??> @ 0x1406cf180
//
// 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_140250F70(__int64 a1)
{
__int64 v2; // rcx
void *v3; // rcx
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
sub_1400CDA80(v2 + 24);
v3 = *(void **)(a1 + 8);
if ( v3 )
j_j_free(v3);
}