MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / IsWithinSteamclient

Function IsWithinSteamclient

src/platform/linux/vtable_hook.cpp:389–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387static constexpr const char RTTI_REMOTE_STORAGE[] = "18CUserRemoteStorage";
388
389static bool IsWithinSteamclient(uintptr_t ptr, uintptr_t steamBase, size_t steamSize)
390{
391 return ptr >= steamBase && ptr < steamBase + steamSize;
392}
393
394static bool IsLikelyAppCloudEnabledSlot(void** vtable, size_t slotIndex, uintptr_t steamBase, size_t steamSize)
395{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected