{"type": "func", "start": 6443130400, "end": 6443130540, "name": "sub_1800A5E20", "pseudocode": "// \n// sub_1800A5E20 from 0x1800a5e20 to 0x1800a5eac (140 bytes)\n// \n// 2 xrefs:\n// > sub_1800A6260 @ 0x1800a6341\n// > <???> @ 0x1801fb7c0\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_1800A5E20(__int64 *a1, _DWORD *a2, _DWORD *a3)\n{\n  __int64 v3; // rsi\n  __int64 v7; // rbx\n  __int64 result; // rax\n  int v9; // [rsp+40h] [rbp+8h] BYREF\n\n  v3 = *a1;\n  v7 = *(_QWORD *)(*a1 + 712);\n  if ( !*(_DWORD *)(v7 + 8) || (v9 = 0, sub_1800C1770(&v9), (unsigned int)(v9 - *(_DWORD *)(v7 + 8)) <= 0x3E8) )\n  {\n    *a3 = 0;\n    goto LABEL_6;\n  }\n  *(_DWORD *)(v7 + 8) = 0;\n  *a3 = 1;\n  result = sub_1800A5A00(a1);\n  if ( !(_DWORD)result )\n  {\nLABEL_6:\n    *a2 = *(_DWORD *)(v3 + 720);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800A5E20 from 0x1800a5e20 to 0x1800a5eac (140 bytes)\n; \n; 2 xrefs:\n; > sub_1800A6260 @ 0x1800a6341\n; > <???> @ 0x1801fb7c0\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_8], rbx                                               ; +0x0, 0x1800a5e20\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800a5e25\npush    rdi                                                            ; +0xa, 0x1800a5e2a\npush    r14                                                            ; +0xb, 0x1800a5e2b\npush    r15                                                            ; +0xd, 0x1800a5e2d\nsub     rsp, 20h                                                       ; +0xf, 0x1800a5e2f\nmov     rsi, [rcx]                                                     ; +0x13, 0x1800a5e33\nmov     rdi, r8                                                        ; +0x16, 0x1800a5e36\nmov     r14, rdx                                                       ; +0x19, 0x1800a5e39\nmov     r15, rcx                                                       ; +0x1c, 0x1800a5e3c\nmov     rbx, [rsi+2C8h]                                                ; +0x1f, 0x1800a5e3f\ncmp     dword ptr [rbx+8], 0                                           ; +0x26, 0x1800a5e46\njz      short loc_1800A5E87                                            ; +0x2a, 0x1800a5e4a\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x2c, 0x1800a5e4c\nmov     [rsp+38h+arg_0], 0                                             ; +0x31, 0x1800a5e51\ncall    sub_1800C1770                                                  ; +0x39, 0x1800a5e59\nmov     eax, [rsp+38h+arg_0]                                           ; +0x3e, 0x1800a5e5e\nsub     eax, [rbx+8]                                                   ; +0x42, 0x1800a5e62\ncmp     eax, 3E8h                                                      ; +0x45, 0x1800a5e65\njbe     short loc_1800A5E87                                            ; +0x4a, 0x1800a5e6a\nmov     dword ptr [rbx+8], 0                                           ; +0x4c, 0x1800a5e6c\nmov     rcx, r15                                                       ; +0x53, 0x1800a5e73\nmov     dword ptr [rdi], 1                                             ; +0x56, 0x1800a5e76\ncall    sub_1800A5A00                                                  ; +0x5c, 0x1800a5e7c\ntest    eax, eax                                                       ; +0x61, 0x1800a5e81\njz      short loc_1800A5E8D                                            ; +0x63, 0x1800a5e83\njmp     short loc_1800A5E98                                            ; +0x65, 0x1800a5e85\nmov     dword ptr [rdi], 0                                             ; +0x67, 0x1800a5e87\nmov     eax, [rsi+2D0h]                                                ; +0x6d, 0x1800a5e8d\nmov     [r14], eax                                                     ; +0x73, 0x1800a5e93\nxor     eax, eax                                                       ; +0x76, 0x1800a5e96\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x78, 0x1800a5e98\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x7d, 0x1800a5e9d\nadd     rsp, 20h                                                       ; +0x82, 0x1800a5ea2\npop     r15                                                            ; +0x86, 0x1800a5ea6\npop     r14                                                            ; +0x88, 0x1800a5ea8\npop     rdi                                                            ; +0x8a, 0x1800a5eaa\nretn                                                                   ; +0x8b, 0x1800a5eab", "xrefs": ["sub_1800A6260 @ 0x1800a6341", "<???> @ 0x1801fb7c0"], "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"}