level 13
在此公布源代码
Copyright © 2016-2017 MCAL Team
#include <jni.h>
#include <dlfcn.h>
#include <fstream>
#include <string>
#include "Substrate.h"
struct Inventory
{
void dropAll(bool);
};
void replace(){}
JNIEXPORT jint JNI_OnLoad(JavaVM*,void*)
{
MSHookFunction((void*)&Inventory::dropAll,(void*)&replace);
return JNI_VERSION_1_6;
}
2016年10月24日 12点10分
16