//
// sub_14051DD30 from 0x14051dd30 to 0x14051dd88 (88 bytes)
//
// 5 xrefs:
// > ?dtor$0@?0???$__acrt_get_current_directory@U__crt_win32_buffer_internal_dynamic_resizing@@@@YAHAEAV?$__crt_win32_buffer@DU__crt_win32_buffer_internal_dynamic_resizing@@@@@Z@4HA_160 @ 0x1406bf75f
// > ?dtor$0@?0???$__acrt_get_current_directory@U__crt_win32_buffer_internal_dynamic_resizing@@@@YAHAEAV?$__crt_win32_buffer@DU__crt_win32_buffer_internal_dynamic_resizing@@@@@Z@4HA_175 @ 0x1406c046f
// > ??> @ 0x1408d790c
// > ??> @ 0x1408d98a4
// > ??> @ 0x14092b178
//
// 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:33:36 +0000
//
void __fastcall sub_14051DD30(__int64 a1)
{
__int64 v1; // rbx
void *v3; // rcx
v1 = *(_QWORD *)(a1 + 8);
if ( v1 )
{
sub_14003EA90((_QWORD *)(v1 + 112));
sub_14003EB00((void **)(v1 + 96));
sub_14003EA90((_QWORD *)(v1 + 48));
sub_14003EB00((void **)(v1 + 32));
}
v3 = *(void **)(a1 + 8);
if ( v3 )
j_j_free(v3);
}