{"name": "packetbuf_attr_copyfrom", "code": "__int64 __fastcall packetbuf_attr_copyfrom ( const void * @@a1@@ , __int64 * @@a2@@ ) { __int64 v2 ; __int64 @@result@@ ; __int64 v4 ; memcpy ( packetbuf_attrs , @@a1@@ , Number ) ; v2 = @@a2@@ [ Number ] ; packetbuf_addrs = * @@a2@@ ; qword_4239E8 = v2 ; @@result@@ = @@a2@@ [ Number ] ; v4 = @@a2@@ [ Number ] ; qword_4239F0 = @@result@@ ; qword_4239F8 = v4 ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "__int64"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "queuebuf_to_packetbuf", "code": "__int64 __fastcall queuebuf_to_packetbuf ( unsigned __int64 @@a1@@ ) { __int64 result ; size_t @@v2@@ ; char * v3 ; __int64 @@v4@@ ; if ( memb_inmemb ( ( unsigned __int16 * ) bufmem , @@a1@@ ) ) { @@v4@@ = queuebuf_load_to_ram ( @@a1@@ ) ; packetbuf_copyfrom ( ( const void * ) ( @@v4@@ + Number ) , * ( _WORD * ) @@v4@@ ) ; result = packetbuf_attr_copyfrom ( ( const void * ) ( @@v4@@ + Number ) , ( __int64 * ) ( @@v4@@ + Number ) ) ; } else { result = memb_inmemb ( refbufmem , @@a1@@ ) ; if ( ( _DWORD ) result ) { packetbuf_clear ( ) ; packetbuf_copyfrom ( * ( const void * * ) ( @@a1@@ + Number ) , * ( _WORD * ) @@a1@@ ) ; packetbuf_hdralloc ( * ( unsigned __int8 * ) ( @@a1@@ + Number ) ) ; @@v2@@ = * ( unsigned __int8 * ) ( @@a1@@ + Number ) ; v3 = packetbuf_hdrptr ( ) ; result = ( __int64 ) memcpy ( v3 , ( const void * ) ( @@a1@@ + Number ) , @@v2@@ ) ; } } return result ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}]}