//
// __acrt_execute_initializers from 0x18013b694 to 0x18013b714 (128 bytes)
//
// 2 xrefs:
// > __acrt_initialize @ 0x18013296e
// > ??> @ 0x180203914
//
// 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
//
char __fastcall _acrt_execute_initializers(unsigned __int8 (**a1)(void), unsigned __int8 (**a2)(void))
{
unsigned __int8 (**v4)(void); // rbx
unsigned __int8 (**v5)(void); // rbx
if ( a1 == a2 )
return 1;
v4 = a1;
do
{
if ( *v4 && !(*v4)() )
break;
v4 += 2;
}
while ( v4 != a2 );
if ( v4 == a2 )
return 1;
if ( v4 != a1 )
{
v5 = v4 - 1;
do
{
if ( *(v5 - 1) )
{
if ( *v5 )
((void (__fastcall *)(_QWORD))*v5)(0);
}
v5 -= 2;
}
while ( v5 + 1 != a1 );
}
return 0;
}