{"name": "memb_inmemb", "code": "_BOOL8 __fastcall memb_inmemb ( unsigned __int16 * @@a1@@ , unsigned __int64 @@a2@@ ) { return @@a2@@ >= * ( ( _QWORD * ) @@a1@@ + Number ) && @@a2@@ < * ( ( _QWORD * ) @@a1@@ + Number ) + @@a1@@ [ Number ] * * @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "unsigned __int16"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r64"}]}
{"name": "queuebuf_free", "code": "__int64 __fastcall queuebuf_free ( __int64 * @@a1@@ ) { __int64 @@result@@ ; if ( memb_inmemb ( ( unsigned __int16 * ) bufmem , ( unsigned __int64 ) @@a1@@ ) ) { memb_free ( buframmem , * @@a1@@ ) ; @@result@@ = memb_free ( ( unsigned __int16 * ) bufmem , ( __int64 ) @@a1@@ ) ; } else { @@result@@ = memb_inmemb ( refbufmem , ( unsigned __int64 ) @@a1@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = memb_free ( refbufmem , ( __int64 ) @@a1@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "__int64"}, "location": "r56"}, {"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"}]} {"name": "queuebuf_dataptr", "code": "__int64 __fastcall queuebuf_dataptr ( unsigned __int64 @@a1@@ ) { if ( memb_inmemb ( ( unsigned __int16 * ) bufmem , @@a1@@ ) ) return queuebuf_load_to_ram ( @@a1@@ ) + Number ; if ( memb_inmemb ( refbufmem , @@a1@@ ) ) return * ( _QWORD * ) ( @@a1@@ + Number ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}]} {"name": "neighbor_addr_get", "code": "_QWORD * __fastcall neighbor_addr_get ( unsigned __int64 @@a1@@ ) { _QWORD * @@i@@ ; if ( memb_inmemb ( & neighbor_addr_mem , @@a1@@ ) ) return ( _QWORD * ) ( @@a1@@ - Number ) ; for ( @@i@@ = ( _QWORD * ) list_head ( ( __int64 ) neighbor_addrs ) ; @@i@@ ; @@i@@ = ( _QWORD * ) * @@i@@ ) { if ( ( unsigned int ) rimeaddr_cmp ( @@a1@@ , ( __int64 ) ( @@i@@ + Number ) ) ) return @@i@@ ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}