#pragma once #include #include #include #include #include "ItaniumCast.hpp" namespace geode { using dylib_t = void*; struct PlatformInfo { dylib_t m_dylib; }; } namespace geode::base { GEODE_NOINLINE inline uintptr_t get() { static uintptr_t base = _dyld_get_image_vmaddr_slide(0) + 0x100000000; return base; } } extern "C" inline uintptr_t _geode_ios_base() { return geode::base::get(); }