Hey,
since this got leaked from my UG release i'm going to release it.
Simple way to open the developer console. You can also easily add your own commands to the dev console, just look into the BaseLib::CConsole::RegisterCommands() function and you'll see how it works.
Code:
push consoleTitle
push 0 // parent window handle
call 004363B0 // BaseLib::CConsole::GetInstance
mov ecx,eax //
call 00FB0B20 // BaseLib::CConsole::GetInstance().Init(nullptr, "Console");
call 0042BFC0 // BaseLib::CConsole::RegisterCommands();
Pattern for
BaseLib::CConsole::RegisterCommands()
Code:
\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x81\xEC\x00\x00\x00\x00\xA1\x00\x00\x00\x00\x33\xC5\x50\x8D\x45\xF4\x64\xA3\x00\x00\x00\x00\x6A\x0C\xE8\x00\x00\x00\x00
xxxxxx????xx????***????x????xxxxxxxx????***????
BaseLib::CConsole::GetInstance().Init can you find with the string "[ ERROR ] CConsole::CConsole Console Initialize Failed~!!"
BaseLib::CConsole::GetInstance can you find inside
BaseLib::CConsole::RegisterCommands()
Its always: Create Command class instance, call GetInstance and call AddCommand