diff --git a/include/vmp2.hpp b/include/vmp2.hpp index 6705e1d..aaa52a2 100644 --- a/include/vmp2.hpp +++ b/include/vmp2.hpp @@ -250,21 +250,17 @@ namespace vmp2 u32 rtn_offset; }; - struct jcc_data - { - bool has_jcc; - vm::instrs::jcc_type type; - std::uint32_t num_block_addrs; - std::uintptr_t block_addr[ 1 ]; - }; - struct code_block_t { std::uintptr_t vip_begin; std::uintptr_t next_block_offset; - jcc_data jcc; - std::uint32_t vinstr_count; + + bool has_jcc; + vm::instrs::jcc_type jcc_type; + std::uint32_t num_block_addrs; + + std::uintptr_t branch_addr[ 1 ]; vm::instrs::virt_instr_t vinstr[ 1 ]; };