add log to adjust

This commit is contained in:
altalk23 2023-01-25 20:24:46 +03:00 committed by alk
parent 0cf0a6d9d3
commit 0af7695e69

View file

@ -22,6 +22,7 @@ namespace geode::modifier {
struct Impl<Return (Class::*)(Params...)> { \
static Return GEODE_CDECL_CALL function(Class* self, Params... params) { \
auto self2 = addresser::rthunkAdjust(Function, self); \
log::info("adjusted, normal {}, {}", self2, self);\
return self2->Class2::FunctionName_(params...); \
} \
}; \