{"name": "jsonrpc_struct_printf", "code": "__int64 jsonrpc_struct_printf ( unsigned int * @@a1@@ , const void * @@a2@@ , const char * @@a3@@ , __int64 @@a4@@ , __int64 @@a5@@ , __int64 @@a6@@ , ... ) { const char * v6 ; const char * v7 ; int v8 ; const char * v9 ; unsigned int v10 ; const char * v11 ; struct _IO_FILE * v12 ; const char * v13 ; unsigned int v14 ; void ( * v15 ) ( _QWORD , const char * , ... ) ; __int64 v16 ; unsigned int v17 ; __int64 v18 ; int v19 ; unsigned int v20 ; void ( * v21 ) ( _QWORD , const char * , ... ) ; const char * v22 ; int v23 ; unsigned int v24 ; __int64 result ; const char * v26 ; __int64 v27 ; const char * v28 ; int v29 ; const char * v30 ; unsigned int v31 ; const char * v32 ; struct _IO_FILE * v33 ; __int64 v34 ; const char * v35 ; unsigned int v36 ; void ( * v37 ) ( _QWORD , const char * , ... ) ; __int64 v38 ; unsigned int v39 ; __int64 v40 ; int v41 ; unsigned int v42 ; void ( * v43 ) ( _QWORD , const char * , ... ) ; unsigned int v44 ; const char * v45 ; int v46 ; unsigned int v47 ; const char * v48 ; __int64 v49 ; const char * v50 ; int v51 ; const char * v52 ; unsigned int v53 ; const char * v54 ; struct _IO_FILE * v55 ; __int64 v56 ; const char * v57 ; unsigned int v58 ; void ( * v59 ) ( _QWORD , const char * , ... ) ; __int64 v60 ; unsigned int v61 ; __int64 v62 ; int v63 ; unsigned int v64 ; void ( * v65 ) ( _QWORD , const char * , ... ) ; __int64 v66 ; const char * v67 ; int v68 ; unsigned int v69 ; const char * v70 ; const char * v71 ; int v72 ; const char * v73 ; unsigned int v74 ; const char * v75 ; struct _IO_FILE * v76 ; const char * v77 ; unsigned int v78 ; void ( * v79 ) ( _QWORD , const char * , ... ) ; __int64 v80 ; unsigned int v81 ; __int64 v82 ; int v83 ; unsigned int v84 ; void ( * v85 ) ( _QWORD , const char * , ... ) ; const char * v86 ; int v87 ; unsigned int v88 ; __int64 v89 ; __int64 v90 ; __int64 v91 ; const char * v92 ; const char * v93 ; int v94 ; const char * v95 ; unsigned int v96 ; const char * v97 ; struct _IO_FILE * v98 ; const char * v99 ; unsigned int v100 ; void ( * v101 ) ( _QWORD , const char * , ... ) ; __int64 v102 ; unsigned int v103 ; __int64 v104 ; int v105 ; unsigned int v106 ; void ( * v107 ) ( _QWORD , const char * , ... ) ; const char * v108 ; int v109 ; unsigned int v110 ; __int64 v111 ; __int64 v112 ; gcc_va_list @@arg@@ ; char @@v117@@ [ Number ] ; unsigned int @@v118@@ ; unsigned int @@v119@@ ; unsigned int @@v120@@ ; unsigned int @@v121@@ ; unsigned int @@v122@@ ; int @@v123@@ ; _QWORD * @@v124@@ ; __int64 @@v125@@ ; char * @@s@@ ; int @@v127@@ ; __int64 @@v128@@ ; __int64 @@v129@@ ; __int64 @@v130@@ ; @@v128@@ = @@a4@@ ; @@v129@@ = @@a5@@ ; @@v130@@ = @@a6@@ ; @@s@@ = Number L ; @@v125@@ = Number L ; if ( @@a1@@ && @@a2@@ ) { if ( @@a1@@ [ Number ] == Number ) { @@v124@@ = ( _QWORD * ) jsonrpc_ctx_active ; if ( jsonrpc_ctx_active && @@v124@@ [ Number ] ) { @@s@@ = @@v117@@ ; @@v127@@ = Number ; do { @@arg@@ [ Number ] . gp_offset = Number ; va_start ( @@arg@@ , @@a6@@ ) ; @@v123@@ = vsnprintf ( @@s@@ , @@v127@@ , @@a3@@ , @@arg@@ ) ; if ( @@v123@@ >= Number && @@v123@@ < @@v127@@ ) { @@v125@@ = srjson_CreateString ( @@v124@@ [ Number ] , @@s@@ ) ; if ( @@v125@@ ) { srjson_AddItemToObject ( @@v124@@ [ Number ] , @@a1@@ , @@a2@@ , @@v125@@ ) ; if ( @@s@@ && @@s@@ != @@v117@@ ) pkg_root [ Number ] ( pkg_root [ Number ] , @@s@@ , String , String , Number L , String ) ; result = Number L ; } else { v70 = String ; if ( ( int ) get_debug_level ( String , Number L ) >= Number && ! dprint_crit ) { @@v122@@ = Number ; ++ dprint_crit ; if ( log_stderr ) { if ( log_color ) { v70 = ( const char * ) @@v122@@ ; dprint_color ( @@v122@@ ) ; } if ( log_prefix_val ) { v71 = ( const char * ) * log_prefix_val ; v72 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v73 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v122@@ + Number ) ) ; v74 = my_pid ( v70 , Number L ) ; v75 = String ; v76 = stderr ; fprintf ( stderr , String , process_no , v74 , v73 , v72 , v71 , String , String ) ; } else { v77 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v122@@ + Number ) ) ; v78 = my_pid ( v70 , Number L ) ; v75 = String ; v76 = stderr ; fprintf ( stderr , String , process_no , v78 , v77 , String , String ) ; } if ( log_color ) dprint_color_reset ( v76 , v75 ) ; } else if ( log_prefix_val ) { v79 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; v80 = * log_prefix_val ; v81 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v82 = * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v122@@ + Number ) ) ; v83 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v122@@ + Number ) + Number ) ; v84 = get_debug_facility ( String , Number L ) ; v79 ( v83 | v84 , String , v82 , v81 , v80 , String , String ) ; } else { v85 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; v86 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v122@@ + Number ) ) ; v87 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v122@@ + Number ) + Number ) ; v88 = get_debug_facility ( String , Number L ) ; v85 ( v87 | v88 , String , v86 , String , String ) ; } -- dprint_crit ; } if ( @@s@@ && @@s@@ != @@v117@@ ) pkg_root [ Number ] ( pkg_root [ Number ] , @@s@@ , String , String , Number L , String ) ; result = Number ; } return result ; } if ( @@v123@@ < Number ) @@v127@@ *= Number ; else @@v127@@ = @@v123@@ + Number ; if ( @@s@@ && @@s@@ != @@v117@@ ) pkg_root [ Number ] ( pkg_root [ Number ] , @@s@@ , String , String , Number L , String ) ; @@s@@ = ( char * ) ( ( __int64 ( __fastcall * ) ( _QWORD , _QWORD , const char * , const char * , __int64 , const char * ) ) pkg_root [ Number ] ) ( pkg_root [ Number ] , @@v127@@ , String , String , Number L , String ) ; } while ( @@s@@ ) ; jsonrpc_fault ( ( __int64 ) @@v124@@ , Number , String , v89 , v90 , v91 ) ; v92 = String ; if ( ( int ) get_debug_level ( String , Number L ) >= Number && ! dprint_crit ) { @@v121@@ = Number ; ++ dprint_crit ; if ( log_stderr ) { if ( log_color ) { v92 = ( const char * ) @@v121@@ ; dprint_color ( @@v121@@ ) ; } if ( log_prefix_val ) { v93 = ( const char * ) * log_prefix_val ; v94 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v95 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v121@@ + Number ) ) ; v96 = my_pid ( v92 , Number L ) ; v97 = String ; v98 = stderr ; fprintf ( stderr , String , process_no , v96 , v95 , v94 , v93 , String , String ) ; } else { v99 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v121@@ + Number ) ) ; v100 = my_pid ( v92 , Number L ) ; v97 = String ; v98 = stderr ; fprintf ( stderr , String , process_no , v100 , v99 , String , String ) ; } if ( log_color ) dprint_color_reset ( v98 , v97 ) ; } else if ( log_prefix_val ) { v101 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; v102 = * log_prefix_val ; v103 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v104 = * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v121@@ + Number ) ) ; v105 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v121@@ + Number ) + Number ) ; v106 = get_debug_facility ( String , Number L ) ; v101 ( v105 | v106 , String , v104 , v103 , v102 , String , String ) ; } else { v107 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; v108 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v121@@ + Number ) ) ; v109 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v121@@ + Number ) + Number ) ; v110 = get_debug_facility ( String , Number L ) ; v107 ( v109 | v110 , String , v108 , String , String ) ; } -- dprint_crit ; } result = Number ; } else { v48 = String ; if ( ( int ) get_debug_level ( String , Number L ) >= Number && ! dprint_crit ) { @@v120@@ = Number ; ++ dprint_crit ; if ( log_stderr ) { if ( log_color ) { v48 = ( const char * ) @@v120@@ ; dprint_color ( @@v120@@ ) ; } if ( log_prefix_val ) { if ( @@v124@@ ) v49 = * ( ( unsigned int * ) @@v124@@ + Number ) ; else v49 = Number L ; v50 = ( const char * ) * log_prefix_val ; v51 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v52 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v120@@ + Number ) ) ; v53 = my_pid ( v48 , Number L ) ; v54 = String ; v55 = stderr ; fprintf ( stderr , String , process_no , v53 , v52 , v51 , v50 , String , String , @@v124@@ , v49 ) ; } else { if ( @@v124@@ ) v56 = * ( ( unsigned int * ) @@v124@@ + Number ) ; else v56 = Number L ; v57 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v120@@ + Number ) ) ; v58 = my_pid ( v48 , Number L ) ; v54 = String ; v55 = stderr ; fprintf ( stderr , String , process_no , v58 , v57 , String , String , @@v124@@ , v56 ) ; } if ( log_color ) dprint_color_reset ( v55 , v54 ) ; } else if ( log_prefix_val ) { v59 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; if ( @@v124@@ ) v60 = * ( ( unsigned int * ) @@v124@@ + Number ) ; else v60 = Number L ; v112 = * log_prefix_val ; v61 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v62 = * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v120@@ + Number ) ) ; v63 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v120@@ + Number ) + Number ) ; v64 = get_debug_facility ( String , Number L ) ; v59 ( v63 | v64 , String , v62 , v61 , v112 , String , String , @@v124@@ , v60 ) ; } else { v65 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; if ( @@v124@@ ) v66 = * ( ( unsigned int * ) @@v124@@ + Number ) ; else v66 = Number L ; v67 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v120@@ + Number ) ) ; v68 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v120@@ + Number ) + Number ) ; v69 = get_debug_facility ( String , Number L ) ; v65 ( v68 | v69 , String , v67 , String , String , @@v124@@ , v66 ) ; } -- dprint_crit ; } result = Number ; } } else { v26 = String ; if ( ( int ) get_debug_level ( String , Number L ) >= Number && ! dprint_crit ) { @@v119@@ = Number ; ++ dprint_crit ; if ( log_stderr ) { if ( log_color ) { v26 = ( const char * ) @@v119@@ ; dprint_color ( @@v119@@ ) ; } if ( log_prefix_val ) { v27 = @@a1@@ [ Number ] ; v28 = ( const char * ) * log_prefix_val ; v29 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v30 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v119@@ + Number ) ) ; v31 = my_pid ( v26 , Number L ) ; v32 = String ; v33 = stderr ; fprintf ( stderr , String , process_no , v31 , v30 , v29 , v28 , String , String , v27 ) ; } else { v34 = @@a1@@ [ Number ] ; v35 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v119@@ + Number ) ) ; v36 = my_pid ( v26 , Number L ) ; v32 = String ; v33 = stderr ; fprintf ( stderr , String , process_no , v36 , v35 , String , String , v34 ) ; } if ( log_color ) dprint_color_reset ( v33 , v32 ) ; } else if ( log_prefix_val ) { v37 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; v38 = @@a1@@ [ Number ] ; v111 = * log_prefix_val ; v39 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v40 = * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v119@@ + Number ) ) ; v41 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v119@@ + Number ) + Number ) ; v42 = get_debug_facility ( String , Number L ) ; v37 ( v41 | v42 , String , v40 , v39 , v111 , String , String , v38 ) ; } else { v43 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; v44 = @@a1@@ [ Number ] ; v45 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v119@@ + Number ) ) ; v46 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v119@@ + Number ) + Number ) ; v47 = get_debug_facility ( String , Number L ) ; v43 ( v46 | v47 , String , v45 , String , String , v44 ) ; } -- dprint_crit ; } result = Number ; } } else { v6 = String ; if ( ( int ) get_debug_level ( String , Number L ) >= Number && ! dprint_crit ) { @@v118@@ = Number ; ++ dprint_crit ; if ( log_stderr ) { if ( log_color ) { v6 = ( const char * ) @@v118@@ ; dprint_color ( @@v118@@ ) ; } if ( log_prefix_val ) { v7 = ( const char * ) * log_prefix_val ; v8 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v9 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v118@@ + Number ) ) ; v10 = my_pid ( v6 , Number L ) ; v11 = String ; v12 = stderr ; fprintf ( stderr , String , process_no , v10 , v9 , v8 , v7 , String , String , @@a1@@ , @@a2@@ ) ; } else { v13 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v118@@ + Number ) ) ; v14 = my_pid ( v6 , Number L ) ; v11 = String ; v12 = stderr ; fprintf ( stderr , String , process_no , v14 , v13 , String , String , @@a1@@ , @@a2@@ ) ; } if ( log_color ) dprint_color_reset ( v12 , v11 ) ; } else if ( log_prefix_val ) { v15 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; v16 = * log_prefix_val ; v17 = * ( ( _DWORD * ) log_prefix_val + Number ) ; v18 = * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v118@@ + Number ) ) ; v19 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v118@@ + Number ) + Number ) ; v20 = get_debug_facility ( String , Number L ) ; v15 ( v19 | v20 , String , v18 , v17 , v16 , String , String , @@a1@@ , @@a2@@ ) ; } else { v21 = ( void ( * ) ( _QWORD , const char * , ... ) ) km_log_func ; v22 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number * ( int ) ( @@v118@@ + Number ) ) ; v23 = * ( ( _DWORD * ) & log_level_info + Number * ( int ) ( @@v118@@ + Number ) + Number ) ; v24 = get_debug_facility ( String , Number L ) ; v21 ( v23 | v24 , String , v22 , String , String , @@a1@@ , @@a2@@ ) ; } -- dprint_crit ; } result = Number ; } return result ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "unsigned int"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void"}, "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": "v117", "t": {"T": 2, "n": 1032, "s": 1, "t": "char"}, "location": "s1312"}, {"n": "arg", "t": {"T": 2, "n": 1, "s": 24, "t": "__va_list_tag"}, "location": "s1336"}, {"n": "v130", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s184"}, {"n": "v129", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s192"}, {"n": "v128", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s200"}, {"n": "v127", "t": {"T": 1, "n": "int", "s": 4}, "location": "s228"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "s240"}, {"n": "v125", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s248"}, {"n": "v124", "t": {"T": 3, "t": "_QWORD"}, "location": "s256"}, {"n": "v123", "t": {"T": 1, "n": "int", "s": 4}, "location": "s260"}, {"n": "v122", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s264"}, {"n": "v121", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s268"}, {"n": "v120", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s272"}, {"n": "v119", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s276"}, {"n": "v118", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s280"}]}