//
// free_crt_array_internal from 0x18013d4e8 to 0x18013d540 (88 bytes)
//
// 12 xrefs:
// > __acrt_locale_free_time @ 0x18013d562
// > __acrt_locale_free_time @ 0x18013d56d
// > __acrt_locale_free_time @ 0x18013d57b
// > __acrt_locale_free_time @ 0x18013d589
// > __acrt_locale_free_time @ 0x18013d598
// > __acrt_locale_free_time @ 0x18013d5ca
// > __acrt_locale_free_time @ 0x18013d5d8
// > __acrt_locale_free_time @ 0x18013d5e6
// > __acrt_locale_free_time @ 0x18013d5f4
// > __acrt_locale_free_time @ 0x18013d603
// > ??> @ 0x180203aac
// > ??> @ 0x180203ab8
//
// 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 10:55:03 +0000
//
void __fastcall free_crt_array_internal(void **a1, __int64 a2)
{
__int64 v2; // rdi
void **v3; // rbx
__int64 v4; // rsi
v2 = 0;
v3 = a1;
v4 = a2 & 0x1FFFFFFFFFFFFFFFLL;
if ( a1 > &a1[a2] )
v4 = 0;
if ( v4 )
{
do
{
free_base(*v3);
++v2;
++v3;
}
while ( v2 != v4 );
}
}