mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 16:07:52 -05:00
update the placeholder address
This commit is contained in:
parent
fb3f16028f
commit
e442e37e7a
1 changed files with 2 additions and 1 deletions
|
@ -44,8 +44,9 @@ tulip::hook::HookMetadata Hook::Impl::getHookMetadata() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
Result<> Hook::Impl::enable() {
|
Result<> Hook::Impl::enable() {
|
||||||
if (m_enabled || ((uintptr_t)m_address == (geode::base::get() + 0x80813)))
|
if (m_enabled || ((uintptr_t)m_address == (geode::base::get() + 0x9999999))) {
|
||||||
return Ok();
|
return Ok();
|
||||||
|
}
|
||||||
|
|
||||||
if (!LoaderImpl::get()->hasHandler(m_address)) {
|
if (!LoaderImpl::get()->hasHandler(m_address)) {
|
||||||
GEODE_UNWRAP(LoaderImpl::get()->createHandler(m_address, m_handlerMetadata));
|
GEODE_UNWRAP(LoaderImpl::get()->createHandler(m_address, m_handlerMetadata));
|
||||||
|
|
Loading…
Reference in a new issue