{"type": "func", "start": 6443739980, "end": 6443740097, "name": "x_ismbbtype_l", "pseudocode": "// \n// x_ismbbtype_l from 0x18013ab4c to 0x18013abc1 (117 bytes)\n// \n// 2 xrefs:\n// > _ismbblead @ 0x18013abd1\n// > <???> @ 0x18020389c\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:55:02 +0000\n// \n\n__int64 __fastcall x_ismbbtype_l(struct __crt_locale_pointers *a1, unsigned __int8 a2, int a3, unsigned __int8 a4)\n{\n  __int64 result; // rax\n  _QWORD v8[3]; // [rsp+20h] [rbp-28h] BYREF\n  char v9; // [rsp+38h] [rbp-10h]\n\n  _LocaleUpdate::_LocaleUpdate((_LocaleUpdate *)v8, a1);\n  if ( (a4 & *(_BYTE *)(a2 + v8[2] + 25LL)) != 0\n    || (!a3 ? (result = 0) : (result = (unsigned __int16)(a3 & *(_WORD *)(*(_QWORD *)v8[1] + 2LL * a2))), (_DWORD)result) )\n  {\n    result = 1;\n  }\n  if ( v9 )\n    *(_DWORD *)(v8[0] + 936LL) &= ~2u;\n  return result;\n}", "assembly": "; \n; x_ismbbtype_l from 0x18013ab4c to 0x18013abc1 (117 bytes)\n; \n; 2 xrefs:\n; > _ismbblead @ 0x18013abd1\n; > <???> @ 0x18020389c\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:55:02 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18013ab4c\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18013ab51\npush    rdi                                                            ; +0xa, 0x18013ab56\nsub     rsp, 40h                                                       ; +0xb, 0x18013ab57\nmov     ebx, edx                                                       ; +0xf, 0x18013ab5b\nmov     edi, r9d                                                       ; +0x11, 0x18013ab5d\nmov     rdx, rcx; struct __crt_locale_pointers *                       ; +0x14, 0x18013ab60\nmov     esi, r8d                                                       ; +0x17, 0x18013ab63\nlea     rcx, [rsp+48h+var_28]; this                                    ; +0x1a, 0x18013ab66\ncall    ??0_LocaleUpdate@@QEAA@QEAU__crt_locale_pointers@@@Z           ; +0x1f, 0x18013ab6b\nmov     rax, [rsp+48h+var_18]                                          ; +0x24, 0x18013ab70\nmovzx   edx, bl                                                        ; +0x29, 0x18013ab75\ntest    [rdx+rax+19h], dil                                             ; +0x2c, 0x18013ab78\njnz     short loc_18013AB99                                            ; +0x31, 0x18013ab7d\ntest    esi, esi                                                       ; +0x33, 0x18013ab7f\njz      short loc_18013AB93                                            ; +0x35, 0x18013ab81\nmov     rax, [rsp+48h+var_20]                                          ; +0x37, 0x18013ab83\nmov     rcx, [rax]                                                     ; +0x3c, 0x18013ab88\nmovzx   eax, word ptr [rcx+rdx*2]                                      ; +0x3f, 0x18013ab8b\nand     eax, esi                                                       ; +0x43, 0x18013ab8f\njmp     short loc_18013AB95                                            ; +0x45, 0x18013ab91\nxor     eax, eax                                                       ; +0x47, 0x18013ab93\ntest    eax, eax                                                       ; +0x49, 0x18013ab95\njz      short loc_18013AB9E                                            ; +0x4b, 0x18013ab97\nmov     eax, 1                                                         ; +0x4d, 0x18013ab99\ncmp     [rsp+48h+var_10], 0                                            ; +0x52, 0x18013ab9e\njz      short loc_18013ABB1                                            ; +0x57, 0x18013aba3\nmov     rcx, [rsp+48h+var_28]                                          ; +0x59, 0x18013aba5\nand     dword ptr [rcx+3A8h], 0FFFFFFFDh                               ; +0x5e, 0x18013abaa\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x65, 0x18013abb1\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x6a, 0x18013abb6\nadd     rsp, 40h                                                       ; +0x6f, 0x18013abbb\npop     rdi                                                            ; +0x73, 0x18013abbf\nretn                                                                   ; +0x74, 0x18013abc0", "xrefs": ["_ismbblead @ 0x18013abd1", "<???> @ 0x18020389c"], "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"}