{"name": "PDC_resize_screen", "code": "__int64 __fastcall PDC_resize_screen ( int @@a1@@ , int @@a2@@ ) { _DWORD * @@v3@@ ; if ( ! pdc_own_screen ) return Number ; if ( @@a1@@ && @@a2@@ ) { pdc_sheight = @@a1@@ * pdc_fheight ; pdc_swidth = @@a2@@ * pdc_fwidth ; } SDL_FreeSurface ( pdc_screen ) ; pdc_screen = SDL_SetVideoMode ( ( unsigned int ) pdc_swidth , ( unsigned int ) pdc_sheight , Number L , Number L ) ; if ( pdc_tileback ) PDC_retile ( ) ; * ( ( _BYTE * ) ptr + Number ) = Number ; @@v3@@ = ptr ; * ( ( _DWORD * ) ptr + Number ) = Number ; * ( ( _DWORD * ) ptr + Number ) = @@v3@@ [ Number ] ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "_DWORD"}, "location": "r8"}]}
{"name": "PDC_retile", "code": "__int64 PDC_retile ( ) { __int64 @@result@@ ; __int16 @@j@@ ; __int16 @@i@@ ; if ( pdc_tileback ) SDL_FreeSurface ( pdc_tileback ) ; pdc_tileback = SDL_DisplayFormat ( pdc_screen ) ; @@result@@ = pdc_back ; if ( pdc_back ) { for ( @@i@@ = Number ; @@i@@ < * ( _DWORD * ) ( pdc_tileback + Number ) ; @@i@@ += * ( _DWORD * ) ( pdc_back + Number ) ) { for ( @@j@@ = Number ; @@j@@ < * ( _DWORD * ) ( pdc_tileback + Number ) ; @@j@@ += * ( _DWORD * ) ( pdc_back + Number ) ) SDL_UpperBlit ( pdc_back , Number L , pdc_tileback , & @@j@@ ) ; } @@result@@ = SDL_UpperBlit ( pdc_tileback , Number L , pdc_screen , Number L ) ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s6"}, {"n": "j", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s8"}]}