{"name": "field_len", "code": "__int64 __fastcall field_len ( __int64 @@a1@@ , _BYTE * @@a2@@ ) { __int64 @@result@@ ; memset ( @@a2@@ , Number , Number ) ; if ( ( * ( _BYTE * ) ( @@a1@@ + Number ) & Number ) != Number ) * @@a2@@ = Number ; if ( ( * ( _BYTE * ) ( @@a1@@ + Number ) & Number ) != Number ) @@a2@@ [ Number ] = Number ; if ( ( * ( _BYTE * ) ( @@a1@@ + Number ) & Number ) != Number && ( * ( _BYTE * ) ( @@a1@@ + Number ) & Number ) != Number && * ( _WORD * ) ( @@a1@@ + Number ) == * ( _WORD * ) ( @@a1@@ + Number ) ) { * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; @@a2@@ [ Number ] = Number ; } else { * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; } @@a2@@ [ Number ] = addr_len ( * ( _BYTE * ) ( @@a1@@ + Number ) & Number ) ; @@result@@ = addr_len ( * ( _BYTE * ) ( @@a1@@ + Number ) & Number ) ; @@a2@@ [ Number ] = @@result@@ ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_BYTE"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "addr_len", "code": "__int64 __fastcall addr_len ( char @@a1@@ ) { if ( @@a1@@ == Number ) return Number L ; if ( @@a1@@ == Number ) return Number L ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "char", "s": 1}, "location": "r56"}]} {"name": "frame802154_hdrlen", "code": "__int64 __fastcall frame802154_hdrlen ( __int64 @@a1@@ ) { char @@v2@@ [ Number ] ; field_len ( @@a1@@ , @@v2@@ ) ; return ( unsigned __int8 ) @@v2@@ [ Number ] + ( unsigned __int8 ) @@v2@@ [ Number ] + ( unsigned __int8 ) @@v2@@ [ Number ] + ( unsigned __int8 ) @@v2@@ [ Number ] + ( unsigned int ) ( unsigned __int8 ) @@v2@@ [ Number ] + Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 2, "n": 5, "s": 1, "t": "char"}, "location": "s5"}]} {"name": "frame802154_create", "code": "__int64 __fastcall frame802154_create ( __int64 @@a1@@ , _BYTE * @@a2@@ , unsigned __int8 @@a3@@ ) { __int16 v4 ; unsigned __int8 v5 ; unsigned __int8 v6 ; unsigned __int8 v7 ; __int16 v8 ; unsigned __int8 v9 ; unsigned __int8 v10 ; unsigned __int8 v11 ; unsigned __int8 @@v13@@ ; unsigned __int8 @@v14@@ ; unsigned __int8 @@v15@@ ; unsigned __int8 @@v16@@ ; unsigned __int8 @@v17@@ ; _BYTE * @@v18@@ ; unsigned __int8 @@v19@@ ; int @@i@@ ; field_len ( @@a1@@ , & @@v13@@ ) ; if ( @@v17@@ + @@v16@@ + @@v15@@ + @@v14@@ + @@v13@@ + Number > @@a3@@ ) return Number L ; @@v18@@ = @@a2@@ ; * @@a2@@ = ( Number * * ( _BYTE * ) ( @@a1@@ + Number ) ) & Number | ( Number * * ( _BYTE * ) ( @@a1@@ + Number ) ) & Number | ( Number * * ( _BYTE * ) ( @@a1@@ + Number ) ) & Number | * ( _BYTE * ) @@a1@@ & Number | ( * ( _BYTE * ) ( @@a1@@ + Number ) << Number ) & Number ; @@v18@@ [ Number ] = ( * ( _BYTE * ) ( @@a1@@ + Number ) << Number ) | ( Number * * ( _BYTE * ) ( @@a1@@ + Number ) ) & Number | ( Number * * ( _BYTE * ) ( @@a1@@ + Number ) ) & Number ; @@v18@@ [ Number ] = * ( _BYTE * ) ( @@a1@@ + Number ) ; @@v19@@ = Number ; if ( @@v13@@ == Number ) { v4 = * ( _WORD * ) ( @@a1@@ + Number ) ; v5 = @@v19@@ ++ ; @@v18@@ [ v5 ] = v4 ; LOBYTE ( v4 ) = HIBYTE ( * ( _WORD * ) ( @@a1@@ + Number ) ) ; v6 = @@v19@@ ++ ; @@v18@@ [ v6 ] = v4 ; } for ( @@i@@ = @@v14@@ ; @@i@@ > Number ; -- @@i@@ ) { v7 = @@v19@@ ++ ; @@v18@@ [ v7 ] = * ( _BYTE * ) ( @@a1@@ + @@i@@ - Number + Number ) ; } if ( @@v15@@ == Number ) { v8 = * ( _WORD * ) ( @@a1@@ + Number ) ; v9 = @@v19@@ ++ ; @@v18@@ [ v9 ] = v8 ; LOBYTE ( v8 ) = HIBYTE ( * ( _WORD * ) ( @@a1@@ + Number ) ) ; v10 = @@v19@@ ++ ; @@v18@@ [ v10 ] = v8 ; } for ( @@i@@ = @@v16@@ ; @@i@@ > Number ; -- @@i@@ ) { v11 = @@v19@@ ++ ; @@v18@@ [ v11 ] = * ( _BYTE * ) ( @@a1@@ + @@i@@ - Number + Number ) ; } return @@v19@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_BYTE"}, "location": "r64"}, {"n": "v18", "t": {"T": 3, "t": "_BYTE"}, "location": "s16"}, {"n": "v17", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s17"}, {"n": "v16", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s18"}, {"n": "v15", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s19"}, {"n": "v14", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s20"}, {"n": "v13", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s21"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v19", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s5"}]}