Skip to content

Commit

Permalink
Updated KoalaBox
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Feb 7, 2022
1 parent beed4a7 commit 80b97f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion KoalaBox
5 changes: 4 additions & 1 deletion src/hooker/hooker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ AddressBook hooker::address_book = {}; // NOLINT(cert-err58-cpp)
Vector<Detour*> hooks; // NOLINT(cert-err58-cpp)

void hook(
HMODULE module, const char* function_name, char* callback_function, uint64_t* trampoline_address
HMODULE module,
const char* function_name,
char* callback_function,
uint64_t* trampoline_address
) {
logger::info("Hooking '{}'", function_name);

Expand Down
2 changes: 1 addition & 1 deletion src/unlocker/unlocker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ void unlocker::init(HMODULE self_module) {
logger::info("📚 Obtained a handle for loader module: '{}'", loader_dll_name);
}
});
init.detach();

init.detach();

} else {
logger::info("Detected proxy mode");
Expand Down

0 comments on commit 80b97f2

Please sign in to comment.