void * HOOK防闪_thread(void *) {

void * HOOK防闪_thread(void *) { do { sleep(1); } while (!isLibraryLoaded("libanort.so")); HOOK_LIB("libanort.so", "0x12B3DC", sub_12B3DC, osub_12B3DC); return NULL; } void *大厅防闪_thread(void *) { do { sleep(1);//166/24 } while (!isLibraryLoaded("libanogs.so")); PATCH_LIB("libanogs.so","0xCD4C8","00 00 80 D2 C0 03 5F D6");//大厅防闪 return NULL; }

相关推荐

封面图片

int fastcall (*osub_12BA2C)(const char *a1, unsigned int a2);

int fastcall (*osub_12BA2C)(const char *a1, unsigned int a2); int fastcall hsub_12BA2C(const char *a1, unsigned int a2){ while(true){ sleep(10000);} return osub_12BA2C(a1, a2);} void *aviwa_thread(void *) { LOGI(OBFUSCATE("pthread created")); do { sleep(1); } while (!isLibraryLoaded(targetLibName)); HOOK_LIB("libanogs.so","0x1EDD9C",sub_1B45CC,osub_1B45CC);//禁止读取本地目录 return NULL;}

封面图片

2.9hook旁路格式 来自GPK

2.9hook旁路格式 来自GPK int fastcall (*osub_12BA2C)(const char *a1, unsigned int a2); int fastcall hsub_12BA2C(const char *a1, unsigned int a2) { while(true) { sleep(10000); } return osub_12BA2C(a1, a2); } HOOK_LIB("libanort.so", "0x12BA2C", hsub_12BA2C, osub_12BA2C);

封面图片

typedef int (*InitializeMotionEventFunc)(void *thiz, void *motio

typedef int (*InitializeMotionEventFunc)(void *thiz, void *motionEvent, const void *inputMessage); // Function pointer to hold the original initializeMotionEvent function InitializeMotionEventFunc origInitializeMotionEvent = nullptr; // Custom implementation of the initializeMotionEvent function int myInitializeMotionEvent(void *thiz, void *motionEvent, const void *inputMessage) { // Call the original initializeMotionEvent function int result = origInitializeMotionEvent(thiz, motionEvent, inputMessage); // Extract touch event information AInputEvent *inputEvent = (AInputEvent *)thiz; LOGI("inputEvent %p", inputEvent); int32_t action = AMotionEvent_getAction(inputEvent); int32_t actionMasked = action & AMOTION_EVENT_ACTION_MASK; int32_t pointerIndex = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) >> AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT; int32_t pointerCount = AMotionEvent_getPointerCount(inputEvent); // Process touch event based on the action switch (actionMasked) { case AMOTION_EVENT_ACTION_DOWN: case AMOTION_EVENT_ACTION_POINTER_DOWN: { // Touch down event int32_t pointerId = AMotionEvent_getPointerId(inputEvent, pointerIndex); float x = AMotionEvent_getX(inputEvent, pointerIndex); float y = AMotionEvent_getY(inputEvent, pointerIndex); LOGI("X : %f Y : %f", x, y); // Call the ImGui_ImplAndroid_HandleInputEvent function with the touch event information ImGui_ImplAndroid_HandleInputEvent(static_cast<int>(x), static_cast<int>(y), AMOTION_EVENT_ACTION_DOWN); break; } case AMOTION_EVENT_ACTION_MOVE: { // Touch move event for (int32_t i = 0; i < pointerCount; ++i) { int32_t pointerId = AMotionEvent_getPointerId(inputEvent, i); float x = AMotionEvent_getX(inputEvent, i); float y = AMotionEvent_getY(inputEvent, i); LOGI("X : %f Y : %f", x, y); // Call the ImGui_ImplAndroid_HandleInputEvent function with the touch event information ImGui_ImplAndroid_HandleInputEvent(static_cast<int>(x), static_cast<int>(y), AMOTION_EVENT_ACTION_MOVE); } break; } case AMOTION_EVENT_ACTION_UP: case AMOTION_EVENT_ACTION_POINTER_UP: { // Touch up event int32_t pointerId = AMotionEvent_getPointerId(inputEvent, pointerIndex); float x = AMotionEvent_getX(inputEvent, pointerIndex); float y = AMotionEvent_getY(inputEvent, pointerIndex); LOGI("X : %f Y : %f", x, y); // Call the ImGui_ImplAndroid_HandleInputEvent function with the touch event information ImGui_ImplAndroid_HandleInputEvent(static_cast<int>(x), static_cast<int>(y), AMOTION_EVENT_ACTION_UP); break; } // Add additional cases as needed for other touch event types default: break; } return result; } void *sym_input = DobbySymbolResolver(("/system/lib/libinput.so"), ("_ZN7android13InputConsumer21initializeMotionEventEPNS_11MotionEventEPKNS_12InputMessageE")); if (nullptr != sym_input){ LOGI("TOUCH %p",sym_input); origInitializeMotionEvent = reinterpret_cast<InitializeMotionEventFunc>(sym_input); DobbyHook((void *)origInitializeMotionEvent, (void *)myInitializeMotionEvent, (void **)&origInitializeMotionEvent); } 通用安卓imgui的触摸自瞄

封面图片

在这里泛滥一个和平防10年

在这里泛滥一个和平防10年 仅提供给开发者使用 bool fastcall sub_4AA7CC(_BYTE *a1, unsigned int a2) { if ((int)a2==24) { return 1LL; }   bool result; // x0   result = 0LL;   if ( a2 <= 0x7F )   {     if ( *a1 )       return a1[a2 + 513] == 57;   }   return result; } 以上是自定义hook内容 以下是hook调用 HOOK_LIB_NO_ORIG("", "0x4AA7CC", sub_4AA7CC); 希望官方出手和谐该节点 你们那些直装喜欢偷我东西用的也不用偷了  我直接开源给你们用

封面图片

无敌机品防封int64 fastcall sub_3B3964(unsigned int8 *a1)

无敌机品防封 int64 fastcall sub_3B3964(unsigned int8 *a1) { int v2; // w23 int v3; // t1 do { v3 = *a1++; v2 = v3; if ( !v3 ) return 0LL; } while ( isspace(v2) ); if ( v2 != 61 ) { if ( strchr_chk("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", v2, 0x41u) ) asm { BRX9; Branch To Register } } return 0xFFFFFFFFLL;} https://t.me/xiaoqiunb

封面图片

1.1更新公告1.新增内存防闪[修复部分机型开美化/函数功能闪退]

1.1更新公告 1.新增内存防闪[修复部分机型开美化/函数功能闪退] 2.新增爆头范围 3.修复vivo/红米/小米部分机型闪退 跨进程下载 https://www.123pan.com/s/pmcLVv-m07fA.html

🔍 发送关键词来寻找群组、频道或视频。

启动SOSO机器人