// // pre_c_initialization from 0x1404d0db8 to 0x1404d0e6e (182 bytes) // // 2 xrefs: // > @ 0x140518870 // > @ 0x1406dd730 // // 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 // int __fastcall pre_c_initialization() { int startup_file_mode; // eax struct _exception *v1; // rcx int v2; // ebx charNode *v3; // rcx _crt_argv_mode v4; // eax struct _exception *v5; // rcx int v6; // eax struct _exception *v7; // rcx struct _exception *v8; // rcx int result; // eax set_app_type(_crt_gui_app); startup_file_mode = get_startup_file_mode(); set_fmode(startup_file_mode); v2 = UserMathErrorFunction(v1); *_p__commode() = v2; if ( !_scrt_initialize_onexit_tables(1u) ) goto LABEL_8; sub_1404D15F0(); atexit(sub_1404D162C); v4 = (unsigned int)charNode::raw_length(v3); if ( configure_wide_argv(v4) ) goto LABEL_8; sub_1404D15A0(); if ( (unsigned int)_scrt_is_user_matherr_present() ) _setusermatherr((_UserMathErrorFunctionPointer)UserMathErrorFunction); v6 = UserMathErrorFunction(v5); configthreadlocale(v6); if ( sub_14003C6E0() ) initialize_wide_environment(); UserMathErrorFunction(v7); result = j_UserMathErrorFunction(v8); if ( result ) { LABEL_8: _scrt_fastfail(7); JUMPOUT(0x1404D0E6DLL); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source