{"name": "queuebuf_new_from_packetbuf", "code": "_QWORD * queuebuf_new_from_packetbuf ( ) { _QWORD * @@result@@ ; __int64 @@v1@@ ; _WORD * @@v2@@ ; _QWORD * @@v3@@ ; if ( ( unsigned int ) packetbuf_is_reference ( ) ) { @@v1@@ = memb_alloc ( & refbufmem ) ; if ( @@v1@@ ) { * ( _WORD * ) @@v1@@ = packetbuf_datalen ( ) ; * ( _QWORD * ) ( @@v1@@ + Number ) = packetbuf_reference_ptr ( ) ; * ( _BYTE * ) ( @@v1@@ + Number ) = packetbuf_copyto_hdr ( @@v1@@ + Number ) ; } @@result@@ = ( _QWORD * ) @@v1@@ ; } else { @@v3@@ = ( _QWORD * ) memb_alloc ( bufmem ) ; if ( @@v3@@ ) { * @@v3@@ = memb_alloc ( & buframmem ) ; if ( ! * @@v3@@ ) return Number L ; @@v2@@ = ( _WORD * ) * @@v3@@ ; * @@v2@@ = packetbuf_copyto ( * @@v3@@ + Number L ) ; packetbuf_attr_copyto ( @@v2@@ + Number , @@v2@@ + Number ) ; } @@result@@ = @@v3@@ ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "v2", "t": {"T": 3, "t": "_WORD"}, "location": "s16"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}