CheatMenuSA/include/fla/Library/Library.cpp
2022-09-09 13:59:51 +06:00

11 lines
310 B
C++

#include "Library.h"
// Returns symbol address
void* Library::GetSymbolAddress(const tGenericLibraryModule* pModule, const char* symbolName)
{
#ifdef IS_PLATFORM_WIN
return GetProcAddress(pModule->windows, symbolName);
#elif defined(IS_PLATFORM_ANDROID)
return dlsym(pModule->linux_os, symbolName);
#endif
}