// // _set_error_mode from 0x180139058 to 0x180139098 (64 bytes) // // 3 xrefs: // > _wassert @ 0x180131577 // > @ 0x180203770 // > @ 0x18020377c // // 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:55:01 +0000 // int __cdecl set_error_mode(int Mode) { int result; // eax if ( Mode >= 0 ) { if ( Mode <= 2 ) { result = dword_1801F5598; dword_1801F5598 = Mode; return result; } if ( Mode == 3 ) return dword_1801F5598; } *errno() = 22; invalid_parameter_noinfo(); return -1; }