1213213
This commit is contained in:
parent
ecc18fc9c2
commit
86497247df
Binary file not shown.
Binary file not shown.
|
|
@ -48,6 +48,8 @@ SUBHOOK_INIT(CUserWorkPerFiveMin, 0x8652F0C);
|
||||||
SUBHOOK_INIT(TimerDispatcher_dispatch, 0x8632A18);
|
SUBHOOK_INIT(TimerDispatcher_dispatch, 0x8632A18);
|
||||||
SUBHOOK_INIT(SetUserMaxLevel, 0x0868fec8);
|
SUBHOOK_INIT(SetUserMaxLevel, 0x0868fec8);
|
||||||
|
|
||||||
|
// SUBHOOK_INIT(AddMob, 0x08151612);
|
||||||
|
|
||||||
//_setCharacInfoDetail
|
//_setCharacInfoDetail
|
||||||
|
|
||||||
template <typename R, typename A, typename... ARG>
|
template <typename R, typename A, typename... ARG>
|
||||||
|
|
@ -586,7 +588,7 @@ int _Inter_LoadGeolocation_dispatch_sig(void *pThis, void *pUser, char *a3)
|
||||||
void *handle = dlopen("/home/neople/game/frida.so", RTLD_LAZY);
|
void *handle = dlopen("/home/neople/game/frida.so", RTLD_LAZY);
|
||||||
if (!handle)
|
if (!handle)
|
||||||
{
|
{
|
||||||
std::cerr << "无法加载库: " << dlerror() << '\n';
|
// std::cerr << "无法加载库: " << dlerror() << '\n';
|
||||||
}
|
}
|
||||||
return Ret;
|
return Ret;
|
||||||
}
|
}
|
||||||
|
|
@ -856,8 +858,9 @@ void Lenheart()
|
||||||
SUBHOOK_SETUP(Giveup_Game);
|
SUBHOOK_SETUP(Giveup_Game);
|
||||||
// 用户每五分钟执行
|
// 用户每五分钟执行
|
||||||
SUBHOOK_SETUP(CUserWorkPerFiveMin);
|
SUBHOOK_SETUP(CUserWorkPerFiveMin);
|
||||||
|
|
||||||
// 每帧执行
|
// 每帧执行
|
||||||
// SUBHOOK_SETUP(TimerDispatcher_dispatch);
|
SUBHOOK_SETUP(TimerDispatcher_dispatch);
|
||||||
// 设置角色等级
|
// 设置角色等级
|
||||||
// SUBHOOK_SETUP(SetUserMaxLevel);
|
// SUBHOOK_SETUP(SetUserMaxLevel);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -112,4 +112,6 @@ typedef int (*fnTimerDispatcher_dispatch)(void *A, void *B);
|
||||||
// 线程执行
|
// 线程执行
|
||||||
typedef void *(*fnSetUserMaxLevel)(void *CUser, int level);
|
typedef void *(*fnSetUserMaxLevel)(void *CUser, int level);
|
||||||
|
|
||||||
|
typedef int (*fnAddMob)(int a1, int a2);
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
Loading…
Reference in New Issue