MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / LoadUserProfile_Hook

Function LoadUserProfile_Hook

src/Client/Client.cpp:592–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590// ========================
591
592static void __fastcall LoadUserProfile_Hook(int thisPtr, int, bool bLoadDefaults, bool bLoadDisplaySettings)
593{
594 g_State.isLoadingDefault = bLoadDefaults;
595 g_State.currentKeyIndex = 0;
596 LoadUserProfile(thisPtr, bLoadDefaults, bLoadDisplaySettings);
597 g_State.isLoadingDefault = false;
598}
599
600static bool __fastcall RestoreDefaults_Hook(int thisPtr, int, uint8_t nFlags)
601{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected