{"name": "hostapd_set_authorized", "code": "__int64 __fastcall hostapd_set_authorized ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { unsigned int v3 ; __int64 result ; unsigned int v5 ; if ( @@a3@@ ) { v3 = hostapd_sta_flags_to_drv ( * ( _DWORD * ) ( @@a2@@ + Number ) ) ; result = hostapd_sta_set_flags ( @@a1@@ , @@a2@@ + Number , v3 , Number L , Number ) ; } else { v5 = hostapd_sta_flags_to_drv ( * ( _DWORD * ) ( @@a2@@ + Number ) ) ; result = hostapd_sta_set_flags ( @@a1@@ , @@a2@@ + Number , v5 , Number L , Number L ) ; } return result ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}
{"name": "hostapd_sta_flags_to_drv", "code": "__int64 __fastcall hostapd_sta_flags_to_drv ( __int16 @@a1@@ ) { unsigned int @@v2@@ ; @@v2@@ = ( @@a1@@ & Number ) != Number ; if ( ( @@a1@@ & Number ) != Number ) @@v2@@ |= Number ; if ( ( @@a1@@ & Number ) != Number ) @@v2@@ |= Number ; if ( ( @@a1@@ & Number ) != Number ) @@v2@@ |= Number ; if ( ( @@a1@@ & Number ) != Number ) @@v2@@ |= Number ; if ( ( @@a1@@ & Number ) != Number ) @@v2@@ |= Number ; return @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} {"name": "hostapd_sta_set_flags", "code": "__int64 __fastcall hostapd_sta_set_flags ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ ) { __int64 @@result@@ ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) && * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) @@result@@ = ( * ( __int64 ( __fastcall * * ) ( _QWORD , __int64 , _QWORD , _QWORD , _QWORD ) ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ , @@a3@@ , @@a4@@ , @@a5@@ ) ; else @@result@@ = Number L ; 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": "__int64", "s": 8}, "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"}]}