diff --git a/loader/src/hooks/dictionary_fixes.cpp b/loader/src/hooks/dictionary_fixes.cpp deleted file mode 100644 index 9b9396d6..00000000 --- a/loader/src/hooks/dictionary_fixes.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// // this is the fix for the dynamic_cast problems - -// USE_GEODE_NAMESPACE(); - -// #if defined(GEODE_IS_IOS) || defined(GEODE_IS_MACOS) -// namespace geode::fixes { -// using namespace geode::cast; - -// class $modify(CCDictionaryTypeinfoFix, CCDictionary) { -// const CCString* valueForKey(const gd::string& key) { -// CCString* pStr = dynamic_cast(objectForKey(key)); -// if (pStr == nullptr) { -// pStr = const_cast(CCDictionary::valueForKey(key)); -// } -// return pStr; -// } - -// const CCString* valueForKey(intptr_t key) { -// CCString* pStr = dynamic_cast(objectForKey(key)); -// if (pStr == nullptr) { -// pStr = const_cast(CCDictionary::valueForKey(key)); -// } -// return pStr; -// } -// }; - -// } // geode::fixes - -// #endif