{"name": "update_checkbox_selector", "code": "__int64 __fastcall update_checkbox_selector ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { __int64 v4 ; __int64 result ; __int64 v6 ; _DWORD * v7 ; int v8 ; int @@v9@@ ; int * @@v10@@ ; __int64 @@v13@@ ; int @@v14@@ ; __int64 @@v15@@ ; __int64 @@v16@@ ; unsigned int @@i@@ ; @@v15@@ = pdf_dict_get ( @@a1@@ , @@a3@@ , Number L ) ; if ( @@v15@@ ) { @@v14@@ = pdf_array_len ( @@a1@@ , @@v15@@ ) ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { result = @@i@@ ; if ( ( int ) @@i@@ >= @@v14@@ ) break ; v4 = pdf_array_get ( @@a1@@ , @@v15@@ , @@i@@ ) ; update_checkbox_selector ( @@a1@@ , @@a2@@ , v4 , @@a4@@ ) ; } } else { @@v16@@ = pdf_dict_getp ( @@a1@@ , @@a3@@ , String ) ; @@v13@@ = Number L ; fz_var_imp ( & @@v13@@ ) ; 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 ] ) { if ( pdf_dict_gets ( @@a1@@ , @@v16@@ , @@a4@@ ) ) @@v13@@ = pdf_new_name ( @@a1@@ , @@a2@@ , @@a4@@ ) ; else @@v13@@ = Number L ; pdf_dict_put ( @@a1@@ , @@a3@@ , Number L , @@v13@@ ) ; } } if ( * ( int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * * * ( int * * ) ( @@a1@@ + Number ) + Number ) <= Number ) { v6 = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * * * ( int * * ) ( @@a1@@ + Number ) ; ++ * ( _DWORD * ) ( v6 + Number ) ; pdf_drop_obj ( @@a1@@ , @@v13@@ ) ; } v7 = * ( _DWORD * * ) ( @@a1@@ + Number ) ; v8 = ( * v7 ) -- ; result = ( unsigned int ) v7 [ Number * v8 + 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": 1, "n": "__int64", "s": 8}, "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": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v10", "t": {"T": 3, "t": "int"}, "location": "s88"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s92"}]}
{"name": "set_checkbox_value", "code": "__int64 __fastcall set_checkbox_value ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , char * @@a4@@ ) { update_checkbox_selector ( @@a1@@ , @@a2@@ , @@a3@@ , ( __int64 ) @@a4@@ ) ; update_field_value ( @@a1@@ , @@a2@@ , @@a3@@ , @@a4@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "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"}]}