MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / SafememWrite

Method SafememWrite

NetStream/source/utils.cpp:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void utils::SafememWrite(string const& str, uint32_t offset)
172{
173 int32_t strlen = str.length();
174 uint32_t baseOffset = SafememGetSettingsSize();
175 sceAppUtilSaveSafeMemory(&strlen, 4, baseOffset + offset);
176 sceAppUtilSaveSafeMemory(str.c_str(), strlen, baseOffset + offset + 4);
177}
178
179string utils::SafememRead(uint32_t offset)
180{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected