{"type": "func", "start": 6443268912, "end": 6443268955, "name": "sub_1800C7B30", "pseudocode": "// \n// sub_1800C7B30 from 0x1800c7b30 to 0x1800c7b5b (43 bytes)\n// \n// 4 xrefs:\n// > sub_1800C8E40 @ 0x1800c8e49\n// > sub_1800C9DD0 @ 0x1800c9e06\n// > <???> @ 0x18016bb40\n// > <???> @ 0x18016bc20\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:06 +0000\n// \n\n__int64 __fastcall sub_1800C7B30(__int64 a1, unsigned int a2, int a3)\n{\n  __int64 v3; // rax\n  unsigned int v4; // r9d\n\n  v3 = *(_QWORD *)(a1 + 40);\n  if ( !v3 )\n    return 31;\n  v4 = *(_DWORD *)(v3 + 68);\n  if ( a2 >= v4 || a2 + a3 > v4 )\n    return 31;\n  *(_DWORD *)(a1 + 88) = a2;\n  *(_DWORD *)(a1 + 92) = a3;\n  return 0;\n}", "assembly": "; \n; sub_1800C7B30 from 0x1800c7b30 to 0x1800c7b5b (43 bytes)\n; \n; 4 xrefs:\n; > sub_1800C8E40 @ 0x1800c8e49\n; > sub_1800C9DD0 @ 0x1800c9e06\n; > <???> @ 0x18016bb40\n; > <???> @ 0x18016bc20\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:06 +0000\n; \nmov     rax, [rcx+28h]                                                 ; +0x0, 0x1800c7b30\ntest    rax, rax                                                       ; +0x4, 0x1800c7b34\njz      short loc_1800C7B55                                            ; +0x7, 0x1800c7b37\nmov     r9d, [rax+44h]                                                 ; +0x9, 0x1800c7b39\ncmp     edx, r9d                                                       ; +0xd, 0x1800c7b3d\njnb     short loc_1800C7B55                                            ; +0x10, 0x1800c7b40\nlea     eax, [rdx+r8]                                                  ; +0x12, 0x1800c7b42\ncmp     eax, r9d                                                       ; +0x16, 0x1800c7b46\nja      short loc_1800C7B55                                            ; +0x19, 0x1800c7b49\nmov     [rcx+58h], edx                                                 ; +0x1b, 0x1800c7b4b\nxor     eax, eax                                                       ; +0x1e, 0x1800c7b4e\nmov     [rcx+5Ch], r8d                                                 ; +0x20, 0x1800c7b50\nretn                                                                   ; +0x24, 0x1800c7b54\nmov     eax, 1Fh                                                       ; +0x25, 0x1800c7b55\nretn                                                                   ; +0x2a, 0x1800c7b5a", "xrefs": ["sub_1800C8E40 @ 0x1800c8e49", "sub_1800C9DD0 @ 0x1800c9e06", "<???> @ 0x18016bb40", "<???> @ 0x18016bc20"], "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"}