Today I have written a simple tutorial on how to hack simple unity games. If you have any questions, please feel free to contact me. :)
Read more
%hook UILabel /* or other class, i.g.: UITableViewLabel */
-(void) setText:(NSString *)arg1 {
if ([arg1 isEqualToString:@"Some string"]) { /* the exact string you want to change */
%orig(@"Some other string");
// You can also leave this...
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
void (*_glDrawElements)(GLenum mode, GLsizei count, GLenum type, const void *indices);
GLint (*_glGetUniformLocation)(GLuint program,const GLchar *name);
GLint $glGetUniformLocation(GLuint program,const GLchar *name)
{
NSLog(@"%s",name);
return _glGetUniformLocation(program,name);
}
//disable metal framework for unity
%hook NSBundle
+ (id)bundleWithPath:(NSString...