{"type": "func", "start": 6443010032, "end": 6443010086, "name": "sub_1800887F0", "pseudocode": "// \n// sub_1800887F0 from 0x1800887f0 to 0x180088826 (54 bytes)\n// \n// 5 xrefs:\n// > sub_1800886A0 @ 0x1800886f7\n// > sub_1800DAEB0 @ 0x1800daf2e\n// > sub_180113B70 @ 0x180113bee\n// > sub_180113CC0 @ 0x180113d3e\n// > <???> @ 0x1801fa38c\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_1800887F0(__int64 a1, int a2)\n{\n  __int64 result; // rax\n\n  if ( a2 <= (int)abs32(*(_DWORD *)(a1 + 12)) || (result = sub_1800884B0((_QWORD *)a1, a2), !(_DWORD)result) )\n  {\n    *(_DWORD *)(a1 + 8) = a2;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800887F0 from 0x1800887f0 to 0x180088826 (54 bytes)\n; \n; 5 xrefs:\n; > sub_1800886A0 @ 0x1800886f7\n; > sub_1800DAEB0 @ 0x1800daf2e\n; > sub_180113B70 @ 0x180113bee\n; > sub_180113CC0 @ 0x180113d3e\n; > <???> @ 0x1801fa38c\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, 0x1800887f0\npush    rdi                                                            ; +0x5, 0x1800887f5\nsub     rsp, 20h                                                       ; +0x6, 0x1800887f6\nmov     eax, [rcx+0Ch]                                                 ; +0xa, 0x1800887fa\nmov     ebx, edx                                                       ; +0xd, 0x1800887fd\ncdq                                                                    ; +0xf, 0x1800887ff\nmov     rdi, rcx                                                       ; +0x10, 0x180088800\nxor     eax, edx                                                       ; +0x13, 0x180088803\nsub     eax, edx                                                       ; +0x15, 0x180088805\ncmp     ebx, eax                                                       ; +0x17, 0x180088807\njle     short loc_180088816                                            ; +0x19, 0x180088809\nmov     edx, ebx                                                       ; +0x1b, 0x18008880b\ncall    sub_1800884B0                                                  ; +0x1d, 0x18008880d\ntest    eax, eax                                                       ; +0x22, 0x180088812\njnz     short loc_18008881B                                            ; +0x24, 0x180088814\nmov     [rdi+8], ebx                                                   ; +0x26, 0x180088816\nxor     eax, eax                                                       ; +0x29, 0x180088819\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2b, 0x18008881b\nadd     rsp, 20h                                                       ; +0x30, 0x180088820\npop     rdi                                                            ; +0x34, 0x180088824\nretn                                                                   ; +0x35, 0x180088825", "xrefs": ["sub_1800886A0 @ 0x1800886f7", "sub_1800DAEB0 @ 0x1800daf2e", "sub_180113B70 @ 0x180113bee", "sub_180113CC0 @ 0x180113d3e", "<???> @ 0x1801fa38c"], "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"}