|
|
@ -139,8 +139,8 @@ namespace vm
|
|
|
|
|
|
|
|
|
|
|
|
enum class calls : u32
|
|
|
|
enum class calls : u32
|
|
|
|
{
|
|
|
|
{
|
|
|
|
get_world = 0xbffd6fe9,
|
|
|
|
get_world = 0xbffd6ff5,
|
|
|
|
get_hello = 0xbffd6fdd,
|
|
|
|
get_hello = 0xbffd6fe9,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
inline _pair_t< u8, calls > call_map[2] =
|
|
|
|
inline _pair_t< u8, calls > call_map[2] =
|
|
|
@ -158,6 +158,16 @@ namespace vm
|
|
|
|
|
|
|
|
|
|
|
|
u8 map_area[0x29000];
|
|
|
|
u8 map_area[0x29000];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
u8 __get_world_vinstrs[12] =
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
0xff, 0xff, 0xff, 0xfe, 0xc7, 0xf0, 0xd6, 0x30, 0x1a, 0xff, 0x94, 0x80,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
u8 __get_hello_vinstrs[12] =
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
0xff, 0xff, 0xff, 0xfe, 0xc7, 0xf1, 0xd6, 0x58, 0x72, 0xa7, 0xec, 0xd8,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
u8 __vmcall_shell_code[2][15] =
|
|
|
|
u8 __vmcall_shell_code[2][15] =
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{ 0x68, 0x0, 0x0, 0x0, 0x0, 0x68, 0x0, 0x0, 0x0, 0x0, 0xE9, 0x0, 0x0, 0x0, 0x0, },
|
|
|
|
{ 0x68, 0x0, 0x0, 0x0, 0x0, 0x68, 0x0, 0x0, 0x0, 0x0, 0xE9, 0x0, 0x0, 0x0, 0x0, },
|
|
|
|