if(!(m->flags&METHOD_ATTRIBUTE_STATIC&&CHECK_PROTOCOL_VERSION(3,0))){//on icordbg I couldn't find an object when invoking a static method maybe I can change this later
if(!(m->flags&METHOD_ATTRIBUTE_STATIC&&CHECK_PROTOCOL_VERSION(2,59))){//on icordbg I couldn't find an object when invoking a static method maybe I can change this later
if(!m_class_is_valuetype(m->klass)&&!(m->flags&METHOD_ATTRIBUTE_STATIC&&CHECK_PROTOCOL_VERSION(3,0)))//on icordbg I couldn't find an object when invoking a static method maybe I can change this later
if(!m_class_is_valuetype(m->klass)&&!(m->flags&METHOD_ATTRIBUTE_STATIC&&CHECK_PROTOCOL_VERSION(2,59)))//on icordbg I couldn't find an object when invoking a static method maybe I can change this later