From b336e0145d3655ebd7b43abd7338016f36640ab0 Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Sat, 14 Aug 2021 18:17:39 -0700 Subject: [PATCH] changed a few file format structures... --- include/vmp2.hpp | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) 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 ]; };