//
// sub_140254B40 from 0x140254b40 to 0x140254b8e (78 bytes)
//
// 5 xrefs:
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1404fa037
// > ?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_149 @ 0x140509287
// > ?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_150 @ 0x140509293
// > ??> @ 0x140683f57
// > ??> @ 0x1406cf7b0
//
// 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_140254B40(void ***a1)
{
void **v1; // rdi
void **i; // rbx
v1 = a1[1];
for ( i = *a1; i != v1; i += 29 )
{
sub_14005E430((__int64)(i + 25));
sub_1402508A0(i, (__int64)i);
}
}