// Adapted from Unleashed Recompiled (https://github.com/hedge-dev/UnleashedRecomp), // GPL-3.0-or-later. Modified for SpeedBreaker. #pragma once inline thread_local PPCContext* g_ppcContext; inline PPCContext* GetPPCContext() { return g_ppcContext; } inline void SetPPCContext(PPCContext& ctx) { g_ppcContext = &ctx; }