{"name": "pdf_field_reset", "code": "__int64 __fastcall pdf_field_reset ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { __int64 result ; __int64 v4 ; int @@v6@@ ; __int64 @@v7@@ ; unsigned int @@i@@ ; @@v7@@ = pdf_dict_get ( @@a1@@ , @@a3@@ , Number L ) ; result = reset_field ( @@a1@@ , @@a2@@ , @@a3@@ ) ; if ( @@v7@@ ) { @@v6@@ = pdf_array_len ( @@a1@@ , @@v7@@ ) ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { result = @@i@@ ; if ( ( int ) @@i@@ >= @@v6@@ ) break ; v4 = pdf_array_get ( @@a1@@ , @@v7@@ , @@i@@ ) ; pdf_field_reset ( @@a1@@ , @@a2@@ , v4 ) ; } } 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"}]}
{"name": "reset_field", "code": "_BOOL8 __fastcall reset_field ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { int v3 ; __int64 v4 ; _DWORD * v5 ; int v6 ; _BOOL8 result ; int @@v8@@ ; int * @@v9@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; __int64 @@v14@@ ; @@v13@@ = pdf_dict_get ( @@a1@@ , @@a3@@ , Number L ) ; @@v12@@ = pdf_dict_get ( @@a1@@ , @@a3@@ , Number L ) ; if ( @@v13@@ ) pdf_dict_put ( @@a1@@ , @@a3@@ , Number L , @@v13@@ ) ; else pdf_dict_del ( @@a1@@ , @@a3@@ , Number L ) ; if ( @@v12@@ ) goto LABEL_19 ; v3 = pdf_field_type ( @@a1@@ , @@a2@@ , @@a3@@ ) ; if ( ! v3 ) goto LABEL_19 ; if ( v3 < Number || ( unsigned int ) ( v3 - Number ) > Number ) goto LABEL_18 ; @@v14@@ = pdf_get_inheritable ( @@a1@@ , @@a2@@ , @@a3@@ , Number L ) ; if ( @@v14@@ ) pdf_keep_obj ( @@a1@@ , @@v14@@ ) ; else @@v14@@ = Number L ; if ( ( unsigned int ) fz_push_try ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ) { @@v9@@ = * ( int * * ) ( @@a1@@ + Number ) ; @@v8@@ = * @@v9@@ ; @@v9@@ [ Number * @@v8@@ + Number ] = _sigsetjmp ( ( struct __jmp_buf_tag * ) & @@v9@@ [ Number * * @@v9@@ + Number ] , Number ) ; if ( ! @@v9@@ [ Number * @@v8@@ + Number ] ) pdf_dict_put ( @@a1@@ , @@a3@@ , Number L , @@v14@@ ) ; } if ( * ( int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * * * ( int * * ) ( @@a1@@ + Number ) + Number ) <= Number ) { v4 = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * * * ( int * * ) ( @@a1@@ + Number ) ; ++ * ( _DWORD * ) ( v4 + Number ) ; pdf_drop_obj ( @@a1@@ , @@v14@@ ) ; } v5 = * ( _DWORD * * ) ( @@a1@@ + Number ) ; v6 = ( * v5 ) -- ; if ( ( int ) v5 [ Number * v6 + Number ] > Number ) { fz_rethrow ( @@a1@@ ) ; LABEL_18 : pdf_field_mark_dirty ( @@a1@@ , @@a2@@ , @@a3@@ ) ; } LABEL_19 : result = pdf_field_dirties_document ( @@a1@@ , @@a2@@ , @@a3@@ ) ; if ( result ) { result = @@a2@@ ; * ( _DWORD * ) ( @@a2@@ + Number ) = Number ; } 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": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v9", "t": {"T": 3, "t": "int"}, "location": "s64"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s68"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}