{"type": "func", "start": 6443130544, "end": 6443130633, "name": "sub_1800A5EB0", "pseudocode": "// \n// sub_1800A5EB0 from 0x1800a5eb0 to 0x1800a5f09 (89 bytes)\n// \n// 2 xrefs:\n// > sub_1800A6260 @ 0x1800a6379\n// > <???> @ 0x1801fb7cc\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_1800A5EB0(__int64 a1, __int64 a2, unsigned int *a3)\n{\n  _QWORD *v3; // rax\n  int v7; // [rsp+38h] [rbp+10h] BYREF\n\n  v3 = *(_QWORD **)(a2 + 40);\n  v7 = 0;\n  if ( (*(int (__fastcall **)(_QWORD, int *))(*(_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_1800A5EB0 from 0x1800a5eb0 to 0x1800a5f09 (89 bytes)\n; \n; 2 xrefs:\n; > sub_1800A6260 @ 0x1800a6379\n; > <???> @ 0x1801fb7cc\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     [rsp+arg_0], rbx                                               ; +0x0, 0x1800a5eb0\npush    rdi                                                            ; +0x5, 0x1800a5eb5\nsub     rsp, 20h                                                       ; +0x6, 0x1800a5eb6\nmov     rax, [rdx+28h]                                                 ; +0xa, 0x1800a5eba\nmov     rbx, rdx                                                       ; +0xe, 0x1800a5ebe\nmov     [rsp+28h+arg_8], 0                                             ; +0x11, 0x1800a5ec1\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x19, 0x1800a5ec9\nmov     rdi, r8                                                        ; +0x1e, 0x1800a5ece\nmov     rcx, [rax]                                                     ; +0x21, 0x1800a5ed1\nmov     rax, [rcx]                                                     ; +0x24, 0x1800a5ed4\ncall    qword ptr [rax+30h]                                            ; +0x27, 0x1800a5ed7\ntest    eax, eax                                                       ; +0x2a, 0x1800a5eda\njns     short loc_1800A5EEE                                            ; +0x2c, 0x1800a5edc\nmov     eax, 31h ; '1'                                                 ; +0x2e, 0x1800a5ede\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x33, 0x1800a5ee3\nadd     rsp, 20h                                                       ; +0x38, 0x1800a5ee8\npop     rdi                                                            ; +0x3c, 0x1800a5eec\nretn                                                                   ; +0x3d, 0x1800a5eed\nmov     eax, [rbx+14h]                                                 ; +0x3e, 0x1800a5eee\nxor     edx, edx                                                       ; +0x41, 0x1800a5ef1\nadd     eax, [rsp+28h+arg_8]                                           ; +0x43, 0x1800a5ef3\ndiv     dword ptr [rbx+24h]                                            ; +0x47, 0x1800a5ef7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4a, 0x1800a5efa\nxor     eax, eax                                                       ; +0x4f, 0x1800a5eff\nmov     [rdi], edx                                                     ; +0x51, 0x1800a5f01\nadd     rsp, 20h                                                       ; +0x53, 0x1800a5f03\npop     rdi                                                            ; +0x57, 0x1800a5f07\nretn                                                                   ; +0x58, 0x1800a5f08", "xrefs": ["sub_1800A6260 @ 0x1800a6379", "<???> @ 0x1801fb7cc"], "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"}