//
// sub_14017A160 from 0x14017a160 to 0x14017a184 (36 bytes)
//
// 3 xrefs:
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1404ee7b7
// > ??> @ 0x140676e6b
// > ??> @ 0x1406cb25c
//
// 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
//
__int64 __fastcall sub_14017A160(__int64 **a1)
{
__int64 result; // rax
__int64 v2; // rcx
result = **a1;
v2 = *(__int64 *)((char *)*a1 + *(int *)(result + 4) + 72);
if ( v2 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return result;
}