A cast specialized to cast to modify classes. Static casts to the base class of the modify class first, and then static casts to the modify class itself.
Function modify_cast
#include <Geode/modify/Modify.hpp>Originaloriginal
)Examples1
modify_cast<MyGJBaseGameLayer*>(PlayLayer::get());