{"type": "func", "start": 6443687052, "end": 6443687173, "name": "unknown_libname_42", "pseudocode": "// \n// unknown_libname_42 from 0x18012dc8c to 0x18012dd05 (121 bytes)\n// \n// 2 xrefs:\n// > sub_18012D5FC @ 0x18012d695\n// > <???> @ 0x180202c84\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:54:57 +0000\n// \n\n// Microsoft VisualC 64bit universal runtime\nchar __fastcall unknown_libname_42(__int64 a1)\n{\n  unsigned __int16 *v2; // rdi\n  __int64 v3; // rsi\n  char is_wide_character; // al\n  unsigned int v5; // ecx\n\n  *(_QWORD *)(a1 + 32) += 8LL;\n  v2 = *(unsigned __int16 **)(*(_QWORD *)(a1 + 32) - 8LL);\n  if ( !v2 || (v3 = *((_QWORD *)v2 + 1)) == 0 )\n  {\n    *(_QWORD *)(a1 + 72) = \"(null)\";\n    v5 = 6;\n    goto LABEL_6;\n  }\n  is_wide_character = __crt_stdio_output::is_wide_character_specifier<wchar_t>(\n                        *(_QWORD *)a1,\n                        *(_WORD *)(a1 + 66),\n                        *(_DWORD *)(a1 + 60));\n  *(_QWORD *)(a1 + 72) = v3;\n  v5 = *v2;\n  if ( !is_wide_character )\n  {\nLABEL_6:\n    *(_BYTE *)(a1 + 84) = 0;\n    goto LABEL_7;\n  }\n  *(_BYTE *)(a1 + 84) = 1;\n  v5 >>= 1;\nLABEL_7:\n  *(_DWORD *)(a1 + 80) = v5;\n  return 1;\n}", "assembly": "; \n; unknown_libname_42 from 0x18012dc8c to 0x18012dd05 (121 bytes)\n; \n; 2 xrefs:\n; > sub_18012D5FC @ 0x18012d695\n; > <???> @ 0x180202c84\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:54:57 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18012dc8c\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18012dc91\npush    rdi                                                            ; +0xa, 0x18012dc96\nsub     rsp, 20h                                                       ; +0xb, 0x18012dc97\nadd     qword ptr [rcx+20h], 8                                         ; +0xf, 0x18012dc9b\nmov     rbx, rcx                                                       ; +0x14, 0x18012dca0\nmov     rax, [rcx+20h]                                                 ; +0x17, 0x18012dca3\nmov     rdi, [rax-8]                                                   ; +0x1b, 0x18012dca7\ntest    rdi, rdi                                                       ; +0x1f, 0x18012dcab\njz      short loc_18012DCDC                                            ; +0x22, 0x18012dcae\nmov     rsi, [rdi+8]                                                   ; +0x24, 0x18012dcb0\ntest    rsi, rsi                                                       ; +0x28, 0x18012dcb4\njz      short loc_18012DCDC                                            ; +0x2b, 0x18012dcb7\nmov     r8d, [rcx+3Ch]                                                 ; +0x2d, 0x18012dcb9\nmovzx   edx, word ptr [rcx+42h]                                        ; +0x31, 0x18012dcbd\nmov     rcx, [rcx]                                                     ; +0x35, 0x18012dcc1\ncall    ??$is_wide_character_specifier@_W@__crt_stdio_output@@YA_N_K_WW4length_modifier@0@@Z ; +0x38, 0x18012dcc4\nmov     [rbx+48h], rsi                                                 ; +0x3d, 0x18012dcc9\nmovzx   ecx, word ptr [rdi]                                            ; +0x41, 0x18012dccd\ntest    al, al                                                         ; +0x44, 0x18012dcd0\njz      short loc_18012DCEC                                            ; +0x46, 0x18012dcd2\nmov     byte ptr [rbx+54h], 1                                          ; +0x48, 0x18012dcd4\nshr     ecx, 1                                                         ; +0x4c, 0x18012dcd8\njmp     short loc_18012DCF0                                            ; +0x4e, 0x18012dcda\nlea     rcx, String                                                    ; +0x50, 0x18012dcdc\nmov     [rbx+48h], rcx                                                 ; +0x57, 0x18012dce3\nmov     ecx, 6                                                         ; +0x5b, 0x18012dce7\nmov     byte ptr [rbx+54h], 0                                          ; +0x60, 0x18012dcec\nmov     [rbx+50h], ecx                                                 ; +0x64, 0x18012dcf0\nmov     al, 1                                                          ; +0x67, 0x18012dcf3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x69, 0x18012dcf5\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6e, 0x18012dcfa\nadd     rsp, 20h                                                       ; +0x73, 0x18012dcff\npop     rdi                                                            ; +0x77, 0x18012dd03\nretn                                                                   ; +0x78, 0x18012dd04", "xrefs": ["sub_18012D5FC @ 0x18012d695", "<???> @ 0x180202c84"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}