//
// sub_14017A130 from 0x14017a130 to 0x14017a154 (36 bytes)
//
// 3 xrefs:
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1404ee7c3
// > ??> @ 0x140676e71
// > ??> @ 0x1406cb250
//
// 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
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall sub_14017A130(__int64 **a1)
{
__int64 *v1; // rcx
__int64 result; // rax
__int64 v3; // rcx
v1 = *a1;
result = *v1;
v3 = *(__int64 *)((char *)v1 + *(int *)(*v1 + 4) + 72);
if ( v3 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
return result;
}