{"type": "func", "start": 6443204336, "end": 6443204426, "name": "sub_1800B7EF0", "pseudocode": "// \n// sub_1800B7EF0 from 0x1800b7ef0 to 0x1800b7f4a (90 bytes)\n// \n// 5 xrefs:\n// > sub_1800B4680 @ 0x1800b4ab2\n// > sub_1800B4680 @ 0x1800b4af6\n// > sub_1800DBAC0 @ 0x1800dbaf1\n// > sub_1800DBAC0 @ 0x1800dbb18\n// > sub_1800FE610 @ 0x1800fe9e8\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__int64 __fastcall sub_1800B7EF0(char *a1, char *a2)\n{\n  char v4; // r9\n  char v5; // r8\n  char v6; // al\n  char v7; // r9\n\n  do\n  {\n    v4 = *a1++;\n    v5 = *a2++;\n    v6 = v4 + 32;\n    if ( (unsigned __int8)(v4 - 65) > 0x19u )\n      v6 = v4;\n    v7 = v5 + 32;\n    if ( (unsigned __int8)(v5 - 65) > 0x19u )\n      v7 = *(a2 - 1);\n  }\n  while ( v6 && v6 == v7 );\n  return (unsigned int)(v6 - v7);\n}", "assembly": "; \n; sub_1800B7EF0 from 0x1800b7ef0 to 0x1800b7f4a (90 bytes)\n; \n; 5 xrefs:\n; > sub_1800B4680 @ 0x1800b4ab2\n; > sub_1800B4680 @ 0x1800b4af6\n; > sub_1800DBAC0 @ 0x1800dbaf1\n; > sub_1800DBAC0 @ 0x1800dbb18\n; > sub_1800FE610 @ 0x1800fe9e8\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     r10, rdx                                                       ; +0x0, 0x1800b7ef0\nmov     r11, rcx                                                       ; +0x3, 0x1800b7ef3\nnop     word ptr [rax+rax+00000000h]                                   ; +0x6, 0x1800b7ef6\nmovzx   r9d, byte ptr [r11]                                            ; +0x10, 0x1800b7f00\nlea     r11, [r11+1]                                                   ; +0x14, 0x1800b7f04\nlea     r10, [r10+1]                                                   ; +0x18, 0x1800b7f08\nlea     r8d, [r9-41h]                                                  ; +0x1c, 0x1800b7f0c\ncmp     r8b, 19h                                                       ; +0x20, 0x1800b7f10\nlea     eax, [r9+20h]                                                  ; +0x24, 0x1800b7f14\nmovzx   r8d, byte ptr [r10-1]                                          ; +0x28, 0x1800b7f18\nmovzx   eax, al                                                        ; +0x2d, 0x1800b7f1d\ncmova   eax, r9d                                                       ; +0x30, 0x1800b7f20\nlea     edx, [r8-41h]                                                  ; +0x34, 0x1800b7f24\ncmp     dl, 19h                                                        ; +0x38, 0x1800b7f28\nlea     ecx, [r8+20h]                                                  ; +0x3b, 0x1800b7f2b\nmovzx   r9d, cl                                                        ; +0x3f, 0x1800b7f2f\ncmova   r9d, r8d                                                       ; +0x43, 0x1800b7f33\ntest    al, al                                                         ; +0x47, 0x1800b7f37\njz      short loc_1800B7F40                                            ; +0x49, 0x1800b7f39\ncmp     al, r9b                                                        ; +0x4b, 0x1800b7f3b\njz      short loc_1800B7F00                                            ; +0x4e, 0x1800b7f3e\nmovsx   ecx, r9b                                                       ; +0x50, 0x1800b7f40\nmovsx   eax, al                                                        ; +0x54, 0x1800b7f44\nsub     eax, ecx                                                       ; +0x57, 0x1800b7f47\nretn                                                                   ; +0x59, 0x1800b7f49", "xrefs": ["sub_1800B4680 @ 0x1800b4ab2", "sub_1800B4680 @ 0x1800b4af6", "sub_1800DBAC0 @ 0x1800dbaf1", "sub_1800DBAC0 @ 0x1800dbb18", "sub_1800FE610 @ 0x1800fe9e8"], "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"}