{"type": "func", "start": 6443733816, "end": 6443733980, "name": "unknown_libname_70", "pseudocode": "// \n// unknown_libname_70 from 0x180139338 to 0x1801393dc (164 bytes)\n// \n// 2 xrefs:\n// > common_assert_to_message_box<wchar_t> @ 0x180130e7f\n// > <???> @ 0x1802037ac\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\n// Microsoft VisualC 64bit universal runtime\n__int64 __fastcall unknown_libname_70(LPCWSTR lpOutputString, __int64 a2, unsigned int a3)\n{\n  BOOL v6; // eax\n  bool v7; // si\n  __int64 parent_window; // rcx\n\n  v6 = IsDebuggerPresent();\n  v7 = v6;\n  if ( v6 )\n  {\n    if ( lpOutputString )\n      OutputDebugStringW(lpOutputString);\n    if ( (unsigned int)_acrt_get_windowing_model_policy() != 1 )\n      return 4;\n  }\n  if ( (unsigned int)_acrt_get_developer_information_policy() != 2 || !_acrt_can_show_message_box() )\n    return (unsigned int)v7 + 3;\n  if ( _acrt_is_interactive() )\n  {\n    parent_window = _acrt_get_parent_window();\n  }\n  else\n  {\n    a3 |= 0x200000u;\n    parent_window = 0;\n  }\n  return _acrt_MessageBoxW(parent_window, (__int64)lpOutputString, a2, a3);\n}", "assembly": "; \n; unknown_libname_70 from 0x180139338 to 0x1801393dc (164 bytes)\n; \n; 2 xrefs:\n; > common_assert_to_message_box<wchar_t> @ 0x180130e7f\n; > <???> @ 0x1802037ac\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, 0x180139338\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18013933d\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180139342\npush    rdi                                                            ; +0xf, 0x180139347\nsub     rsp, 20h                                                       ; +0x10, 0x180139348\nmov     edi, r8d                                                       ; +0x14, 0x18013934c\nmov     rbp, rdx                                                       ; +0x17, 0x18013934f\nmov     rbx, rcx                                                       ; +0x1a, 0x180139352\ncall    cs:IsDebuggerPresent                                           ; +0x1d, 0x180139355\ntest    eax, eax                                                       ; +0x23, 0x18013935b\nsetnz   sil                                                            ; +0x25, 0x18013935d\ntest    eax, eax                                                       ; +0x29, 0x180139361\njz      short loc_180139384                                            ; +0x2b, 0x180139363\ntest    rbx, rbx                                                       ; +0x2d, 0x180139365\njz      short loc_180139373                                            ; +0x30, 0x180139368\nmov     rcx, rbx; lpOutputString                                       ; +0x32, 0x18013936a\ncall    cs:OutputDebugStringW                                          ; +0x35, 0x18013936d\ncall    __acrt_get_windowing_model_policy                              ; +0x3b, 0x180139373\ncmp     eax, 1                                                         ; +0x40, 0x180139378\njz      short loc_180139384                                            ; +0x43, 0x18013937b\nmov     eax, 4                                                         ; +0x45, 0x18013937d\njmp     short loc_1801393C7                                            ; +0x4a, 0x180139382\ncall    __acrt_get_developer_information_policy                        ; +0x4c, 0x180139384\ncmp     eax, 2                                                         ; +0x51, 0x180139389\njnz     short loc_1801393C0                                            ; +0x54, 0x18013938c\ncall    __acrt_can_show_message_box                                    ; +0x56, 0x18013938e\ntest    al, al                                                         ; +0x5b, 0x180139393\njz      short loc_1801393C0                                            ; +0x5d, 0x180139395\ncall    __acrt_is_interactive                                          ; +0x5f, 0x180139397\ntest    al, al                                                         ; +0x64, 0x18013939c\njnz     short loc_1801393B6                                            ; +0x66, 0x18013939e\nbts     edi, 15h                                                       ; +0x68, 0x1801393a0\nxor     ecx, ecx                                                       ; +0x6c, 0x1801393a4\nmov     rdx, rbx                                                       ; +0x6e, 0x1801393a6\nmov     r8, rbp                                                        ; +0x71, 0x1801393a9\nmov     r9d, edi                                                       ; +0x74, 0x1801393ac\ncall    __acrt_MessageBoxW                                             ; +0x77, 0x1801393af\njmp     short loc_1801393C7                                            ; +0x7c, 0x1801393b4\ncall    __acrt_get_parent_window                                       ; +0x7e, 0x1801393b6\nmov     rcx, rax                                                       ; +0x83, 0x1801393bb\njmp     short loc_1801393A6                                            ; +0x86, 0x1801393be\nmovzx   eax, sil                                                       ; +0x88, 0x1801393c0\nadd     eax, 3                                                         ; +0x8c, 0x1801393c4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8f, 0x1801393c7\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x94, 0x1801393cc\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x99, 0x1801393d1\nadd     rsp, 20h                                                       ; +0x9e, 0x1801393d6\npop     rdi                                                            ; +0xa2, 0x1801393da\nretn                                                                   ; +0xa3, 0x1801393db", "xrefs": ["common_assert_to_message_box<wchar_t> @ 0x180130e7f", "<???> @ 0x1802037ac"], "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"}