{"name": "pdf_field_set_button_caption", "code": "__int64 __fastcall pdf_field_set_button_caption ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , const char * @@a4@@ ) { unsigned int v4 ; __int64 v5 ; _DWORD * v6 ; int v7 ; __int64 result ; int @@v9@@ ; int * @@v10@@ ; __int64 @@v13@@ ; v4 = strlen ( @@a4@@ ) ; @@v13@@ = pdf_new_string ( @@a1@@ , @@a2@@ , @@a4@@ , v4 ) ; if ( ( unsigned int ) fz_push_try ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ) { @@v10@@ = * ( int * * ) ( @@a1@@ + Number ) ; @@v9@@ = * @@v10@@ ; @@v10@@ [ Number * @@v9@@ + Number ] = _sigsetjmp ( ( struct __jmp_buf_tag * ) & @@v10@@ [ Number * * @@v10@@ + Number ] , Number ) ; if ( ! @@v10@@ [ Number * @@v9@@ + Number ] && ! ( unsigned int ) pdf_field_type ( @@a1@@ , @@a2@@ , @@a3@@ ) ) { pdf_dict_putl ( @@a1@@ , @@a3@@ , @@v13@@ , Number L , Number L , Number L ) ; pdf_field_mark_dirty ( @@a1@@ , @@a2@@ , @@a3@@ ) ; } } if ( * ( int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * * * ( int * * ) ( @@a1@@ + Number ) + Number ) <= Number ) { v5 = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * * * ( int * * ) ( @@a1@@ + Number ) ; ++ * ( _DWORD * ) ( v5 + Number ) ; pdf_drop_obj ( @@a1@@ , @@v13@@ ) ; } v6 = * ( _DWORD * * ) ( @@a1@@ + Number ) ; v7 = ( * v6 ) -- ; result = ( unsigned int ) v6 [ Number * v7 + Number ] ; if ( ( int ) result > Number ) result = fz_rethrow ( @@a1@@ ) ; return result ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const 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": "v10", "t": {"T": 3, "t": "int"}, "location": "s56"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "pdf_field_mark_dirty", "code": "__int64 __fastcall pdf_field_mark_dirty ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { __int64 v3 ; __int64 result ; int @@v6@@ ; __int64 @@v7@@ ; unsigned int @@i@@ ; @@v7@@ = pdf_dict_get ( @@a1@@ , @@a3@@ , Number L ) ; if ( ! @@v7@@ ) return pdf_dirty_obj ( @@a1@@ , @@a3@@ ) ; @@v6@@ = pdf_array_len ( @@a1@@ , @@v7@@ ) ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { result = @@i@@ ; if ( ( int ) @@i@@ >= @@v6@@ ) break ; v3 = pdf_array_get ( @@a1@@ , @@v7@@ , @@i@@ ) ; pdf_field_mark_dirty ( @@a1@@ , @@a2@@ , v3 ) ; } return result ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]}