//
// __scrt_initialize_crt from 0x180120610 to 0x180120659 (73 bytes)
//
// 3 xrefs:
// > dllmain_crt_process_attach @ 0x180120af9
// > ??> @ 0x1802024c8
// > ??> @ 0x1802024d4
//
// 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 _scrt_initialize_crt(int a1)
{
char v1; // al
v1 = byte_1801F49A8;
if ( !a1 )
v1 = 1;
byte_1801F49A8 = v1;
_isa_available_init();
if ( !_vcrt_initialize() )
return 0;
if ( !_acrt_initialize() )
{
_vcrt_uninitialize(0);
return 0;
}
return 1;
}