//
// __scrt_dllmain_after_initialize_c from 0x1801204e0 to 0x180120514 (52 bytes)
//
// 2 xrefs:
// > dllmain_crt_process_attach @ 0x180120b5a
// > ??> @ 0x180202480
//
// 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 10:54:52 +0000
//
char _scrt_dllmain_after_initialize_c()
{
int v0; // eax
charNode *v1; // rcx
_crt_argv_mode v2; // eax
LOBYTE(v0) = __uncaught_exception();
if ( v0 )
{
_isa_available_init();
}
else
{
v2 = (unsigned int)charNode::raw_length(v1);
if ( configure_narrow_argv(v2) )
return 0;
common_initialize_environment_nolock();
}
return 1;
}