{"type": "func", "start": 6443719988, "end": 6443720097, "name": "__acrt_can_show_message_box", "pseudocode": "// \n// __acrt_can_show_message_box from 0x180135d34 to 0x180135da1 (109 bytes)\n// \n// 2 xrefs:\n// > unknown_libname_70 @ 0x18013938e\n// > <???> @ 0x180203464\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool _acrt_can_show_message_box()\n{\n  char v0; // bl\n\n  v0 = 0;\n  if ( (unsigned int)_acrt_get_windowing_model_policy() == 1\n    && try_get_function(0x18u, \"MessageBoxA\", (unsigned int *)\"\\r\", (unsigned int *)\"MessageBoxA\") )\n  {\n    return try_get_function(0x19u, \"MessageBoxW\", (unsigned int *)\"\\r\", (unsigned int *)\"MessageBoxW\") != nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; __acrt_can_show_message_box from 0x180135d34 to 0x180135da1 (109 bytes)\n; \n; 2 xrefs:\n; > unknown_libname_70 @ 0x18013938e\n; > <???> @ 0x180203464\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180135d34\npush    rdi                                                            ; +0x5, 0x180135d39\nsub     rsp, 20h                                                       ; +0x6, 0x180135d3a\nxor     ebx, ebx                                                       ; +0xa, 0x180135d3e\ncall    __acrt_get_windowing_model_policy                              ; +0xc, 0x180135d40\nlea     edi, [rbx+1]                                                   ; +0x11, 0x180135d45\ncmp     eax, edi                                                       ; +0x14, 0x180135d48\njnz     short loc_180135D94                                            ; +0x16, 0x180135d4a\nlea     r9, aMessageboxa                                               ; +0x18, 0x180135d4c\nlea     r8, asc_180174A98                                              ; +0x1f, 0x180135d53\nlea     rdx, aMessageboxa                                              ; +0x26, 0x180135d5a\nlea     ecx, [rbx+18h]                                                 ; +0x2d, 0x180135d61\ncall    ?try_get_function@@YAPEAXW4function_id@?A0x37284e77@@QEBDQEBW4module_id@2@2@Z ; +0x30, 0x180135d64\ntest    rax, rax                                                       ; +0x35, 0x180135d69\njz      short loc_180135D94                                            ; +0x38, 0x180135d6c\nlea     r9, aMessageboxw                                               ; +0x3a, 0x180135d6e\nlea     r8, asc_180174AB0                                              ; +0x41, 0x180135d75\nlea     rdx, aMessageboxw                                              ; +0x48, 0x180135d7c\nlea     ecx, [rbx+19h]                                                 ; +0x4f, 0x180135d83\ncall    ?try_get_function@@YAPEAXW4function_id@?A0x37284e77@@QEBDQEBW4module_id@2@2@Z ; +0x52, 0x180135d86\ntest    rax, rax                                                       ; +0x57, 0x180135d8b\nmovzx   ebx, bl                                                        ; +0x5a, 0x180135d8e\ncmovnz  ebx, edi                                                       ; +0x5d, 0x180135d91\nmov     al, bl                                                         ; +0x60, 0x180135d94\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x62, 0x180135d96\nadd     rsp, 20h                                                       ; +0x67, 0x180135d9b\npop     rdi                                                            ; +0x6b, 0x180135d9f\nretn                                                                   ; +0x6c, 0x180135da0", "xrefs": ["unknown_libname_70 @ 0x18013938e", "<???> @ 0x180203464"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}