| 40 | |
| 41 | SafetyHookInline shMiniMainLoop = {}; |
| 42 | void __cdecl MiniMainLoop() |
| 43 | { |
| 44 | #ifdef _DEBUG |
| 45 | SetSpeed(500.0f); |
| 46 | #endif |
| 47 | |
| 48 | std::call_once(of, []() |
| 49 | { |
| 50 | WFP::onGameInitEvent().executeAll(); |
| 51 | }); |
| 52 | |
| 53 | WFP::onGameProcessEvent().executeAll(); |
| 54 | |
| 55 | shMiniMainLoop.unsafe_ccall(); |
| 56 | } |
| 57 | |
| 58 | void Init() |
| 59 | { |
nothing calls this directly
no test coverage detected