VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VtableLookup.hpp File Reference
#include "Engine/Memory/Image.hpp"
#include <VoltMod/Core/Result.hpp>
#include <cstddef>
#include <cstdint>
#include <span>
#include <string>

Go to the source code of this file.

Classes

struct  VoltMod::BaseSubobject
 
struct  VoltMod::TypeInfoKinds
 

Namespaces

namespace  VoltMod
 

Functions

void * VoltMod::FindVirtualTable (std::string_view moduleName, std::string_view className)
 
void * VoltMod::FindVirtualTableIn (const Image &module, std::string_view className)
 
void * VoltMod::FindVirtualTableByTypeName (std::span< const ScanRange > ranges, std::string_view className)
 
std::string VoltMod::LengthPrefixedName (std::string_view className)
 
bool VoltMod::IsInstanceOf (const void *object, const void *table)
 
Result< BaseSubobject > VoltMod::FindBaseIn (const Image &module, std::string_view className, std::string_view baseName)
 
Result< int > VoltMod::FindBaseOffsetByTypeInfo (const void *typeInfo, std::string_view baseName, const TypeInfoKinds &kinds)
 
void * VoltMod::FindVirtualTableByTypeInfo (std::span< const ScanRange > ranges, const void *typeInfo, intptr_t offsetToTop)