{"type": "func", "start": 6443188912, "end": 6443188957, "name": "sub_1800B42B0", "pseudocode": "// \n// sub_1800B42B0 from 0x1800b42b0 to 0x1800b42dd (45 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x180167148\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_1800B42B0(__int64 a1, _QWORD *a2, int a3)\n{\n  __int64 v3; // r9\n\n  v3 = *(unsigned int *)(a1 + 496);\n  if ( (unsigned int)(v3 + a3) > *(_DWORD *)(a1 + 36) )\n    return 16;\n  *a2 = *(_QWORD *)(a1 + 504) + v3;\n  *(_DWORD *)(a1 + 496) += a3;\n  return 0;\n}", "assembly": "; \n; sub_1800B42B0 from 0x1800b42b0 to 0x1800b42dd (45 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x180167148\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     r9d, [rcx+1F0h]                                                ; +0x0, 0x1800b42b0\nlea     eax, [r9+r8]                                                   ; +0x7, 0x1800b42b7\ncmp     eax, [rcx+24h]                                                 ; +0xb, 0x1800b42bb\njbe     short loc_1800B42C6                                            ; +0xe, 0x1800b42be\nmov     eax, 10h                                                       ; +0x10, 0x1800b42c0\nretn                                                                   ; +0x15, 0x1800b42c5\nmov     rax, r9                                                        ; +0x16, 0x1800b42c6\nadd     rax, [rcx+1F8h]                                                ; +0x19, 0x1800b42c9\nmov     [rdx], rax                                                     ; +0x20, 0x1800b42d0\nxor     eax, eax                                                       ; +0x23, 0x1800b42d3\nadd     [rcx+1F0h], r8d                                                ; +0x25, 0x1800b42d5\nretn                                                                   ; +0x2c, 0x1800b42dc", "xrefs": ["<???> @ 0x180167148"], "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"}