{"name": "DecodePredicateOperand", "code": "__int64 __fastcall DecodePredicateOperand ( __int64 @@a1@@ , unsigned int @@a2@@ ) { if ( @@a2@@ == Number ) return Number L ; if ( ( unsigned int ) MCInst_getOpcode ( @@a1@@ ) == Number && @@a2@@ == Number ) return Number L ; MCOperand_CreateImm0 ( @@a1@@ , @@a2@@ ) ; if ( @@a2@@ == Number ) MCOperand_CreateReg0 ( @@a1@@ , Number L ) ; else MCOperand_CreateReg0 ( @@a1@@ , Number L ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}]}
{"name": "_ARM_getInstruction", "code": "__int64 __fastcall ARM_getInstruction ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int * @@a3@@ , unsigned __int64 @@a4@@ , _WORD * @@a5@@ , __int64 @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v10@@ ; unsigned int v11 ; unsigned int v12 ; unsigned int v13 ; unsigned int v14 ; unsigned int v15 ; unsigned int v16 ; unsigned int v17 ; unsigned int v18 ; unsigned int @@i@@ ; int @@v20@@ ; if ( @@a4@@ <= Number ) return Number L ; if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) ) { memset ( ( void * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) + Number L ) , Number , Number ) ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) * ( _DWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) + Number L * @@i@@ + Number ) = Number ; } @@v10@@ = * @@a3@@ ; if ( * ( _BYTE * ) ( @@a1@@ + Number ) ) @@v20@@ = _byteswap_ulong ( @@v10@@ ) ; else @@v20@@ = ( BYTE1 ( @@v10@@ ) << Number ) | ( BYTE2 ( @@v10@@ ) << Number ) | ( HIBYTE ( @@v10@@ ) << Number ) | ( unsigned __int8 ) @@v10@@ ; v11 = decodeInstruction_4 ( DecoderTableARM32 , @@a2@@ , @@v20@@ , @@a6@@ , Number L , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( v11 ) { * @@a5@@ = Number ; @@result@@ = v11 ; } else { MCInst_clear ( @@a2@@ ) ; v12 = decodeInstruction_4 ( DecoderTableVFP32 , @@a2@@ , @@v20@@ , @@a6@@ , Number L , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( v12 ) { * @@a5@@ = Number ; @@result@@ = v12 ; } else { MCInst_clear ( @@a2@@ ) ; v13 = decodeInstruction_4 ( DecoderTableVFPV832 , @@a2@@ , @@v20@@ , @@a6@@ , Number L , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( v13 ) { * @@a5@@ = Number ; @@result@@ = v13 ; } else { MCInst_clear ( @@a2@@ ) ; v14 = decodeInstruction_4 ( DecoderTableNEONData32 , @@a2@@ , @@v20@@ , @@a6@@ , Number L , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( v14 ) { * @@a5@@ = Number ; if ( ( unsigned int ) DecodePredicateOperand ( @@a2@@ , Number ) ) @@result@@ = v14 ; else @@result@@ = Number L ; } else { MCInst_clear ( @@a2@@ ) ; v15 = decodeInstruction_4 ( DecoderTableNEONLoadStore32 , @@a2@@ , @@v20@@ , @@a6@@ , Number L , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( v15 ) { * @@a5@@ = Number ; if ( ( unsigned int ) DecodePredicateOperand ( @@a2@@ , Number ) ) @@result@@ = v15 ; else @@result@@ = Number L ; } else { MCInst_clear ( @@a2@@ ) ; v16 = decodeInstruction_4 ( DecoderTableNEONDup32 , @@a2@@ , @@v20@@ , @@a6@@ , Number L , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( v16 ) { * @@a5@@ = Number ; if ( ( unsigned int ) DecodePredicateOperand ( @@a2@@ , Number ) ) @@result@@ = v16 ; else @@result@@ = Number L ; } else { MCInst_clear ( @@a2@@ ) ; v17 = decodeInstruction_4 ( DecoderTablev8NEON32 , @@a2@@ , @@v20@@ , @@a6@@ , Number L , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( v17 ) { * @@a5@@ = Number ; @@result@@ = v17 ; } else { MCInst_clear ( @@a2@@ ) ; v18 = decodeInstruction_4 ( DecoderTablev8Crypto32 , @@a2@@ , @@v20@@ , @@a6@@ , Number L , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( v18 ) { * @@a5@@ = Number ; @@result@@ = v18 ; } else { MCInst_clear ( @@a2@@ ) ; * @@a5@@ = Number ; @@result@@ = Number L ; } } } } } } } } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "unsigned int"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 3, "t": "_WORD"}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v20", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeCopMemInstruction", "code": "__int64 __fastcall DecodeCopMemInstruction ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int @@v8@@ ; int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; unsigned int @@v12@@ ; unsigned int @@v13@@ ; unsigned int @@v14@@ ; @@v8@@ = Number ; @@v13@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v12@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v14@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; v2 = MCInst_getOpcode ( @@a1@@ ) ; if ( v2 <= Number ) { if ( v2 < Number ) { if ( v2 > Number ) goto LABEL_12 ; if ( v2 < Number ) { if ( v2 > Number ) { if ( v2 - Number > Number ) goto LABEL_12 ; } else if ( v2 < Number ) { goto LABEL_12 ; } } } if ( @@v11@@ == Number || @@v11@@ == Number ) return Number L ; } LABEL_12 : MCOperand_CreateImm0 ( @@a1@@ , @@v11@@ ) ; MCOperand_CreateImm0 ( @@a1@@ , @@v12@@ ) ; v4 = DecodeGPRRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v4 ) != Number ) return Number L ; v5 = MCInst_getOpcode ( @@a1@@ ) ; if ( v5 > Number ) goto LABEL_30 ; if ( v5 < Number ) { if ( v5 <= Number ) { if ( v5 >= Number ) { switch ( v5 ) { case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : goto LABEL_28 ; case Number : case Number : case Number : case Number : goto LABEL_29 ; default : goto LABEL_30 ; } } if ( v5 > Number ) { if ( v5 <= Number && v5 >= Number ) { switch ( v5 ) { case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : goto LABEL_28 ; case Number : case Number : case Number : case Number : goto LABEL_29 ; default : break ; } } } else if ( v5 >= Number ) { switch ( v5 ) { case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : goto LABEL_28 ; case Number : case Number : case Number : case Number : goto LABEL_29 ; default : break ; } } } LABEL_30 : MCOperand_CreateImm0 ( @@a1@@ , @@v14@@ ) ; goto LABEL_31 ; } switch ( v5 ) { case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : LABEL_28 : @@v14@@ = ARM_AM_getAM5Opc ( @@v9@@ != Number , @@v14@@ ) ; MCOperand_CreateImm0 ( @@a1@@ , @@v14@@ ) ; break ; case Number : case Number : case Number : case Number : LABEL_29 : @@v14@@ |= @@v9@@ << Number ; goto LABEL_30 ; default : goto LABEL_30 ; } LABEL_31 : v6 = MCInst_getOpcode ( @@a1@@ ) ; if ( v6 > Number ) { if ( v6 - Number > Number ) return @@v8@@ ; } else if ( v6 < Number ) { return @@v8@@ ; } v7 = DecodePredicateOperand ( @@a1@@ , @@v13@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v7 ) != Number ) return Number L ; return @@v8@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v14", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeAddrMode2IdxInstruction", "code": "__int64 __fastcall DecodeAddrMode2IdxInstruction ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; unsigned int v3 ; __int64 result ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int v8 ; bool v9 ; unsigned int v10 ; unsigned int v11 ; unsigned int v12 ; unsigned int @@v13@@ ; int @@v14@@ ; unsigned int @@v15@@ ; bool @@v16@@ ; int @@v17@@ ; int @@v18@@ ; int @@v19@@ ; unsigned int @@v20@@ ; unsigned int @@v21@@ ; unsigned int @@v22@@ ; unsigned int @@v23@@ ; unsigned int @@v24@@ ; int @@v25@@ ; int @@v26@@ ; int @@v27@@ ; @@v13@@ = Number ; @@v24@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v23@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v22@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v21@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v20@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v19@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v18@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v17@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v25@@ = Number ; v2 = MCInst_getOpcode ( @@a1@@ ) ; if ( v2 > Number ) { if ( v2 - Number > Number ) goto LABEL_7 ; } else if ( v2 < Number ) { goto LABEL_7 ; } v3 = DecodeGPRRegisterClass ( @@a1@@ , @@v24@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v13@@ , v3 ) != Number ) return Number L ; LABEL_7 : v5 = DecodeGPRRegisterClass ( @@a1@@ , @@v23@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v13@@ , v5 ) != Number ) return Number L ; v6 = MCInst_getOpcode ( @@a1@@ ) ; if ( v6 > Number ) { if ( v6 - Number > Number ) goto LABEL_15 ; } else if ( v6 < Number ) { goto LABEL_15 ; } v7 = DecodeGPRRegisterClass ( @@a1@@ , @@v24@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v13@@ , v7 ) != Number ) return Number L ; LABEL_15 : v8 = DecodeGPRRegisterClass ( @@a1@@ , @@v24@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v13@@ , v8 ) != Number ) return Number L ; @@v27@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) != Number ; v9 = ! @@v18@@ || @@v17@@ == Number ; @@v16@@ = v9 ; if ( @@v18@@ && @@v16@@ ) { @@v25@@ = Number ; } else if ( ! @@v18@@ && @@v16@@ ) { @@v25@@ = Number ; } if ( @@v16@@ && ( @@v24@@ == Number || @@v24@@ == @@v23@@ ) ) @@v13@@ = Number ; if ( @@v19@@ ) { v10 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v22@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v13@@ , v10 ) != Number ) return Number L ; @@v26@@ = Number ; v11 = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( v11 == Number ) { @@v26@@ = Number ; } else { if ( v11 > Number ) return Number L ; if ( v11 == Number ) { @@v26@@ = Number ; } else if ( v11 ) { @@v26@@ = Number ; } else { @@v26@@ = Number ; } } @@v14@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v26@@ == Number && ! @@v14@@ ) @@v26@@ = Number ; @@v21@@ = ARM_AM_getAM2Opc ( @@v27@@ , @@v14@@ , @@v26@@ , @@v25@@ ) ; MCOperand_CreateImm0 ( @@a1@@ , @@v21@@ ) ; } else { MCOperand_CreateReg0 ( @@a1@@ , Number L ) ; @@v15@@ = ARM_AM_getAM2Opc ( @@v27@@ , @@v21@@ , Number , @@v25@@ ) ; MCOperand_CreateImm0 ( @@a1@@ , @@v15@@ ) ; } v12 = DecodePredicateOperand ( @@a1@@ , @@v20@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v13@@ , v12 ) != Number ) result = Number L ; else result = @@v13@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v25", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v24", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v23", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v22", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v21", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v20", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s32"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v27", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v18", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "v16", "t": {"T": 1, "n": "bool", "s": 1}, "location": "s45"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s52"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s56"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s60"}, {"n": "v26", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "DecodeAddrMode3Instruction", "code": "__int64 __fastcall DecodeAddrMode3Instruction ( __int64 @@a1@@ , unsigned int @@a2@@ ) { int v2 ; unsigned int v3 ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; __int64 result ; unsigned int v8 ; unsigned int v9 ; unsigned int v10 ; unsigned int v11 ; unsigned int v12 ; unsigned int v13 ; unsigned int v14 ; unsigned int @@v15@@ ; bool @@v16@@ ; int @@v17@@ ; int @@v18@@ ; int @@v19@@ ; unsigned int @@v20@@ ; int @@v21@@ ; int @@v22@@ ; unsigned int @@v23@@ ; unsigned int @@v24@@ ; unsigned int @@v25@@ ; unsigned int @@v26@@ ; @@v15@@ = Number ; @@v25@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v24@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v23@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v22@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v21@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( ( fieldFromInstruction_4 ( @@a2@@ , Number , Number ) & Number ) != Number ) v2 = Number ; else v2 = Number ; @@v26@@ = v2 ; @@v20@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v19@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v18@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v17@@ = @@v25@@ + Number ; @@v16@@ = @@v19@@ == Number || @@v18@@ == Number ; v3 = MCInst_getOpcode ( @@a1@@ ) ; if ( v3 > Number ) { if ( v3 - Number > Number ) goto LABEL_10 ; } else if ( v3 < Number ) { goto LABEL_10 ; } if ( ( @@v25@@ & Number ) != Number ) @@v15@@ = Number ; LABEL_10 : v4 = MCInst_getOpcode ( @@a1@@ ) ; if ( v4 <= Number ) { if ( v4 >= Number || v4 == Number ) { if ( @@v25@@ == Number ) @@v15@@ = Number ; if ( @@v16@@ && ( @@v24@@ == Number || @@v24@@ == @@v25@@ ) ) @@v15@@ = Number ; if ( ! @@v22@@ && @@v23@@ == Number ) @@v15@@ = Number ; } else if ( v4 <= Number ) { if ( v4 > Number ) { if ( v4 - Number <= Number ) { if ( ! @@v18@@ && @@v19@@ == Number ) @@v15@@ = Number ; if ( @@v16@@ && ( @@v24@@ == Number || @@v24@@ == @@v25@@ || @@v24@@ == @@v17@@ ) ) @@v15@@ = Number ; if ( @@v22@@ && @@v23@@ == Number ) @@v15@@ = Number ; if ( @@v17@@ == Number ) @@v15@@ = Number ; if ( ! @@v22@@ && ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ) @@v15@@ = Number ; } } else if ( v4 >= Number ) { switch ( v4 ) { case Number : case Number : case Number : if ( @@v22@@ && @@v24@@ == Number ) { if ( @@v17@@ == Number ) @@v15@@ = Number ; } else { if ( ! @@v18@@ && @@v19@@ == Number ) @@v15@@ = Number ; if ( ! @@v22@@ && ( @@v17@@ == Number || @@v23@@ == Number || @@v23@@ == @@v25@@ || @@v23@@ == @@v17@@ ) ) @@v15@@ = Number ; if ( ! @@v22@@ && @@v16@@ && @@v24@@ == Number ) @@v15@@ = Number ; if ( @@v16@@ && ( @@v24@@ == @@v25@@ || @@v24@@ == @@v17@@ ) ) @@v15@@ = Number ; } break ; case Number : case Number : case Number : if ( @@v22@@ && @@v24@@ == Number ) { if ( @@v25@@ == Number ) @@v15@@ = Number ; } else { if ( @@v25@@ == Number ) @@v15@@ = Number ; if ( ! @@v22@@ && @@v23@@ == Number ) @@v15@@ = Number ; if ( ! @@v22@@ && @@v16@@ && ( @@v24@@ == Number || @@v24@@ == @@v25@@ ) ) @@v15@@ = Number ; } break ; case Number : case Number : case Number : case Number : case Number : case Number : if ( @@v22@@ && @@v24@@ == Number ) { if ( @@v25@@ == Number ) @@v15@@ = Number ; } else { if ( @@v22@@ && ( @@v25@@ == Number || @@v16@@ && @@v24@@ == @@v25@@ ) ) @@v15@@ = Number ; if ( ! @@v22@@ && ( @@v25@@ == Number || @@v23@@ == Number ) ) @@v15@@ = Number ; if ( ! @@v22@@ && @@v16@@ && ( @@v24@@ == Number || @@v24@@ == @@v25@@ ) ) @@v15@@ = Number ; } break ; default : break ; } } } } if ( @@v16@@ ) { * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; @@v26@@ |= @@v18@@ ? Number : Number ; v5 = MCInst_getOpcode ( @@a1@@ ) - Number ; if ( v5 <= Number && ( ( Number L << v5 ) & Number ) != Number ) { v6 = DecodeGPRRegisterClass ( @@a1@@ , @@v24@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v15@@ , v6 ) != Number ) return Number L ; } } v8 = DecodeGPRRegisterClass ( @@a1@@ , @@v25@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v15@@ , v8 ) != Number ) return Number L ; v9 = MCInst_getOpcode ( @@a1@@ ) ; if ( v9 > Number ) { if ( v9 - Number > Number ) goto LABEL_112 ; } else if ( v9 < Number ) { goto LABEL_112 ; } v10 = DecodeGPRRegisterClass ( @@a1@@ , @@v25@@ + Number ) ; if ( ( unsigned __int8 ) Check ( & @@v15@@ , v10 ) != Number ) return Number L ; LABEL_112 : if ( @@v16@@ ) { switch ( ( unsigned int ) MCInst_getOpcode ( @@a1@@ ) ) { case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : v11 = DecodeGPRRegisterClass ( @@a1@@ , @@v24@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v15@@ , v11 ) == Number ) goto LABEL_116 ; result = Number L ; break ; default : goto LABEL_116 ; } } else { LABEL_116 : v12 = DecodeGPRRegisterClass ( @@a1@@ , @@v24@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v15@@ , v12 ) != Number ) return Number L ; if ( @@v22@@ ) { MCOperand_CreateReg0 ( @@a1@@ , Number L ) ; MCOperand_CreateImm0 ( @@a1@@ , @@v23@@ | @@v26@@ | ( Number * @@v21@@ ) ) ; } else { v13 = DecodeGPRRegisterClass ( @@a1@@ , @@v23@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v15@@ , v13 ) != Number ) return Number L ; MCOperand_CreateImm0 ( @@a1@@ , @@v26@@ ) ; } v14 = DecodePredicateOperand ( @@a1@@ , @@v20@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v15@@ , v14 ) != Number ) result = Number L ; else result = @@v15@@ ; } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v24", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v23", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v22", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v20", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v18", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v26", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v16", "t": {"T": 1, "n": "bool", "s": 1}, "location": "s41"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s48"}, {"n": "v25", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeQADDInstruction", "code": "__int64 __fastcall DecodeQADDInstruction ( __int64 @@a1@@ , unsigned int @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { __int64 result ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int v8 ; unsigned int @@v11@@ ; unsigned int @@v12@@ ; unsigned int @@v13@@ ; unsigned int @@v14@@ ; unsigned int @@v15@@ ; @@v11@@ = Number ; @@v15@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v14@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v13@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v12@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v12@@ == Number ) return DecodeCPSInstruction ( @@a1@@ , @@a2@@ , @@a3@@ , @@a4@@ ) ; v5 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v15@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v11@@ , v5 ) != Number ) return Number L ; v6 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v14@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v11@@ , v6 ) != Number ) return Number L ; v7 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v13@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v11@@ , v7 ) != Number ) return Number L ; v8 = DecodePredicateOperand ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v11@@ , v8 ) != Number ) result = Number L ; else result = @@v11@@ ; return result ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v14", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeMemMultipleWritebackInstruction", "code": "__int64 __fastcall DecodeMemMultipleWritebackInstruction ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int v8 ; unsigned int @@v9@@ ; int @@v10@@ ; unsigned int @@v11@@ ; unsigned int @@v12@@ ; @@v9@@ = Number ; @@v12@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v11@@ == Number ) { v2 = MCInst_getOpcode ( @@a1@@ ) ; if ( v2 <= Number ) { if ( v2 >= Number ) { switch ( v2 ) { case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; goto LABEL_27 ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; goto LABEL_27 ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; goto LABEL_27 ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; goto LABEL_27 ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; goto LABEL_27 ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; goto LABEL_27 ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; goto LABEL_27 ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; goto LABEL_27 ; default : return Number L ; } } return Number L ; } if ( v2 > Number || v2 < Number ) return Number L ; switch ( v2 ) { case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; break ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; break ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; break ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; break ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; break ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; break ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; break ; case Number : MCInst_setOpcode ( @@a1@@ , Number L ) ; break ; default : return Number L ; } LABEL_27 : if ( ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ) { result = DecodeRFEInstruction ( @@a1@@ , @@a2@@ ) ; } else if ( ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) == Number && ! ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ) { v4 = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; MCOperand_CreateImm0 ( @@a1@@ , v4 ) ; result = @@v9@@ ; } else { result = Number L ; } } else { v5 = DecodeGPRRegisterClass ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v9@@ , v5 ) != Number ) { result = Number L ; } else { v6 = DecodeGPRRegisterClass ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v9@@ , v6 ) != Number ) { result = Number L ; } else { v7 = DecodePredicateOperand ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v9@@ , v7 ) != Number ) { result = Number L ; } else { v8 = DecodeRegListOperand ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v9@@ , v8 ) != Number ) result = Number L ; else result = @@v9@@ ; } } } } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeArmMOVTWInstruction", "code": "__int64 __fastcall DecodeArmMOVTWInstruction ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int @@v6@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; @@v6@@ = Number ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v8@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v7@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v7@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; if ( ( unsigned int ) MCInst_getOpcode ( @@a1@@ ) == Number ) { v2 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v6@@ , v2 ) != Number ) return Number L ; } v4 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v6@@ , v4 ) != Number ) return Number L ; MCOperand_CreateImm0 ( @@a1@@ , @@v7@@ ) ; v5 = DecodePredicateOperand ( @@a1@@ , @@v8@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v6@@ , v5 ) != Number ) result = Number L ; else result = @@v6@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeSMLAInstruction", "code": "__int64 __fastcall DecodeSMLAInstruction ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 result ; unsigned int v3 ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; unsigned int @@v12@@ ; unsigned int @@v13@@ ; @@v8@@ = Number ; @@v13@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v12@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v9@@ == Number ) return DecodeCPSInstruction ( @@a1@@ , @@a2@@ ) ; v3 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v13@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v3 ) != Number ) return Number L ; v4 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v4 ) != Number ) return Number L ; v5 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v5 ) != Number ) return Number L ; v6 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v6 ) != Number ) return Number L ; v7 = DecodePredicateOperand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v7 ) != Number ) result = Number L ; else result = @@v8@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeBranchImmInstruction", "code": "__int64 __fastcall DecodeBranchImmInstruction ( __int64 @@a1@@ , unsigned int @@a2@@ ) { int v2 ; int v3 ; __int64 result ; int v5 ; unsigned int v6 ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; @@v7@@ = Number ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v8@@ = Number * fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v9@@ == Number ) { MCInst_setOpcode ( @@a1@@ , Number L ) ; v2 = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; v3 = SignExtend32 ( ( Number * v2 ) | @@v8@@ , Number ) ; MCOperand_CreateImm0 ( @@a1@@ , v3 ) ; result = @@v7@@ ; } else { v5 = SignExtend32 ( @@v8@@ , Number ) ; MCOperand_CreateImm0 ( @@a1@@ , v5 ) ; v6 = DecodePredicateOperand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v6 ) != Number ) result = Number L ; else result = @@v7@@ ; } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeThumb2BCCInstruction", "code": "__int64 __fastcall DecodeThumb2BCCInstruction ( __int64 @@a1@@ , unsigned int @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { __int64 result ; unsigned int v5 ; unsigned int v6 ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; int @@v12@@ ; unsigned int @@v13@@ ; @@v9@@ = Number ; @@v13@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v13@@ == Number || @@v13@@ == Number ) { @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v11@@ == Number ) { MCInst_setOpcode ( @@a1@@ , Number L ) ; } else { if ( @@v11@@ > Number ) return Number L ; if ( @@v11@@ == Number ) { MCInst_setOpcode ( @@a1@@ , Number L ) ; } else { if ( @@v11@@ != Number ) return Number L ; MCInst_setOpcode ( @@a1@@ , Number L ) ; } } @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; result = DecodeMemBarrierOption ( @@a1@@ , @@v10@@ , @@a3@@ , @@a4@@ ) ; } else { @@v12@@ = Number * fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v12@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v12@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v12@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v12@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; v5 = DecodeT2BROperand ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v9@@ , v5 ) != Number ) { result = Number L ; } else { v6 = DecodePredicateOperand ( @@a1@@ , @@v13@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v9@@ , v6 ) != Number ) result = Number L ; else result = @@v9@@ ; } } return result ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v12", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "DecodeDoubleRegLoad", "code": "__int64 __fastcall DecodeDoubleRegLoad ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int @@v6@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; @@v6@@ = Number ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v8@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v7@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v8@@ == Number ) @@v6@@ = Number ; v2 = DecodeGPRPairRegisterClass ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v6@@ , v2 ) != Number ) return Number L ; v4 = DecodeGPRRegisterClass ( @@a1@@ , @@v8@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v6@@ , v4 ) != Number ) return Number L ; v5 = DecodePredicateOperand ( @@a1@@ , @@v7@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v6@@ , v5 ) != Number ) result = Number L ; else result = @@v6@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeDoubleRegStore", "code": "__int64 __fastcall DecodeDoubleRegStore ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; @@v7@@ = Number ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v8@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; v2 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v2 ) != Number ) return Number L ; if ( @@v9@@ == Number || @@v11@@ == @@v9@@ || @@v11@@ == @@v10@@ || @@v11@@ == @@v10@@ + Number ) @@v7@@ = Number ; v4 = DecodeGPRPairRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v4 ) != Number ) return Number L ; v5 = DecodeGPRRegisterClass ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v5 ) != Number ) return Number L ; v6 = DecodePredicateOperand ( @@a1@@ , @@v8@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v6 ) != Number ) result = Number L ; else result = @@v7@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeLDRPreImm", "code": "__int64 __fastcall DecodeLDRPreImm ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; @@v7@@ = Number ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v9@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v8@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v11@@ == Number || @@v11@@ == @@v10@@ ) @@v7@@ = Number ; v2 = DecodeGPRRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v2 ) != Number ) return Number L ; v4 = DecodeGPRRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v4 ) != Number ) return Number L ; v5 = DecodeAddrModeImm12Operand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v5 ) != Number ) return Number L ; v6 = DecodePredicateOperand ( @@a1@@ , @@v8@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v6 ) != Number ) result = Number L ; else result = @@v7@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeLDRPreReg", "code": "__int64 __fastcall DecodeLDRPreReg ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int @@v7@@ ; int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; unsigned int @@v12@@ ; @@v7@@ = Number ; @@v12@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v10@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v8@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v12@@ == Number || @@v12@@ == @@v11@@ ) @@v7@@ = Number ; if ( @@v8@@ == Number ) @@v7@@ = Number ; v2 = DecodeGPRRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v2 ) != Number ) return Number L ; v4 = DecodeGPRRegisterClass ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v4 ) != Number ) return Number L ; v5 = DecodeSORegMemOperand ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v5 ) != Number ) return Number L ; v6 = DecodePredicateOperand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v6 ) != Number ) result = Number L ; else result = @@v7@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeSTRPreImm", "code": "__int64 __fastcall DecodeSTRPreImm ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; @@v7@@ = Number ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v9@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v8@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v11@@ == Number || @@v11@@ == @@v10@@ ) @@v7@@ = Number ; v2 = DecodeGPRRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v2 ) != Number ) return Number L ; v4 = DecodeGPRRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v4 ) != Number ) return Number L ; v5 = DecodeAddrModeImm12Operand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v5 ) != Number ) return Number L ; v6 = DecodePredicateOperand ( @@a1@@ , @@v8@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v6 ) != Number ) result = Number L ; else result = @@v7@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeSTRPreReg", "code": "__int64 __fastcall DecodeSTRPreReg ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; @@v7@@ = Number ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v9@@ |= ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) << Number ; @@v8@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v11@@ == Number || @@v11@@ == @@v10@@ ) @@v7@@ = Number ; v2 = DecodeGPRRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v2 ) != Number ) return Number L ; v4 = DecodeGPRRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v4 ) != Number ) return Number L ; v5 = DecodeSORegMemOperand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v5 ) != Number ) return Number L ; v6 = DecodePredicateOperand ( @@a1@@ , @@v8@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v6 ) != Number ) result = Number L ; else result = @@v7@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeVMOVSRR", "code": "__int64 __fastcall DecodeVMOVSRR ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; unsigned int @@v12@@ ; @@v8@@ = Number ; @@v12@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ |= Number * fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v12@@ == Number || @@v11@@ == Number || @@v10@@ == Number ) @@v8@@ = Number ; v2 = DecodeSPRRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v2 ) != Number ) return Number L ; v4 = DecodeSPRRegisterClass ( @@a1@@ , @@v10@@ + Number ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v4 ) != Number ) return Number L ; v5 = DecodeGPRRegisterClass ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v5 ) != Number ) return Number L ; v6 = DecodeGPRRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v6 ) != Number ) return Number L ; v7 = DecodePredicateOperand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v7 ) != Number ) result = Number L ; else result = @@v8@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeVMOVRRS", "code": "__int64 __fastcall DecodeVMOVRRS ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; unsigned int @@v12@@ ; @@v8@@ = Number ; @@v12@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ |= Number * fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v12@@ == Number || @@v11@@ == Number || @@v10@@ == Number ) @@v8@@ = Number ; v2 = DecodeGPRRegisterClass ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v2 ) != Number ) return Number L ; v4 = DecodeGPRRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v4 ) != Number ) return Number L ; v5 = DecodeSPRRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v5 ) != Number ) return Number L ; v6 = DecodeSPRRegisterClass ( @@a1@@ , @@v10@@ + Number ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v6 ) != Number ) return Number L ; v7 = DecodePredicateOperand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v7 ) != Number ) result = Number L ; else result = @@v8@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeSwap", "code": "__int64 __fastcall DecodeSwap ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 result ; unsigned int v3 ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v8@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( @@v8@@ == Number ) return DecodeCPSInstruction ( @@a1@@ , @@a2@@ ) ; @@v7@@ = Number ; if ( @@v11@@ == @@v9@@ || @@v9@@ == @@v10@@ ) @@v7@@ = Number ; v3 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v3 ) != Number ) return Number L ; v4 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v4 ) != Number ) return Number L ; v5 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v5 ) != Number ) return Number L ; v6 = DecodePredicateOperand ( @@a1@@ , @@v8@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v7@@ , v6 ) != Number ) result = Number L ; else result = @@v7@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "DecodeLDR", "code": "__int64 __fastcall DecodeLDR ( __int64 @@a1@@ , unsigned int @@a2@@ ) { unsigned int v2 ; __int64 result ; unsigned int v4 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; unsigned int @@v11@@ ; unsigned int @@v12@@ ; @@v8@@ = Number ; @@v12@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v11@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v10@@ |= Number * fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; @@v9@@ = fieldFromInstruction_4 ( @@a2@@ , Number , Number ) ; if ( ( unsigned int ) fieldFromInstruction_4 ( @@a2@@ , Number , Number ) || @@v12@@ == @@v11@@ ) @@v8@@ = Number ; v2 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v11@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v2 ) != Number ) return Number L ; v4 = DecodeGPRnopcRegisterClass ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v4 ) != Number ) return Number L ; v5 = DecodeAddrMode7Operand ( @@a1@@ , @@v12@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v5 ) != Number ) return Number L ; v6 = DecodePostIdxReg ( @@a1@@ , @@v10@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v6 ) != Number ) return Number L ; v7 = DecodePredicateOperand ( @@a1@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) Check ( & @@v8@@ , v7 ) != Number ) result = Number L ; else result = @@v8@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]}