{"name": "is_zero_ether_addr", "code": "_BOOL8 __fastcall is_zero_ether_addr ( _BYTE * @@a1@@ ) { return ( ( unsigned __int8 ) ( @@a1@@ [ Number ] | @@a1@@ [ Number ] | @@a1@@ [ Number ] | @@a1@@ [ Number ] | * @@a1@@ ) | @@a1@@ [ Number ] ) == Number ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}]}
{"name": "hostapd_wps_new_psk_cb", "code": "__int64 __fastcall hostapd_wps_new_psk_cb ( __int64 @@a1@@ , unsigned __int8 * @@a2@@ , unsigned __int8 * @@a3@@ , const void * @@a4@@ , __int64 @@a5@@ ) { char @@v9@@ [ Number ] ; FILE * @@stream@@ ; _QWORD * @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; @@v13@@ = @@a1@@ ; @@v12@@ = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ; if ( is_zero_ether_addr ( @@a3@@ ) ) wpa_printf ( Number L , String , * @@a2@@ , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] ) ; else wpa_printf ( Number L , String , * @@a2@@ , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] , * @@a3@@ , @@a3@@ [ Number ] , @@a3@@ [ Number ] , @@a3@@ [ Number ] , @@a3@@ [ Number ] , @@a3@@ [ Number ] ) ; wpa_hexdump_key ( Number L , String , @@a4@@ , @@a5@@ ) ; if ( @@a5@@ != Number ) { wpa_printf ( Number L , String , @@a5@@ ) ; return Number ; } @@v11@@ = ( _QWORD * ) os_zalloc ( Number L ) ; if ( ! @@v11@@ ) return Number ; memcpy ( ( char * ) @@v11@@ + Number , @@a2@@ , Number ) ; memcpy ( ( char * ) @@v11@@ + Number , @@a3@@ , Number ) ; memcpy ( ( char * ) @@v11@@ + Number , @@a4@@ , Number ) ; if ( * ( _QWORD * ) ( @@v13@@ + Number ) ) ( * ( void ( __fastcall * * ) ( _QWORD , unsigned __int8 * , unsigned __int8 * , const void * , __int64 ) ) ( @@v13@@ + Number ) ) ( * ( _QWORD * ) ( @@v13@@ + Number ) , @@a2@@ , @@a3@@ , @@a4@@ , Number L ) ; * @@v11@@ = * ( _QWORD * ) ( @@v12@@ + Number ) ; * ( _QWORD * ) ( @@v12@@ + Number ) = @@v11@@ ; if ( * ( _QWORD * ) ( @@v12@@ + Number ) ) { @@stream@@ = fopen ( * ( const char * * ) ( @@v12@@ + Number ) , String ) ; if ( ! @@stream@@ ) { wpa_printf ( Number L , String , * ( const char * * ) ( @@v12@@ + Number ) ) ; return Number ; } wpa_snprintf_hex ( @@v9@@ , Number L , @@a4@@ , Number L ) ; fprintf ( @@stream@@ , String , * @@a2@@ , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@a2@@ [ Number ] , @@v9@@ ) ; fclose ( @@stream@@ ) ; } return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "unsigned __int8"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const void"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "unsigned __int8"}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "v9", "t": {"T": 2, "n": 80, "s": 1, "t": "char"}, "location": "s144"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v11", "t": {"T": 3, "t": "_QWORD"}, "location": "s56"}, {"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "s64"}]}