//
// sub_1800E4E04 from 0x1800e4e04 to 0x1800e4e38 (52 bytes)
//
// 2 xrefs:
// > sub_1800E5488 @ 0x1800e5506
// > ??> @ 0x1801c54f0
//
// 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 11:22:38 +0000
//
char sub_1800E4E04()
{
int v0; // eax
_crt_argv_mode v1; // eax
LOBYTE(v0) = __uncaught_exception();
if ( v0 )
{
sub_1800E51A0();
}
else
{
v1 = (unsigned int)sub_1800E5954();
if ( configure_narrow_argv(v1) )
return 0;
initialize_narrow_environment();
}
return 1;
}