//
// sub_140250EF0 from 0x140250ef0 to 0x140250f29 (57 bytes)
//
// 3 xrefs:
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1404f9e93
// > ??> @ 0x140683549
// > ??> @ 0x1406cf168
//
// 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_140250EF0(__int64 a1)
{
__int64 v2; // rcx
void *v3; // rcx
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
sub_14024BCB0((_QWORD *)(v2 + 24));
v3 = *(void **)(a1 + 8);
if ( v3 )
j_j_free(v3);
}