{"type": "func", "start": 6443255632, "end": 6443255726, "name": "sub_1800C4750", "pseudocode": "// \n// sub_1800C4750 from 0x1800c4750 to 0x1800c47ae (94 bytes)\n// \n// 2 xrefs:\n// > sub_1800C3960 @ 0x1800c3a00\n// > <???> @ 0x1801fde6c\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:04 +0000\n// \n\n__int64 __fastcall sub_1800C4750(__int64 a1, __int64 a2, unsigned int *a3)\n{\n  _QWORD *v3; // rax\n  __int64 v7; // [rsp+30h] [rbp+8h] BYREF\n\n  v7 = a1;\n  v3 = *(_QWORD **)(a2 + 40);\n  LODWORD(v7) = 0;\n  if ( (*(int (__fastcall **)(_QWORD, __int64 *))(*(_QWORD *)*v3 + 48LL))(*v3, &v7) < 0 )\n    return 49;\n  *a3 = (unsigned int)(v7 + *(_DWORD *)(a2 + 20)) % *(_DWORD *)(a2 + 36);\n  return 0;\n}", "assembly": "; \n; sub_1800C4750 from 0x1800c4750 to 0x1800c47ae (94 bytes)\n; \n; 2 xrefs:\n; > sub_1800C3960 @ 0x1800c3a00\n; > <???> @ 0x1801fde6c\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:04 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800c4750\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x1800c4755\npush    rdi                                                            ; +0xa, 0x1800c475a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c475b\nmov     rax, [rdx+28h]                                                 ; +0xf, 0x1800c475f\nmov     rbx, rdx                                                       ; +0x13, 0x1800c4763\nmov     dword ptr [rsp+28h+arg_0], 0                                   ; +0x16, 0x1800c4766\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x1e, 0x1800c476e\nmov     rdi, r8                                                        ; +0x23, 0x1800c4773\nmov     rcx, [rax]                                                     ; +0x26, 0x1800c4776\nmov     rax, [rcx]                                                     ; +0x29, 0x1800c4779\ncall    qword ptr [rax+30h]                                            ; +0x2c, 0x1800c477c\ntest    eax, eax                                                       ; +0x2f, 0x1800c477f\njns     short loc_1800C4793                                            ; +0x31, 0x1800c4781\nmov     eax, 31h ; '1'                                                 ; +0x33, 0x1800c4783\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x38, 0x1800c4788\nadd     rsp, 20h                                                       ; +0x3d, 0x1800c478d\npop     rdi                                                            ; +0x41, 0x1800c4791\nretn                                                                   ; +0x42, 0x1800c4792\nmov     eax, [rbx+14h]                                                 ; +0x43, 0x1800c4793\nxor     edx, edx                                                       ; +0x46, 0x1800c4796\nadd     eax, dword ptr [rsp+28h+arg_0]                                 ; +0x48, 0x1800c4798\ndiv     dword ptr [rbx+24h]                                            ; +0x4c, 0x1800c479c\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x4f, 0x1800c479f\nxor     eax, eax                                                       ; +0x54, 0x1800c47a4\nmov     [rdi], edx                                                     ; +0x56, 0x1800c47a6\nadd     rsp, 20h                                                       ; +0x58, 0x1800c47a8\npop     rdi                                                            ; +0x5c, 0x1800c47ac\nretn                                                                   ; +0x5d, 0x1800c47ad", "xrefs": ["sub_1800C3960 @ 0x1800c3a00", "<???> @ 0x1801fde6c"], "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"}