{"name": "av_free_packet", "code": "__int64 __fastcall av_free_packet ( __int64 @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) { @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@result@@ ) @@result@@ = ( * ( __int64 ( __fastcall * * ) ( __int64 ) ) ( @@a1@@ + Number ) ) ( @@a1@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "str_read_packet", "code": "__int64 __fastcall str_read_packet ( __int64 @@a1@@ , _QWORD * @@a2@@ ) { int v3 ; __int64 v4 ; _QWORD * v5 ; __int64 v6 ; __int64 v7 ; __int64 v8 ; __int64 v9 ; int v10 ; int v11 ; char @@v12@@ [ Number ] ; unsigned __int8 @@v13@@ ; unsigned __int8 @@v14@@ ; unsigned __int8 @@v15@@ ; _DWORD @@v16@@ [ Number ] ; int @@v17@@ ; unsigned int @@v18@@ ; unsigned int @@v19@@ ; _QWORD * @@v20@@ ; __int64 @@v21@@ ; int @@v22@@ ; int @@v23@@ ; __int64 @@v24@@ ; __int64 @@v25@@ ; @@v25@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v24@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; while ( Number ) { if ( ( unsigned int ) get_buffer ( @@v25@@ , @@v12@@ , Number L ) != Number ) return Number L ; @@v23@@ = @@v13@@ ; if ( @@v13@@ > Number ) return Number L ; v3 = @@v14@@ & Number ; if ( v3 == Number ) { LABEL_11 : @@v19@@ = LOWORD ( @@v16@@ [ Number ] ) ; @@v18@@ = HIWORD ( @@v16@@ [ Number ] ) ; @@v17@@ = @@v16@@ [ Number ] ; if ( @@v16@@ [ Number ] >= Number && ( int ) @@v19@@ < ( int ) @@v18@@ && @@v17@@ <= ( int ) ( Number * @@v18@@ ) ) { if ( * ( int * ) ( @@v24@@ + Number L * @@v23@@ ) < Number ) { @@v21@@ = av_new_stream ( @@a1@@ , Number L ) ; if ( ! @@v21@@ ) return Number L ; av_set_pts_info ( @@v21@@ , Number L , Number L , Number L ) ; * ( _DWORD * ) ( @@v24@@ + Number L * @@v23@@ ) = * ( _DWORD * ) @@v21@@ ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = LOWORD ( @@v16@@ [ Number ] ) ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = HIWORD ( @@v16@@ [ Number ] ) ; } @@v20@@ = ( _QWORD * ) ( @@v24@@ + Number L * @@v23@@ + Number ) ; if ( * ( _DWORD * ) ( @@v24@@ + Number L * @@v23@@ + Number ) != Number * @@v18@@ ) { if ( @@v20@@ [ Number ] ) av_log ( @@a1@@ , Number L , String ) ; av_free_packet ( ( __int64 ) @@v20@@ ) ; if ( ( unsigned int ) av_new_packet ( @@v20@@ , Number * @@v18@@ ) ) return Number L ; v4 = url_ftell ( @@v25@@ ) ; @@v20@@ [ Number ] = v4 - Number ; * ( ( _DWORD * ) @@v20@@ + Number ) = * ( _DWORD * ) ( @@v24@@ + Number L * @@v23@@ ) ; } memcpy ( ( void * ) ( ( int ) ( Number * @@v19@@ ) + @@v20@@ [ Number ] ) , & @@v16@@ [ Number ] , Number ) ; if ( @@v19@@ == @@v18@@ - Number ) { * ( ( _DWORD * ) @@v20@@ + Number ) = @@v17@@ ; v5 = @@v20@@ ; v6 = @@v20@@ [ Number ] ; * @@a2@@ = * @@v20@@ ; @@a2@@ [ Number ] = v6 ; v7 = v5 [ Number ] ; @@a2@@ [ Number ] = v5 [ Number ] ; @@a2@@ [ Number ] = v7 ; v8 = v5 [ Number ] ; @@a2@@ [ Number ] = v5 [ Number ] ; @@a2@@ [ Number ] = v8 ; v9 = v5 [ Number ] ; @@a2@@ [ Number ] = v5 [ Number ] ; @@a2@@ [ Number ] = v9 ; @@a2@@ [ Number ] = v5 [ Number ] ; @@v20@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@v20@@ + Number ) = Number ; return Number L ; } } else { av_log ( @@a1@@ , Number L , String , @@v19@@ , @@v18@@ , ( unsigned int ) @@v17@@ ) ; } goto LABEL_41 ; } if ( ( @@v14@@ & Number ) <= Number ) { if ( v3 == Number ) goto LABEL_11 ; if ( v3 == Number ) break ; } av_log ( @@a1@@ , Number L , String , @@v14@@ ) ; LABEL_41 : if ( ( unsigned int ) url_feof ( @@v25@@ ) ) return Number L ; } if ( * ( int * ) ( @@v24@@ + Number L * @@v23@@ + Number ) < Number ) { @@v22@@ = @@v15@@ ; @@v21@@ = av_new_stream ( @@a1@@ , Number L ) ; if ( ! @@v21@@ ) return Number L ; * ( _DWORD * ) ( @@v24@@ + Number L * @@v23@@ + Number ) = * ( _DWORD * ) @@v21@@ ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = Number ; if ( ( @@v22@@ & Number ) != Number ) v10 = Number ; else v10 = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = v10 ; if ( ( @@v22@@ & Number ) != Number ) v11 = Number ; else v11 = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = v11 ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) = Number ; av_set_pts_info ( @@v21@@ , Number L , Number L , * ( unsigned int * ) ( * ( _QWORD * ) ( @@v21@@ + Number ) + Number L ) ) ; } @@v20@@ = @@a2@@ ; if ( ( unsigned int ) av_new_packet ( @@a2@@ , Number L ) ) return Number L ; memcpy ( ( void * ) @@v20@@ [ Number ] , @@v16@@ , Number ) ; * ( ( _DWORD * ) @@v20@@ + Number ) = * ( _DWORD * ) ( @@v24@@ + Number L * @@v23@@ + Number ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "v25", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v24", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v16", "t": {"T": 2, "n": 576, "s": 4, "t": "_DWORD"}, "location": "s2400"}, {"n": "v15", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s2405"}, {"n": "v14", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s2406"}, {"n": "v13", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s2407"}, {"n": "v12", "t": {"T": 2, "n": 17, "s": 1, "t": "char"}, "location": "s2424"}, {"n": "v23", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v22", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v21", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v20", "t": {"T": 3, "t": "_QWORD"}, "location": "s48"}, {"n": "v19", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s52"}, {"n": "v18", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s56"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}]} {"name": "str_read_close", "code": "__int64 __fastcall str_read_close ( __int64 @@a1@@ ) { __int64 @@v2@@ ; int @@i@@ ; @@v2@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { if ( * ( _QWORD * ) ( @@v2@@ + Number L * @@i@@ + Number ) ) av_free_packet ( @@v2@@ + Number L * @@i@@ + Number ) ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]}