{"name": "hostapd_wps_ap_pin_enable", "code": "__int64 __fastcall hostapd_wps_ap_pin_enable ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; wpa_printf ( Number L , String , ( unsigned int ) @@a2@@ ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) { wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; wps_registrar_update_ie ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; } @@result@@ = eloop_cancel_timeout ( hostapd_wps_ap_pin_timeout , @@a1@@ , Number L ) ; if ( @@a2@@ > Number ) @@result@@ = eloop_register_timeout ( ( unsigned int ) @@a2@@ , Number L , hostapd_wps_ap_pin_timeout , @@a1@@ , Number L ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "hostapd_wps_ap_pin_timeout", "code": "__int64 __fastcall hostapd_wps_ap_pin_timeout ( __int64 @@a1@@ ) { wpa_printf ( Number L , String ) ; hostapd_wps_ap_pin_disable ( @@a1@@ ) ; return wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "wps_ap_pin_set", "code": "__int64 __fastcall wps_ap_pin_set ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { free ( * ( void * * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; @@v3@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@v3@@ + Number ) = strdup ( ( const char * ) @@a2@@ ) ; hostapd_wps_ap_pin_enable ( @@a1@@ , * ( _DWORD * ) ( @@a2@@ + Number ) ) ; } return Number L ; }", "source": [{"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}