diff --git a/loader/src/hooks/MessageBoxFix.cpp b/loader/src/hooks/MessageBoxFix.cpp index 794f9639..1906cad1 100644 --- a/loader/src/hooks/MessageBoxFix.cpp +++ b/loader/src/hooks/MessageBoxFix.cpp @@ -40,8 +40,10 @@ static CCEGLView* CCEGLView_CCEGLView(CCEGLView* self) { } $execute { - (void)Mod::get()->addHook<&CCEGLView_CCEGLView, Thiscall>( - "CCEGLView::CCEGLView", CCEGLVIEW_CON_ADDR + (void)Mod::get()->addHook( + CCEGLVIEW_CON_ADDR, + &CCEGLView_CCEGLView, + "CCEGLView::CCEGLView", ); }