{"type": "func", "start": 6443242832, "end": 6443242929, "name": "sub_1800C1550", "pseudocode": "// \n// sub_1800C1550 from 0x1800c1550 to 0x1800c15b1 (97 bytes)\n// \n// 3 xrefs:\n// > sub_1800BAFA0 @ 0x1800bafd0\n// > sub_1800BB6F0 @ 0x1800bb75d\n// > <???> @ 0x1801fdbe4\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_1800C1550(_DWORD *a1)\n{\n  char v1; // al\n  int v2; // edx\n  bool v3; // zf\n  _DWORD v5[6]; // [rsp+10h] [rbp-218h] BYREF\n  int v6; // [rsp+28h] [rbp-200h]\n  int v7; // [rsp+2Ch] [rbp-1FCh]\n\n  _fxsave(v5);\n  v1 = v7;\n  v2 = v6;\n  v3 = v7 == 0;\n  *a1 = v6;\n  if ( v3 )\n    v1 = -65;\n  if ( (v1 & 0x40) != 0 )\n    v2 |= 0x40u;\n  _mm_setcsr(v2 | 0x8800);\n  return 0;\n}", "assembly": "; \n; sub_1800C1550 from 0x1800c1550 to 0x1800c15b1 (97 bytes)\n; \n; 3 xrefs:\n; > sub_1800BAFA0 @ 0x1800bafd0\n; > sub_1800BB6F0 @ 0x1800bb75d\n; > <???> @ 0x1801fdbe4\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\nsub     rsp, 228h                                                      ; +0x0, 0x1800c1550\nmov     rax, cs:__security_cookie                                      ; +0x7, 0x1800c1557\nxor     rax, rsp                                                       ; +0xe, 0x1800c155e\nmov     [rsp+228h+var_18], rax                                         ; +0x11, 0x1800c1561\nfxsave  [rsp+228h+var_218]                                             ; +0x19, 0x1800c1569\nnop                                                                    ; +0x1e, 0x1800c156e\nmov     eax, [rsp+228h+var_1FC]                                        ; +0x1f, 0x1800c156f\nmov     edx, [rsp+228h+var_200]                                        ; +0x23, 0x1800c1573\ntest    eax, eax                                                       ; +0x27, 0x1800c1577\nmov     [rcx], edx                                                     ; +0x29, 0x1800c1579\nmov     ecx, 0FFBFh                                                    ; +0x2b, 0x1800c157b\ncmovz   eax, ecx                                                       ; +0x30, 0x1800c1580\ntest    al, 40h                                                        ; +0x33, 0x1800c1583\njz      short loc_1800C158A                                            ; +0x35, 0x1800c1585\nor      edx, 40h                                                       ; +0x37, 0x1800c1587\nor      edx, 8800h                                                     ; +0x3a, 0x1800c158a\nmov     [rsp+228h+var_228], edx                                        ; +0x40, 0x1800c1590\nxor     eax, eax                                                       ; +0x43, 0x1800c1593\nldmxcsr [rsp+228h+var_228]                                             ; +0x45, 0x1800c1595\nmov     rcx, [rsp+228h+var_18]                                         ; +0x49, 0x1800c1599\nxor     rcx, rsp; StackCookie                                          ; +0x51, 0x1800c15a1\ncall    __security_check_cookie                                        ; +0x54, 0x1800c15a4\nadd     rsp, 228h                                                      ; +0x59, 0x1800c15a9\nretn                                                                   ; +0x60, 0x1800c15b0", "xrefs": ["sub_1800BAFA0 @ 0x1800bafd0", "sub_1800BB6F0 @ 0x1800bb75d", "<???> @ 0x1801fdbe4"], "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"}