{"name": "packetbuf_totlen", "code": "__int64 packetbuf_totlen ( ) { int @@v0@@ ; @@v0@@ = ( unsigned __int8 ) packetbuf_hdrlen ( ) ; return @@v0@@ + ( unsigned int ) packetbuf_datalen ( ) ; }", "source": [{"n": "v0", "t": {"T": 1, "n": "int", "s": 4}, "location": "r32"}]}
{"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": "packetbuf_hdralloc", "code": "__int64 __fastcall packetbuf_hdralloc ( int @@a1@@ ) { if ( @@a1@@ > ( unsigned __int8 ) hdrptr || ( unsigned __int16 ) packetbuf_totlen ( ) + @@a1@@ > Number ) return Number L ; hdrptr -= @@a1@@ ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}]}