| 590 | // ======================== |
| 591 | |
| 592 | static 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 | |
| 600 | static bool __fastcall RestoreDefaults_Hook(int thisPtr, int, uint8_t nFlags) |
| 601 | { |
nothing calls this directly
no outgoing calls
no test coverage detected