|
|
|
@ -192,7 +192,7 @@ int __cdecl main( int argc, const char *argv[] )
|
|
|
|
|
|
|
|
|
|
if ( file_header->version != vmp2::version_t::v4 )
|
|
|
|
|
{
|
|
|
|
|
std::printf( "[!] invalid vmp2 file version... this build uses v3...\n" );
|
|
|
|
|
std::printf( "[!] invalid vmp2 file version... this build uses v4...\n" );
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -205,7 +205,8 @@ int __cdecl main( int argc, const char *argv[] )
|
|
|
|
|
++rtn_idx, rtn_block = reinterpret_cast< vmp2::v4::rtn_t * >(
|
|
|
|
|
reinterpret_cast< std::uintptr_t >( rtn_block ) + rtn_block->size ) )
|
|
|
|
|
{
|
|
|
|
|
std::printf( "[rtn_0x%p] number of code blocks = %d\n", rtn_block->code_blocks[ 0 ].vip_begin,
|
|
|
|
|
std::printf( "[rtn_0x%p (vm enter rva = 0x%x)] number of code blocks = %d\n",
|
|
|
|
|
rtn_block->code_blocks[ 0 ].vip_begin, rtn_block->vm_enter_offset,
|
|
|
|
|
rtn_block->code_block_count );
|
|
|
|
|
|
|
|
|
|
for ( auto [ code_block, block_idx ] = std::pair{ &rtn_block->code_blocks[ 0 ], 0ull };
|
|
|
|
|