Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void __cdecl shakeCamera(int camera, float a2)
- {
- long double v2; // fst7@1
- v2 = *(float *)(camera + 300)
- - (long double)(unsigned int)(currentTime - *(_DWORD *)(camera + 92)) * 0.001000000047497451;
- if ( v2 < 2.0 )
- {
- if ( v2 <= 0.0 )
- v2 = 0.0;
- }
- else
- {
- v2 = 2.0;
- }
- if ( a2 > v2 )
- {
- *(_DWORD *)(camera + 300) = LODWORD(a2);
- *(_DWORD *)(camera + 92) = currentTime;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement