{"name": "encode_to_body", "code": "__int64 __fastcall encode_to_body ( __int64 @@a1@@ , unsigned int @@a2@@ , __int64 @@a3@@ , _BYTE * @@a4@@ ) { char v4 ; int v5 ; int v6 ; int v7 ; char v8 ; int v9 ; int v10 ; int v11 ; const char * v12 ; unsigned int v13 ; __int64 result ; const char * v15 ; unsigned int v16 ; int v17 ; char @@v20@@ [ Number ] ; int @@v21@@ ; char @@v22@@ ; int @@v23@@ ; @@v23@@ = Number ; @@v21@@ = Number ; @@v22@@ = Number ; if ( * ( _QWORD * ) ( @@a3@@ + Number ) && * ( _DWORD * ) ( @@a3@@ + Number ) ) { @@v22@@ |= Number ; if ( * * ( _BYTE * * ) ( @@a3@@ + Number ) == Number ) { ++ * ( _QWORD * ) ( @@a3@@ + Number ) ; * ( _DWORD * ) ( @@a3@@ + Number ) -= Number ; } v4 = * ( _QWORD * ) ( @@a3@@ + Number ) - @@a1@@ ; v5 = @@v23@@ ++ ; @@a4@@ [ v5 ] = v4 ; v6 = * ( _DWORD * ) ( @@a3@@ + Number ) ; v7 = @@v23@@ ++ ; @@a4@@ [ v7 ] = v6 ; } if ( * ( _QWORD * ) ( @@a3@@ + Number ) && * ( _DWORD * ) ( @@a3@@ + Number ) ) { @@v22@@ |= Number ; v8 = * ( _QWORD * ) ( @@a3@@ + Number ) - @@a1@@ ; v9 = @@v23@@ ++ ; @@a4@@ [ v9 ] = v8 ; v10 = * ( _DWORD * ) ( @@a3@@ + Number ) ; v11 = @@v23@@ ++ ; @@a4@@ [ v11 ] = v10 ; } if ( ( int ) parse_uri ( * ( _QWORD * ) ( @@a3@@ + Number ) , * ( unsigned int * ) ( @@a3@@ + Number ) , @@v20@@ ) >= Number ) { @@v21@@ = encode_uri2 ( @@a1@@ , @@a2@@ , * ( _QWORD * ) ( @@a3@@ + Number ) , * ( _QWORD * ) ( @@a3@@ + Number ) , @@v20@@ , & @@a4@@ [ @@v23@@ ] ) ; if ( @@v21@@ >= Number ) { @@v23@@ += @@v21@@ ; * @@a4@@ = @@v22@@ ; @@a4@@ [ Number ] = @@v21@@ ; v17 = encode_parameters ( & @@a4@@ [ @@v23@@ ] , * ( _QWORD * ) ( @@a3@@ + Number ) , @@a1@@ , @@a3@@ , Number L ) ; result = ( unsigned int ) ( v17 + @@v23@@ ) ; } else { if ( ( int ) * core_cfg >= Number && ! dprint_crit ) { ++ dprint_crit ; if ( log_stderr ) { v15 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number ) ; v16 = my_pid ( ) ; fprintf ( stderr , String , process_no , v16 , v15 , String , String ) ; } else { syslog ( core_cfg [ Number ] | * ( ( _DWORD * ) & log_level_info + Number ) , String , * ( ( const char * * ) & log_level_info + Number ) , String , String ) ; } -- dprint_crit ; } result = Number ; } } else { if ( ( int ) * core_cfg >= Number && ! dprint_crit ) { ++ dprint_crit ; if ( log_stderr ) { v12 = ( const char * ) * ( ( _QWORD * ) & log_level_info + Number ) ; v13 = my_pid ( ) ; fprintf ( stderr , String , process_no , v13 , v12 , String , String ) ; } else { syslog ( core_cfg [ Number ] | * ( ( _DWORD * ) & log_level_info + Number ) , String , * ( ( const char * * ) & log_level_info + Number ) , String , String ) ; } -- dprint_crit ; } result = Number ; } return result ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "_BYTE"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v23", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v22", "t": {"T": 1, "n": "char", "s": 1}, "location": "s21"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v20", "t": {"T": 2, "n": 356, "s": 1, "t": "char"}, "location": "s384"}]}