{"type": "func", "start": 6442948768, "end": 6442948843, "name": "sub_1800798A0", "pseudocode": "// \n// sub_1800798A0 from 0x1800798a0 to 0x1800798eb (75 bytes)\n// \n// 3 xrefs:\n// > sub_18007C490 @ 0x18007c772\n// > sub_18007C490 @ 0x18007c7d2\n// > <???> @ 0x1801bebf0\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 11:21:59 +0000\n// \n\ndouble sub_1800798A0()\n{\n  LARGE_INTEGER PerformanceCount; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( !byte_1801B2530 )\n  {\n    QueryPerformanceFrequency(&Frequency);\n    byte_1801B2530 = 1;\n  }\n  QueryPerformanceCounter(&PerformanceCount);\n  return (double)(int)PerformanceCount.LowPart / (double)(int)Frequency.LowPart;\n}", "assembly": "; \n; sub_1800798A0 from 0x1800798a0 to 0x1800798eb (75 bytes)\n; \n; 3 xrefs:\n; > sub_18007C490 @ 0x18007c772\n; > sub_18007C490 @ 0x18007c7d2\n; > <???> @ 0x1801bebf0\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 11:21:59 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800798a0\ncmp     cs:byte_1801B2530, 0                                           ; +0x4, 0x1800798a4\njnz     short loc_1800798C1                                            ; +0xb, 0x1800798ab\nlea     rcx, Frequency; lpFrequency                                    ; +0xd, 0x1800798ad\ncall    cs:QueryPerformanceFrequency                                   ; +0x14, 0x1800798b4\nmov     cs:byte_1801B2530, 1                                           ; +0x1a, 0x1800798ba\nlea     rcx, [rsp+28h+PerformanceCount]; lpPerformanceCount            ; +0x21, 0x1800798c1\ncall    cs:QueryPerformanceCounter                                     ; +0x26, 0x1800798c6\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x1800798cc\nxorps   xmm1, xmm1                                                     ; +0x2f, 0x1800798cf\ncvtsi2sd xmm0, qword ptr [rsp+28h+PerformanceCount]                    ; +0x32, 0x1800798d2\ncvtsi2sd xmm1, qword ptr cs:Frequency                                  ; +0x39, 0x1800798d9\ndivsd   xmm0, xmm1                                                     ; +0x42, 0x1800798e2\nadd     rsp, 28h                                                       ; +0x46, 0x1800798e6\nretn                                                                   ; +0x4a, 0x1800798ea", "xrefs": ["sub_18007C490 @ 0x18007c772", "sub_18007C490 @ 0x18007c7d2", "<???> @ 0x1801bebf0"], "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"}