//
// __acrt_can_show_message_box from 0x180135d34 to 0x180135da1 (109 bytes)
//
// 2 xrefs:
// > unknown_libname_70 @ 0x18013938e
// > ??> @ 0x180203464
//
// 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
//
bool _acrt_can_show_message_box()
{
char v0; // bl
v0 = 0;
if ( (unsigned int)_acrt_get_windowing_model_policy() == 1
&& try_get_function(0x18u, "MessageBoxA", (unsigned int *)"\r", (unsigned int *)"MessageBoxA") )
{
return try_get_function(0x19u, "MessageBoxW", (unsigned int *)"\r", (unsigned int *)"MessageBoxW") != nullptr;
}
return v0;
}