{"name": "hostapd_start_dfs_cac", "code": "__int64 __fastcall hostapd_start_dfs_cac ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , unsigned int @@a6@@ , unsigned int @@a7@@ , unsigned int @@a8@@ , unsigned int @@a9@@ , unsigned int @@a10@@ ) { __int64 @@result@@ ; char @@v11@@ [ Number ] ; unsigned int @@v12@@ ; __int64 @@v13@@ ; @@v13@@ = * * ( _QWORD * * ) ( @@a1@@ + Number ) ; if ( ! * ( _QWORD * ) ( @@v13@@ + Number ) || ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@v13@@ + Number ) + Number L ) ) return Number L ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) { if ( ( unsigned int ) hostapd_set_freq_params ( @@v11@@ , @@a2@@ , @@a3@@ , @@a4@@ , @@a5@@ , @@a6@@ , @@a7@@ , @@a8@@ , @@a9@@ , @@a10@@ , * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ) { wpa_printf ( Number L , String ) ; @@result@@ = Number ; } else { @@v12@@ = ( * ( __int64 ( __fastcall * * ) ( _QWORD , char * ) ) ( * ( _QWORD * ) ( @@v13@@ + Number ) + Number L ) ) ( * ( _QWORD * ) ( @@v13@@ + Number ) , @@v11@@ ) ; if ( ! @@v12@@ ) { * ( _BYTE * ) ( @@a1@@ + Number ) |= Number ; os_get_reltime ( @@a1@@ + Number ) ; } @@result@@ = @@v12@@ ; } } else { wpa_printf ( Number L , String ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "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": "a5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r80"}, {"n": "a7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-16"}, {"n": "a8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-24"}, {"n": "a9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-32"}, {"n": "a10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-40"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v11", "t": {"T": 2, "n": 36, "s": 1, "t": "char"}, "location": "s48"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "hostapd_set_freq", "code": "__int64 __fastcall hostapd_set_freq ( _QWORD * @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , unsigned int @@a6@@ , unsigned int @@a7@@ , unsigned int @@a8@@ , unsigned int @@a9@@ , unsigned int @@a10@@ ) { __int64 v10 ; char @@v13@@ [ Number ] ; if ( * ( _QWORD * ) ( * @@a1@@ + Number L ) ) v10 = * ( unsigned int * ) ( * ( _QWORD * ) ( * @@a1@@ + Number L ) + Number L ) ; else v10 = Number L ; if ( ( unsigned int ) hostapd_set_freq_params ( @@v13@@ , @@a2@@ , @@a3@@ , @@a4@@ , @@a5@@ , @@a6@@ , @@a7@@ , @@a8@@ , @@a9@@ , @@a10@@ , v10 ) ) return Number ; if ( ! @@a1@@ [ Number ] ) return Number L ; if ( * ( _QWORD * ) ( @@a1@@ [ Number ] + Number L ) ) return ( * ( __int64 ( __fastcall * * ) ( _QWORD , char * ) ) ( @@a1@@ [ Number ] + Number L ) ) ( @@a1@@ [ Number ] , @@v13@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r72"}, {"n": "a6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r80"}, {"n": "a7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-16"}, {"n": "a8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-24"}, {"n": "a9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-32"}, {"n": "a10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-40"}, {"n": "v13", "t": {"T": 2, "n": 48, "s": 1, "t": "char"}, "location": "s48"}]}