// // dllmain_crt_process_attach from 0x1800dfd2c to 0x1800dfe42 (278 bytes) // // 3 xrefs: // > dllmain_crt_dispatch @ 0x1800dfd18 // > @ 0x1801bb0e8 // > @ 0x1801bb0f4 // // 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 // __int64 __fastcall dllmain_crt_process_attach(HINSTANCE a1, void *const a2) { char v2; // bl char v3; // di _QWORD *v4; // rax if ( !_scrt_initialize_crt(0) ) return 0; v2 = _scrt_acquire_startup_lock(); v3 = 1; if ( dword_1801AC6B8 ) { _scrt_fastfail(7); __debugbreak(); JUMPOUT(0x1800DFE42LL); } dword_1801AC6B8 = 1; if ( _scrt_dllmain_before_initialize_c() ) { sub_1800E0468(); sub_1800DF73C(); _scrt_initialize_default_local_stdio_options(); if ( !initterm_e((_PIFV *)&First, (_PIFV *)&Last) ) { if ( _scrt_dllmain_after_initialize_c() ) { initterm((_PVFV *)&qword_1800E51D0, (_PVFV *)&qword_1800E5348); dword_1801AC6B8 = 2; v3 = 0; } } } _scrt_release_startup_lock(v2); if ( v3 ) return 0; v4 = (_QWORD *)sub_1800E0460(); if ( *v4 ) { if ( _scrt_is_nonwritable_in_current_image((__int64)v4) ) _guard_dispatch_icall_fptr(); } ++dword_1801AC704; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source