From 6d4938f6b57f5d95d771421d82d036c022f69238 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Mon, 30 Jun 2008 02:04:30 +0000 Subject: [PATCH] Removed cruft. --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402302 --- tools/Vtable scanner/main.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/tools/Vtable scanner/main.cpp b/tools/Vtable scanner/main.cpp index c3e96a50..050bfe71 100644 --- a/tools/Vtable scanner/main.cpp +++ b/tools/Vtable scanner/main.cpp @@ -77,28 +77,6 @@ int main(int argc, char **argv) fprintf(stderr, "Failed to find function!"); return -1; - -#if 0 - if (FindVFunc(handle, pVtable, "CommitSuicide", "(bool, bool)", &offsets)) - printf("Commit Suicide - Win: %i Linux : %i\n", offsets.windows_offset, offsets.linux_offset); - - if (FindVFunc(handle, pVtable, "KeyValue", "(char const*, char const*)", &offsets)) - printf("KeyValue - Win: %i Linux : %i\n", offsets.windows_offset, offsets.linux_offset); - - if (FindVFunc(handle, pVtable, "KeyValue", "(char const*, float)", &offsets)) - printf("KeyValue Float - Win: %i Linux : %i\n", offsets.windows_offset, offsets.linux_offset); - - if (FindVFunc(handle, handle, pVtable, "KeyValue", "(char const*, Vector const&)", &offsets)) - printf("KeyValue Vector - Win: %i Linux : %i\n", offsets.windows_offset, offsets.linux_offset); - - if (FindVFunc(handle, pVtable, "Ignite", NULL, &offsets)) - printf("Ignite - Win: %i Linux : %i\n", offsets.windows_offset, offsets.linux_offset); - - if (FindVFunc(handle, pVtable, "Extinguish", NULL, &offsets)) - printf("Extinguish - Win: %i Linux : %i\n", offsets.windows_offset, offsets.linux_offset); - - return 0; -#endif } static bool FindVFunc(void *handle, void **vtable, const char* vtable_end, const char *class_function, const char *params, VOffset *offsets)