//
// sub_14011AAF0 from 0x14011aaf0 to 0x14011ab55 (101 bytes)
//
// 5 xrefs:
// > sub_140691B20 @ 0x140691b27
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x140691c67
// > ??> @ 0x140896c33
// > ??> @ 0x14089728f
// > ??> @ 0x14091622c
//
// 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:26:54 +0000
//
void __fastcall sub_14011AAF0(__int64 a1)
{
_QWORD *v2; // rcx
v2 = *(_QWORD **)(a1 + 8);
if ( v2 )
{
if ( (unsigned __int64)(80LL * *(_QWORD *)(a1 + 16)) >= 0x1000 )
{
if ( (unsigned __int64)v2 - *(v2 - 1) - 8 > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
v2 = (_QWORD *)*(v2 - 1);
}
j_j_free(v2);
}
}