Advertisement
fastman92

GetCurrentResolution

Dec 1st, 2011
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.64 KB | None | 0 0
  1. :GetCurrentResolution
  2. // Int, int
  3. //  Example: 0AB1: call_scm_func @GetCurrentResolution 0 X_size 0@ Y_size 1@
  4. 0AB1: call_scm_func @Get_EXE_version_ID 0 get_version_number_to 0@
  5.  
  6. if
  7. 0AB1: call_scm_func @ArrayGetValueByIndex num_params 7 index 0@ total_values 2 default_value 0 _RwCurrentResolution index1 VERSION_1_0_US_CRACKED value1 0x00C17044 index2 VERSION_1_01_EURO_CRACKED value 0x00C19804 store_value_to 0@
  8. else_jump @GetCurrentResolution_return
  9. 0A8D: 1@ = read_memory 0@ size 4 virtual_protect 0
  10. 0@ += 4
  11. 0A8D: 2@ = read_memory 0@ size 4 virtual_protect 0
  12.   return_true
  13.  
  14. :GetCurrentResolution_return
  15. 0AB2: ret 2 X_size 1@ Y_size 2@
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement