Last active
January 16, 2024 15:15
-
-
Save x4fx77x4f/4fb3f974cd4936c12af1ba017441dc23 to your computer and use it in GitHub Desktop.
Analytics disabler for Teardown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define NULL ((void*) 0) | |
__declspec(dllexport) int hydra5_client_connect_developer(void* _1, void* _2) { | |
return 1; | |
} | |
__declspec(dllexport) int hydra5_client_connect_steam(void* _1, void* _2) { | |
return 1; | |
} | |
__declspec(dllexport) void* hydra5_client_create(void* _1) { | |
return NULL; | |
} | |
__declspec(dllexport) void* hydra5_client_get_kernel_session_id_visual_alias(void* _1) { | |
return NULL; | |
} | |
__declspec(dllexport) void hydra5_disconnect_everything(void) {} | |
__declspec(dllexport) char* hydra5_get_error_message(int error_code) { | |
return "cauterizer"; | |
} | |
__declspec(dllexport) int hydra5_init(void* _1, void* _2, void* _3, void* _4, void* _5, void* _6) { | |
return 1; | |
} | |
__declspec(dllexport) char hydra5_is_executing_requests(void) { | |
return 0; | |
} | |
__declspec(dllexport) void hydra5_telemetry_typed_event(void* _1, void* _2) {} | |
__declspec(dllexport) void hydra5_term(void) {} | |
__declspec(dllexport) void hydra5_update(void) {} | |
void main(void) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
cc=x86_64-w64-mingw32-gcc-win32 | |
game="$HOME/.steam/steam/steamapps/common/Teardown" | |
$cc -c hydra5-x64.c | |
$cc -shared -o hydra5-x64.dll hydra5-x64.o | |
rm "$game/hydra5-x64.dll" || : | |
cp hydra5-x64.dll "$game/hydra5-x64.dll" | |
chmod -w "$game/hydra5-x64.dll" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
clingi!