https://developer.apple.com/documentation/objectivec/class_getmethodimplementation_stret(_:_:)?language=objc
class_getMethodImplementation_stret(_:_:) | Apple Developer Documentation
Returns the function pointer that would be called if a particular message were sent to an instance of a class.
apple developerclassdocumentation