mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +03:00
3d252fe527
Fixed some critical bugs and typos (carrer_task, tutor, zbot and other) Added command line option `-bots` to run bots in CS 1.6 Removed the tests demo record/player from myself the project and also dependency of the steam library. Fixed the progress bar when generating a nav file.
26 lines
934 B
C
26 lines
934 B
C
#pragma once
|
|
|
|
#include "osconfig.h"
|
|
|
|
extern size_t OffsetToRebase(size_t addr);
|
|
extern bool GetAddressUsingHook(size_t addr);
|
|
extern VirtualTableRef *GetVirtualTableRefAddr(const char *szClassName);
|
|
extern void *GetFunctionEntity(const char *szClassName);
|
|
extern void printAddrRebase(size_t addr,const char *funcName);
|
|
extern FunctionHook *GetFunctionPtrByName(const char *funcName);
|
|
extern void *GetOriginalFuncAddrOrDie(const char *funcName);
|
|
extern void *GetOriginalFuncAddrOrDefault(const char *funcName, void *def);
|
|
extern void *GetFuncRefAddrOrDie(const char *funcName);
|
|
extern void *GetFuncRefAddrOrDefault(const char *funcName, void *def);
|
|
|
|
#ifdef _WIN32
|
|
|
|
void *_malloc_mhook_(size_t n);
|
|
void *_realloc_mhook_(void *memblock, size_t size);
|
|
void _free_mhook_(void *p);
|
|
void *_calloc_mhook_(size_t n, size_t s);
|
|
void *__nh_malloc_mhook_(size_t n);
|
|
char *_strdup_mhook_(const char *s);
|
|
|
|
#endif // _WIN32
|