Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double time = timer_Time();
- 003A7F5B call timer_Time (408A10h)
- static double last_time = time;
- 003A7F60 test byte ptr [$S1 (5103B0h)],1
- 003A7F67 jne RunEngine+1E4h (3A7F74h)
- 003A7F69 or dword ptr [$S1 (5103B0h)],1
- 003A7F70 fld st(0)
- 003A7F72 jmp RunEngine+1EAh (3A7F7Ah)
- 003A7F74 fld qword ptr [last_time (5103A8h)]
- float realFrameLength = (float)(time-last_time);
- 003A7F7A fsubr st,st(1)
- 003A7F7C fstp dword ptr [ebp-8Ch]
- last_time = time;
- 003A7F82 fstp qword ptr [last_time (5103A8h)]
- ENSURE(realFrameLength >= 0.0f);
- 003A7F88 fldz
- 003A7F8A fcomp dword ptr [ebp-8Ch]
- 003A7F90 fnstsw ax
- 003A7F92 test ah,41h
- 003A7F95 jnp RunEngine+22Ch (3A7FBCh)
- 003A7F97 push offset string "RunEngine" (4BE070h)
- 003A7F9C push 95h
- 003A7FA1 push offset string L"..\\..\\..\\source\\tool"... (4BE000h)
- 003A7FA6 push offset suppress__ (5103A4h)
- 003A7FAB push offset string L"realFrameLength >= 0"... (4BDFD0h)
- 003A7FB0 call debug_OnAssertionFailure (40A390h)
- 003A7FB5 add esp,14h
- 003A7FB8 dec eax
- 003A7FB9 je RunEngine+22Ch (3A7FBCh)
- 003A7FBB int 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement