{"name": "packetbuf_set_addr", "code": "__int64 __fastcall packetbuf_set_addr ( unsigned __int8 @@a1@@ , __int64 @@a2@@ ) { rimeaddr_copy ( ( __int64 ) & packetbuf_addrs [ @@a1@@ - Number ] , @@a2@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}
{"name": "rimeaddr_copy", "code": "__int64 __fastcall rimeaddr_copy ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; unsigned __int8 @@i@@ ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { * ( _BYTE * ) ( @@a1@@ + @@i@@ ) = * ( _BYTE * ) ( @@a2@@ + @@i@@ ) ; @@result@@ = ( unsigned int ) @@i@@ + Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s1"}]} {"name": "send_packet_0", "code": "__int64 __fastcall send_packet_0 ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned int @@v2@@ ; __int64 v3 ; int v4 ; unsigned int @@v6@@ ; packetbuf_set_addr ( Number L , & rimeaddr_node_addr ) ; if ( ( int ) framer_802154 ( ) >= Number ) { @@v2@@ = ( unsigned __int16 ) packetbuf_totlen ( ) ; v3 = packetbuf_hdrptr ( ) ; v4 = send ( v3 , @@v2@@ ) ; if ( v4 == Number ) { @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; } if ( v4 <= Number ) { if ( ! v4 ) { @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; } if ( v4 == Number ) { @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; } } @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; } @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}]} {"name": "parse", "code": "__int64 parse ( ) { unsigned __int16 v0 ; unsigned int @@v1@@ ; __int64 v2 ; char @@v4@@ [ Number ] ; char @@v5@@ ; unsigned __int8 @@v6@@ ; __int16 @@v7@@ ; _BYTE @@v8@@ [ Number ] ; __int16 @@v9@@ ; unsigned __int8 @@v10@@ ; int @@v11@@ ; v0 = packetbuf_datalen ( ) ; @@v11@@ = v0 ; @@v1@@ = ( unsigned __int8 ) v0 ; v2 = packetbuf_dataptr ( ) ; if ( ! ( unsigned __int8 ) frame802154_parse ( v2 , @@v1@@ , @@v4@@ ) || ! ( unsigned int ) packetbuf_hdrreduce ( @@v11@@ - ( unsigned int ) @@v10@@ ) ) return Number ; if ( @@v5@@ ) { if ( @@v7@@ != Number && @@v7@@ != Number ) return Number ; if ( ! ( unsigned int ) is_broadcast_addr ( @@v5@@ , ( __int64 ) @@v8@@ ) ) packetbuf_set_addr ( Number L , @@v8@@ ) ; } packetbuf_set_addr ( Number L , & @@v9@@ ) ; packetbuf_set_attr ( Number L , ( unsigned __int8 ) @@v4@@ [ Number ] ) ; packetbuf_set_attr ( Number L , @@v6@@ ) ; return @@v11@@ - ( unsigned int ) @@v10@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "v11", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s32"}, {"n": "v9", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s74"}, {"n": "v8", "t": {"T": 2, "n": 10, "s": 1, "t": "_BYTE"}, "location": "s84"}, {"n": "v7", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s86"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s88"}, {"n": "v5", "t": {"T": 1, "n": "char", "s": 1}, "location": "s91"}, {"n": "v4", "t": {"T": 2, "n": 5, "s": 1, "t": "char"}, "location": "s96"}]} {"name": "send_packet_1", "code": "__int64 __fastcall send_packet_1 ( __int64 @@a1@@ ) { packetbuf_set_addr ( Number , @@a1@@ ) ; send_packet ( ( __int64 ) packet_sent , Number L ) ; return watchdog_periodic ( ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}