ignore placeholder hooks

This commit is contained in:
matcool 2023-12-21 17:03:22 -03:00
parent 9888a7aa1e
commit 5397e0fa66

View file

@ -44,7 +44,7 @@ tulip::hook::HookMetadata Hook::Impl::getHookMetadata() const {
}
Result<> Hook::Impl::enable() {
if (m_enabled)
if (m_enabled || ((uintptr_t)m_address == (geode::base::get() + 0x80813)))
return Ok();
if (!LoaderImpl::get()->hasHandler(m_address)) {