; ; FMOD_OS_Time_GetUs from 0x1800c1790 to 0x1800c17e3 (83 bytes) ; ; 9 xrefs: ; > sub_180098120 @ 0x1800981a5 ; > sub_180098120 @ 0x180098242 ; > sub_1800B8AE0 @ 0x1800b8b05 ; > sub_1800B8AE0 @ 0x1800b8b32 ; > sub_1800B8B60 @ 0x1800b8b69 ; > sub_1800B8B80 @ 0x1800b8ba2 ; > sub_180112AC0 @ 0x180112c3e ; > @ 0x180194348 ; > @ 0x1801fdc20 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x1800c1790 sub rsp, 20h ; +0x2, 0x1800c1792 mov rbx, rcx ; +0x6, 0x1800c1796 lea rcx, [rsp+28h+PerformanceCount]; lpPerformanceCount ; +0x9, 0x1800c1799 call cs:QueryPerformanceCounter ; +0xe, 0x1800c179e test eax, eax ; +0x14, 0x1800c17a4 jz short loc_1800C17CD ; +0x16, 0x1800c17a6 lea rcx, [rsp+28h+Frequency]; lpFrequency ; +0x18, 0x1800c17a8 call cs:QueryPerformanceFrequency ; +0x1d, 0x1800c17ad imul rax, qword ptr [rsp+28h+PerformanceCount], 0F4240h ; +0x23, 0x1800c17b3 cqo ; +0x2c, 0x1800c17bc idiv qword ptr [rsp+28h+Frequency] ; +0x2e, 0x1800c17be mov [rbx], eax ; +0x33, 0x1800c17c3 xor eax, eax ; +0x35, 0x1800c17c5 add rsp, 20h ; +0x37, 0x1800c17c7 pop rbx ; +0x3b, 0x1800c17cb retn ; +0x3c, 0x1800c17cc call cs:timeGetTime ; +0x3d, 0x1800c17cd imul ecx, eax, 3E8h ; +0x43, 0x1800c17d3 xor eax, eax ; +0x49, 0x1800c17d9 mov [rbx], ecx ; +0x4b, 0x1800c17db add rsp, 20h ; +0x4d, 0x1800c17dd pop rbx ; +0x51, 0x1800c17e1 retn ; +0x52, 0x1800c17e2