|
|
@ -66,7 +66,9 @@ int main(int argc, char* argv[]) {
|
|
|
|
|
|
|
|
|
|
|
|
spdlog::info("decomposed {} symbols...", res.value());
|
|
|
|
spdlog::info("decomposed {} symbols...", res.value());
|
|
|
|
auto entry_pnt = t.compose();
|
|
|
|
auto entry_pnt = t.compose();
|
|
|
|
|
|
|
|
auto winproc = t.resolve("?GetIO@ImGui@@YAAEAUImGuiIO@@XZ");
|
|
|
|
spdlog::info("entry point address: {:X}", entry_pnt);
|
|
|
|
spdlog::info("entry point address: {:X}", entry_pnt);
|
|
|
|
|
|
|
|
spdlog::info("?GetIO@ImGui@@YAAEAUImGuiIO@@XZ: {:X}", winproc);
|
|
|
|
std::getchar();
|
|
|
|
std::getchar();
|
|
|
|
reinterpret_cast<void (*)()>(entry_pnt)();
|
|
|
|
reinterpret_cast<void (*)()>(entry_pnt)();
|
|
|
|
}
|
|
|
|
}
|