{"name": "run_keystroke", "code": "__int64 __fastcall run_keystroke ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 * @@a4@@ , __int64 @@a5@@ , __int64 @@a6@@ ) { __int64 @@v9@@ [ Number ] ; __int64 @@v10@@ ; @@v10@@ = pdf_dict_getl ( @@a1@@ , @@a3@@ , Number L , Number L , Number L , @@a6@@ ) ; if ( @@v10@@ && * ( _QWORD * ) ( @@a2@@ + Number ) ) { @@v9@@ [ Number ] = @@a3@@ ; @@v9@@ [ Number ] = * @@a4@@ ; pdf_js_setup_event ( * ( _QWORD * ) ( @@a2@@ + Number ) , @@v9@@ ) ; execute_action ( @@a1@@ , @@a2@@ , @@a3@@ , @@v10@@ ) ; if ( ! * ( _DWORD * ) ( pdf_js_get_event ( * ( _QWORD * ) ( @@a2@@ + Number ) ) + Number ) ) return Number L ; * @@a4@@ = * ( _QWORD * ) ( pdf_js_get_event ( * ( _QWORD * ) ( @@a2@@ + Number ) ) + Number ) ; } return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "__int64"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "a6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "v9", "t": {"T": 2, "n": 3, "s": 8, "t": "__int64"}, "location": "s32"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "execute_action", "code": "void __fastcall execute_action ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { __int64 v4 ; _DWORD * v5 ; int v6 ; __int64 v7 ; int @@v8@@ ; __int64 v9 ; int @@v10@@ ; int * @@v11@@ ; __int64 @@v14@@ ; unsigned __int64 @@v15@@ ; unsigned __int64 @@v16@@ ; __int64 @@v17@@ ; if ( ! @@a4@@ ) return ; @@v16@@ = pdf_dict_get ( @@a1@@ , @@a4@@ , Number L ) ; if ( ! pdf_name_eq ( @@a1@@ , @@v16@@ , Number ) ) goto LABEL_11 ; @@v14@@ = pdf_dict_get ( @@a1@@ , @@a4@@ , Number L ) ; if ( @@v14@@ ) { @@v17@@ = pdf_to_utf8 ( @@a1@@ , @@a2@@ , @@v14@@ ) ; if ( ( unsigned int ) fz_push_try ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ) { @@v11@@ = * ( int * * ) ( @@a1@@ + Number ) ; @@v10@@ = * @@v11@@ ; @@v11@@ [ Number * @@v10@@ + Number ] = _sigsetjmp ( ( struct __jmp_buf_tag * ) & @@v11@@ [ Number * * @@v11@@ + Number ] , Number ) ; if ( ! @@v11@@ [ Number * @@v10@@ + Number ] ) pdf_js_execute ( * ( _QWORD * ) ( @@a2@@ + Number ) , @@v17@@ ) ; } if ( * ( int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * * * ( int * * ) ( @@a1@@ + Number ) + Number ) <= Number ) { v4 = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * * * ( int * * ) ( @@a1@@ + Number ) ; ++ * ( _DWORD * ) ( v4 + Number ) ; fz_free ( @@a1@@ , @@v17@@ ) ; } v5 = * ( _DWORD * * ) ( @@a1@@ + Number ) ; v6 = ( * v5 ) -- ; if ( ( int ) v5 [ Number * v6 + Number ] > Number ) { fz_rethrow ( @@a1@@ ) ; LABEL_11 : if ( pdf_name_eq ( @@a1@@ , @@v16@@ , Number ) ) { v7 = pdf_dict_get ( @@a1@@ , @@a4@@ , Number L ) ; @@v8@@ = pdf_to_int ( @@a1@@ , v7 ) & Number ; v9 = pdf_dict_get ( @@a1@@ , @@a4@@ , Number L ) ; reset_form ( @@a1@@ , @@a2@@ , v9 , @@v8@@ ) ; } else if ( pdf_name_eq ( @@a1@@ , @@v16@@ , Number ) ) { @@v15@@ = pdf_dict_get ( @@a1@@ , @@a4@@ , Number L ) ; if ( pdf_name_eq ( @@a1@@ , @@v15@@ , Number ) ) pdf_event_issue_print ( @@a1@@ , @@a2@@ ) ; } return ; } } }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v17", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v16", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s32"}, {"n": "v15", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s40"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v11", "t": {"T": 3, "t": "int"}, "location": "s88"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s92"}]} {"name": "pdf_text_widget_set_text", "code": "__int64 __fastcall pdf_text_widget_set_text ( __int64 @@a1@@ , __int64 @@a2@@ , char * @@a3@@ , char * @@a4@@ ) { __int64 @@v4@@ ; __int64 @@v5@@ ; _DWORD * v6 ; int v7 ; int @@v9@@ ; int * @@v10@@ ; char * @@v11@@ [ Number ] ; __int64 @@v12@@ ; __int64 @@v13@@ ; char * @@v14@@ ; unsigned int @@v15@@ ; @@v13@@ = @@a1@@ ; @@v12@@ = @@a2@@ ; @@v11@@ [ Number ] = @@a3@@ ; @@v11@@ [ Number ] = @@a4@@ ; @@v14@@ = @@a3@@ ; @@v15@@ = Number ; if ( ( unsigned int ) fz_push_try ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ) { @@v10@@ = * ( int * * ) ( @@v13@@ + Number ) ; @@v9@@ = * @@v10@@ ; @@v10@@ [ Number * @@v9@@ + Number ] = _sigsetjmp ( ( struct __jmp_buf_tag * ) & @@v10@@ [ Number * * @@v10@@ + Number ] , Number ) ; if ( ! @@v10@@ [ Number * @@v9@@ + Number ] ) { @@v15@@ = run_keystroke ( @@v13@@ , @@v12@@ , * ( ( _QWORD * ) @@v14@@ + Number ) , ( __int64 * ) @@v11@@ , @@v4@@ , @@v5@@ ) ; if ( @@v15@@ ) @@v15@@ = pdf_field_set_value ( @@v13@@ , @@v12@@ , * ( ( _QWORD * ) @@v14@@ + Number ) , @@v11@@ [ Number ] ) ; } } v6 = * ( _DWORD * * ) ( @@v13@@ + Number ) ; v7 = ( * v6 ) -- ; if ( ( int ) v6 [ Number * v7 + Number ] > Number ) fz_warn ( @@v13@@ , String , v7 ) ; return @@v15@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "char"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "char"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "v14", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v11", "t": {"T": 2, "n": 2, "s": 8, "t": "char *"}, "location": "s48"}, {"n": "v10", "t": {"T": 3, "t": "int"}, "location": "s56"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}]}