{"type": "func", "start": 6443205328, "end": 6443205371, "name": "sub_1800B82D0", "pseudocode": "// \n// sub_1800B82D0 from 0x1800b82d0 to 0x1800b82fb (43 bytes)\n// \n// 4 xrefs:\n// > sub_1800A4BC0 @ 0x1800a4e47\n// > sub_1800A5A00 @ 0x1800a5b5e\n// > sub_1800C36A0 @ 0x1800c38bd\n// > sub_1800C43E0 @ 0x1800c458e\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:53:59 +0000\n// \n\n__int64 __fastcall sub_1800B82D0(__int64 a1, __int16 *a2)\n{\n  __int64 v2; // rcx\n  int v3; // eax\n  int v4; // r8d\n\n  v2 = a1 - (_QWORD)a2;\n  do\n  {\n    v3 = *(__int16 *)((char *)a2 + v2);\n    v4 = *a2++;\n  }\n  while ( (_WORD)v3 && (_WORD)v3 == (_WORD)v4 );\n  return (unsigned int)(v3 - v4);\n}", "assembly": "; \n; sub_1800B82D0 from 0x1800b82d0 to 0x1800b82fb (43 bytes)\n; \n; 4 xrefs:\n; > sub_1800A4BC0 @ 0x1800a4e47\n; > sub_1800A5A00 @ 0x1800a5b5e\n; > sub_1800C36A0 @ 0x1800c38bd\n; > sub_1800C43E0 @ 0x1800c458e\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:53:59 +0000\n; \nsub     rcx, rdx                                                       ; +0x0, 0x1800b82d0\nnop     dword ptr [rax+00h]                                            ; +0x3, 0x1800b82d3\nnop     word ptr [rax+rax+00000000h]                                   ; +0x7, 0x1800b82d7\nmovsx   eax, word ptr [rcx+rdx]                                        ; +0x10, 0x1800b82e0\nmovsx   r8d, word ptr [rdx]                                            ; +0x14, 0x1800b82e4\nlea     rdx, [rdx+2]                                                   ; +0x18, 0x1800b82e8\ntest    ax, ax                                                         ; +0x1c, 0x1800b82ec\njz      short loc_1800B82F7                                            ; +0x1f, 0x1800b82ef\ncmp     ax, r8w                                                        ; +0x21, 0x1800b82f1\njz      short loc_1800B82E0                                            ; +0x25, 0x1800b82f5\nsub     eax, r8d                                                       ; +0x27, 0x1800b82f7\nretn                                                                   ; +0x2a, 0x1800b82fa", "xrefs": ["sub_1800A4BC0 @ 0x1800a4e47", "sub_1800A5A00 @ 0x1800a5b5e", "sub_1800C36A0 @ 0x1800c38bd", "sub_1800C43E0 @ 0x1800c458e"], "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"}