//
// sub_18001FCC8 from 0x18001fcc8 to 0x18001fcfc (52 bytes)
//
// 2 xrefs:
// > sub_18001F394 @ 0x18001f412
// > ??> @ 0x18004d1a8
//
// 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 12:15:45 +0000
//
char sub_18001FCC8()
{
int v0; // eax
_crt_argv_mode v1; // eax
LOBYTE(v0) = __uncaught_exception();
if ( v0 )
{
sub_18001F718();
}
else
{
v1 = (unsigned int)sub_180020180();
if ( configure_narrow_argv(v1) )
return 0;
initialize_narrow_environment();
}
return 1;
}