SunnyMod Community 🇻🇳
الذهاب إلى القناة على Telegram
6 786
المشتركون
-924 ساعات
+467 أيام
+48630 أيام
أرشيف المشاركات
struct GameAPITable { void* open; void* malloc; void* snprintf; void* read; void* lseek; void* memset; void* memcpy; void* memmem; void* strstr; void* strlen; void* free; void* sscanf; void* atoi; void* sleep; void* _android_log_print; }; void* my_open; extern void* orig_open; void* my_malloc; extern void* orig_malloc; void* my_snprintf; extern void* orig_snprintf; void* my_read; extern void* orig_read; void* my_lseek; extern void* orig_lseek; void* my_memset; extern void* orig_memset; void* my_memcpy; extern void* orig_memcpy; void* my_memmem; extern void* orig_memmem; void* my_strstr; extern void* orig_strstr; void* my_strlen; extern void* orig_strlen; void* my_free; extern void* orig_free; void* my_sscanf; extern void* orig_sscanf; void* my_atoi; extern void* orig_atoi; void* my_sleep; extern void* orig_sleep; void* my_android_log_print; extern void* orig_log_print; GameAPITable* (*old_sub_42DB94)(); GameAPITable* new_sub_42DB94() { GameAPITable* table = old_sub_42DB94(); if (table != nullptr) { if (table->open != my_open) { orig_open = table->open; table->open = my_open; } if (table->malloc != my_malloc) { orig_malloc = table->malloc; table->malloc = my_malloc; } if (table->snprintf != my_snprintf) { orig_snprintf = table->snprintf; table->snprintf = my_snprintf; } if (table->read != my_read) { orig_read = table->read; table->read = my_read; } if (table->lseek != my_lseek) { orig_lseek = table->lseek; table->lseek = my_lseek; } if (table->memset != my_memset) { orig_memset = table->memset; table->memset = my_memset; } if (table->memcpy != my_memcpy) { orig_memcpy = table->memcpy; table->memcpy = my_memcpy; } if (table->memmem != my_memmem) { orig_memmem = table->memmem; table->memmem = my_memmem; } if (table->strstr != my_strstr) { orig_strstr = table->strstr; table->strstr = my_strstr; } if (table->strlen != my_strlen) { orig_strlen = table->strlen; table->strlen = my_strlen; } if (table->free != my_free) { orig_free = table->free; table->free = my_free; } if (table->sscanf != my_sscanf) { orig_sscanf = table->sscanf; table->sscanf = my_sscanf; } if (table->atoi != my_atoi) { orig_atoi = table->atoi; table->atoi = my_atoi; } if (table->sleep != my_sleep) { orig_sleep = table->sleep; table->sleep = my_sleep; } if (table->_android_log_print != my_android_log_print) { orig_log_print = table->_android_log_print; table->_android_log_print = my_android_log_print; } } return table; } //Hook HOOK_LIB("libanogs.so", 0x42DB94, new_sub_42DB94, old_sub_42DB94);
Test đi mọi người xem max chuỗi là bao nhiên không cần log song song nhé chơi thẳng
Log trực tiếp.Test thôi nhé đừng vác acc chính vào chẳng may ban off, ban id thì chệu.
✅Ưu điểm fix lỗi dame viên đầu silent.
‼️Nhược điểm chưa fix văng
