{"type": "func", "start": 6442937312, "end": 6442937387, "name": "sub_180076BE0", "pseudocode": "// \n// sub_180076BE0 from 0x180076be0 to 0x180076c2b (75 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEGLView::pumpRawInput @ 0x1800781f7\n// > sub_180079470 @ 0x18007952f\n// > <???> @ 0x1801b48e4\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\ndouble sub_180076BE0()\n{\n  LARGE_INTEGER PerformanceCount; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( !byte_1801A84F0 )\n  {\n    QueryPerformanceFrequency(&Frequency);\n    byte_1801A84F0 = 1;\n  }\n  QueryPerformanceCounter(&PerformanceCount);\n  return (double)(int)PerformanceCount.LowPart / (double)(int)Frequency.LowPart;\n}", "assembly": "; \n; sub_180076BE0 from 0x180076be0 to 0x180076c2b (75 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEGLView::pumpRawInput @ 0x1800781f7\n; > sub_180079470 @ 0x18007952f\n; > <???> @ 0x1801b48e4\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, 28h                                                       ; +0x0, 0x180076be0\ncmp     cs:byte_1801A84F0, 0                                           ; +0x4, 0x180076be4\njnz     short loc_180076C01                                            ; +0xb, 0x180076beb\nlea     rcx, Frequency; lpFrequency                                    ; +0xd, 0x180076bed\ncall    cs:QueryPerformanceFrequency                                   ; +0x14, 0x180076bf4\nmov     cs:byte_1801A84F0, 1                                           ; +0x1a, 0x180076bfa\nlea     rcx, [rsp+28h+PerformanceCount]; lpPerformanceCount            ; +0x21, 0x180076c01\ncall    cs:QueryPerformanceCounter                                     ; +0x26, 0x180076c06\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x180076c0c\nxorps   xmm1, xmm1                                                     ; +0x2f, 0x180076c0f\ncvtsi2sd xmm0, qword ptr [rsp+28h+PerformanceCount]                    ; +0x32, 0x180076c12\ncvtsi2sd xmm1, qword ptr cs:Frequency                                  ; +0x39, 0x180076c19\ndivsd   xmm0, xmm1                                                     ; +0x42, 0x180076c22\nadd     rsp, 28h                                                       ; +0x46, 0x180076c26\nretn                                                                   ; +0x4a, 0x180076c2a", "xrefs": ["cocos2d::CCEGLView::pumpRawInput @ 0x1800781f7", "sub_180079470 @ 0x18007952f", "<???> @ 0x1801b48e4"], "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"}