{"name": "swap_samplerates", "code": "__int64 __fastcall swap_samplerates ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned int @@i@@ ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@result@@ = @@i@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= @@i@@ ) break ; swap_samplerates_on_filter ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } 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"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]}
{"name": "swap_samplerates_on_filter", "code": "__int64 __fastcall swap_samplerates_on_filter ( __int64 @@a1@@ ) { __int64 @@result@@ ; signed int @@v2@@ ; int @@v3@@ ; __int64 @@v4@@ ; int @@v5@@ ; int @@v6@@ ; unsigned int @@v7@@ ; unsigned int @@k@@ ; unsigned int i ; unsigned int j ; __int64 @@v11@@ ; @@v11@@ = Number L ; for ( i = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) > i ; ++ i ) { @@v11@@ = * ( _QWORD * ) ( Number L * ( int ) i + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; if ( * ( _DWORD * ) ( @@v11@@ + Number ) == Number && * * ( _DWORD * * ) ( @@v11@@ + Number ) == Number ) break ; } @@result@@ = i ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) != i ) { @@v5@@ = * * ( _DWORD * * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) ; for ( j = Number ; ; ++ j ) { @@result@@ = j ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= j ) break ; @@v4@@ = * ( _QWORD * ) ( Number L * ( int ) j + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v6@@ = Number ; if ( * ( _DWORD * ) ( @@v4@@ + Number ) == Number && * * ( _DWORD * * ) ( @@v4@@ + Number ) > Number ) { for ( @@k@@ = Number ; * * ( _DWORD * * ) ( @@v4@@ + Number ) > @@k@@ ; ++ @@k@@ ) { @@v2@@ = abs32 ( @@v5@@ - * ( _DWORD * ) ( Number L * ( int ) @@k@@ + * ( _QWORD * ) ( * ( _QWORD * ) ( @@v4@@ + Number ) + Number L ) ) ) ; if ( @@v2@@ < @@v6@@ ) { @@v6@@ = @@v2@@ ; @@v7@@ = @@k@@ ; } } @@v3@@ = * ( _DWORD * ) ( Number L * ( int ) @@v7@@ + * ( _QWORD * ) ( * ( _QWORD * ) ( @@v4@@ + Number ) + Number L ) ) ; * ( _DWORD * ) ( Number L * ( int ) @@v7@@ + * ( _QWORD * ) ( * ( _QWORD * ) ( @@v4@@ + Number ) + Number L ) ) = * * ( _DWORD * * ) ( * ( _QWORD * ) ( @@v4@@ + Number ) + Number L ) ; * * ( _DWORD * * ) ( * ( _QWORD * ) ( @@v4@@ + Number ) + Number L ) = @@v3@@ ; } } } 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"}, {"n": "k", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "v2", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s48"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "graph_config_formats", "code": "__int64 __fastcall graph_config_formats ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; int v3 ; int v4 ; v3 = query_formats ( @@a1@@ , @@a2@@ ) ; if ( v3 < Number ) return ( unsigned int ) v3 ; reduce_formats ( @@a1@@ ) ; swap_sample_fmts ( @@a1@@ ) ; swap_samplerates ( @@a1@@ ) ; swap_channel_layouts ( @@a1@@ ) ; v4 = pick_formats ( @@a1@@ ) ; if ( v4 >= Number ) @@result@@ = Number L ; else @@result@@ = ( unsigned int ) v4 ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}