.text:0040FAA7 loc_40FAA7:                             ; CODE XREF: .text:0040FA9Ej
.text:0040FAA7                 shr     eax, 1
.text:0040FAA9                 cmp     eax, 1770h
.text:0040FAAE                 jbe     short loc_40FAD7

; Frame limiter variable

.text:0040FAB0                 cmp     byte_468122, 0
.text:0040FAB7                 jz      short loc_40FACE

.text:0040FAB9                 push    2
.text:0040FABB                 call    ds:Sleep
.text:0040FAC1                 mov     eax, hHandle
.text:0040FAC6                 push    eax
.text:0040FAC7                 call    ds:ReleaseMutex
.text:0040FACD                 retn
.text:0040FACE ; ---------------------------------------------------------------------------
.text:0040FACE
.text:0040FACE loc_40FACE:                             ; CODE XREF: .text:0040FAB7j
.text:0040FACE                 push    eax
.text:0040FACF                 call    sub_40F820
.text:0040FAD4                 add     esp, 4
.text:0040FAD7
.text:0040FAD7 loc_40FAD7:                             ; CODE XREF: .text:0040FAAEj
.text:0040FAD7                 mov     eax, hHandle
.text:0040FADC                 push    eax
.text:0040FADD                 call    ds:ReleaseMutex
.text:0040FAE3                 retn

