// // __acrt_get_windowing_model_policy from 0x180138e84 to 0x180138ef0 (108 bytes) // // 4 xrefs: // > __acrt_can_show_message_box @ 0x180135d40 // > unknown_libname_70 @ 0x180139373 // > @ 0x180203740 // > @ 0x18020374c // // 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 // __int64 _acrt_get_windowing_model_policy() { unsigned __int32 v0; // ebx int v2; // [rsp+30h] [rbp+8h] BYREF v0 = dword_1801F5590; if ( !dword_1801F5590 ) { v0 = 2; v2 = 2; if ( (NtCurrentPeb()->ProcessParameters->Flags & 0x80000000) == 0 ) _acrt_AppPolicyGetWindowingModelInternal((__int64)&v2); if ( v2 != 1 ) { if ( v2 == 2 ) { v0 = 1; } else if ( v2 == 3 ) { v0 = 3; } else { v0 = 4; } } _InterlockedExchange(&dword_1801F5590, v0); } return v0; }