//
// 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!
//
// 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 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 );
}
}