{"name": "hostapd_wps_event_pbc_active", "code": "__int64 __fastcall hostapd_wps_event_pbc_active ( __int64 @@a1@@ ) { __int64 @@result@@ ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = 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"}]}
{"name": "hostapd_wps_event_cb", "code": "__int64 __fastcall hostapd_wps_event_cb ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int * @@a3@@ ) { __int64 @@result@@ ; switch ( @@a2@@ ) { case Number : wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; break ; case Number : hostapd_wps_event_fail ( @@a1@@ , @@a3@@ ) ; break ; case Number : hostapd_wps_event_success ( ( _DWORD * ) @@a1@@ , @@a3@@ ) ; wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; break ; case Number : hostapd_pwd_auth_fail ( @@a1@@ , ( __int64 ) @@a3@@ ) ; break ; case Number : hostapd_wps_event_pbc_overlap ( @@a1@@ ) ; wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; break ; case Number : hostapd_wps_event_pbc_timeout ( @@a1@@ ) ; wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; break ; case Number : hostapd_wps_event_pbc_active ( @@a1@@ ) ; wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; break ; case Number : hostapd_wps_event_pbc_disable ( @@a1@@ ) ; wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; break ; case Number : hostapd_wps_ap_pin_success ( ( _QWORD * * ) @@a1@@ ) ; break ; default : break ; } @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@result@@ ) @@result@@ = ( * ( __int64 ( __fastcall * * ) ( _QWORD , _QWORD , unsigned int * ) ) ( @@a1@@ + Number ) ) ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ , @@a3@@ ) ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "unsigned int"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}