{"name": "packetbuf_attr_copyto", "code": "__int64 __fastcall packetbuf_attr_copyto ( void * @@a1@@ , _QWORD * @@a2@@ ) { __int64 v2 ; __int64 @@result@@ ; __int64 v4 ; memcpy ( @@a1@@ , packetbuf_attrs , Number ) ; v2 = qword_4239E8 ; * @@a2@@ = packetbuf_addrs ; @@a2@@ [ Number ] = v2 ; @@result@@ = qword_4239F0 ; v4 = qword_4239F8 ; @@a2@@ [ Number ] = qword_4239F0 ; @@a2@@ [ Number ] = v4 ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "queuebuf_new_from_packetbuf", "code": "__int64 queuebuf_new_from_packetbuf ( ) { __int64 @@result@@ ; __int64 @@v1@@ ; __int64 @@v2@@ ; __int64 @@v3@@ ; if ( 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 ( ( void * ) ( @@v1@@ + Number ) ) ; } @@result@@ = @@v1@@ ; } else { @@v3@@ = memb_alloc ( ( unsigned __int16 * ) bufmem ) ; if ( @@v3@@ ) { * ( _QWORD * ) @@v3@@ = memb_alloc ( buframmem ) ; if ( ! * ( _QWORD * ) @@v3@@ ) return Number L ; @@v2@@ = * ( _QWORD * ) @@v3@@ ; * ( _WORD * ) @@v2@@ = packetbuf_copyto ( ( char * ) ( * ( _QWORD * ) @@v3@@ + Number L ) ) ; packetbuf_attr_copyto ( ( void * ) ( @@v2@@ + Number ) , ( _QWORD * ) ( @@v2@@ + Number ) ) ; } @@result@@ = @@v3@@ ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "queuebuf_update_attr_from_packetbuf", "code": "__int64 __fastcall queuebuf_update_attr_from_packetbuf ( __int64 @@a1@@ ) { __int64 @@v2@@ ; @@v2@@ = queuebuf_load_to_ram ( @@a1@@ ) ; return packetbuf_attr_copyto ( ( void * ) ( @@v2@@ + Number ) , ( _QWORD * ) ( @@v2@@ + Number ) ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}