Indlæg

How to fix Catlog or Matlog stuck in loading (LDPlayer)

Billede
Is Catlog or Matlog stuck in loading like this when you try to load file? I figured it out it was caused by crappy build-in Superuser that was bad written by chinese.
Only way to fix is to switch to SuperSU 2.79 or use Memu emulator. Unfortunately, Nox Player already blocked SuperSU from replacing Superuser
Download SuperSU 2.79: APK is signed to avoid update from Play Store. v2.82 does not have ability to replace Superuser https://usersdownload.com/rwo68aqm1ti5.html
https://www.dropbox.com/s/v7r6uffmwbsqxea/SuperSU%20v2.79.apk?dl=0
Launch SuperSU and choose Expert. It will ask you if you want to update binary. Click Continue

Then click Normal

Allow superuser access if asked. Wait for few seconds. If it success, reboot
Tada! No more stuck in loading and no more toast spamming

How to bypass root detection on cocos2d games

Billede
Devs don’t know how to secure their game and just blocked rooted device, but the game can be easly hacked which will work on non-rooted devices so it’s pointless to block rooted device. Having a rooted device doesn’t mean you can just hack games, you can do a lot of customization on Android OS. That’s the reason why many peoples root their device and reason why we have XDA community. Devs just don’t understand that.

So let’s get started.
First of all you need: - IDA Pro (To disassemble .so file) - Any hex editor (To edit .so file)
- Winrar or 7-zip (Extract files from APK file)
Note: You need to have basic knowledge of IDA and ARM assembly
Root detection usally come from smali but cocos2d have ability to communicate with smali to get root detection data from it.
Disassemble libcocos2dcpp.so file
Here is what I found, a Root detection scene that appear a warning screen that root is detected and can’t play. After I analized for a while, RootDetectScene::createScene(void)  is only interesting

Hig…

It's T-Glitch today...

Billede

How to capture a logcat (non-root and root)

Billede
Logcat helps you diagnose the errors of app, hardware, etc There are two ways to capture a logcat
Non-rooted device: Install adb if you haven’t install it yet https://forum.xda-developers.com/showthread.php?t=2588979
On your device, enable USB-debugging and connect to your computer
Launch CMD or Powershell and type the command to output logcat to file
adb logcat > “E:/ log cat.txt” Always use quotes if the path contains spaces. Many peoples don’t know this trick
Reproduce the problem on your device in order to grab the interesting errors in logcat
Nothing will appear in the prompt while outputting to file. To stop it, press CTRL+C or close the prompt
The file will be saved
Rooted device: There are many different apps of logcat reader Don’t know which one? Just install MatLog. I recommended it: https://play.google.com/store/apps/details?id=com.pluscubed.matlog
Launch MatLog, click on 3 dots -> File -> Record

Name the file or just click OK
Reproduce the problem on your device in order to grab …

Draggable flat mod menu template

Billede
So I finally had time to work with simple flat mod menu and it looks totally better than my previous crappy mod menu.

Source code: https://github.com/AndnixSH/UnityFlatModMenu
You need basic knowledge of Unity and C#
It’s free to use without needed to credit to me. You can credit to me if you support me J
Screenshot:
I used material color picker: https://www.materialpalette.com/colors
To load mod menu in-game, find active classes like UIRoot, UIdrawcall, Soundmanager and add: public void OnGUI() { MyClassNameOfModMenu.MyGUI(); }
To hack a function, modify code like this public int getDamage { if (MyClassNameOfModMenu.toggle1) { return 999999; } return this.get_dmg; }
For multiplier hack, modify code like this public int getDamage { return this.get_dmg * MyClassNameOfModMenu.dmgMulti;

Unity tutorial - Making value adder hack for offline games

Billede
If you know C# basics, you will understand it.
In offline games, I basically looking for reward function and found codes that adds value into player data

And re-use the codes into mod menu with buttons to add values

Other similar codes from other games (I don’t tell what game) that adds coins and gems:
C#: int num = TPlayerPrefs.GetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex); num +=20000; TPlayerPrefs.SetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex, num); C#: TPlayerPrefs.SetEncryptGem(TPlayerPrefs.GetEncryptGem()+200);
Here are the codes: Gitlab: https://gitlab.com/andnixsh/Hack_Source_Center/tree/master/Unity/WK_RS
Github: https://github.com/AndnixSH/Hack_Source_Center/tree/master/Unity/WK_RS

[Archived] dnSpy 3.0.2, 4.5.2, 5.0.5, and beta

Billede
Here are old versions and links to official release and beta version. Any bugs only of beta version should be reported to https://github.com/0xd4d/dnSpy/issues
Downloads: 5.x.x beta dnSpy 5.x.x beta AppVeyor LINK
Official release 0xd4d/dnSpy
5.0.5 dnSpy 5.0.5.zip LINK #1 dnSpy 5.0.5.zip LINK #2
4.5.2 dnSpy 4.5.2.zip LINK #1 dnSpy 4.5.2.zip LINK #2 dnSpy 4.5.2.zip LINK #3
3.0.2 dnSpy 3.0.2.zip LINK #1 dnSpy 3.0.2.zip LINK #2
Files are untouched and are clean
Screenshot:

How to return float value in ARM

I made the simple IEEE 754 converter tool for ARM https://github.com/AndnixSH/IEEE-754-Converter/releases
Type any float value you want and get the hexadecimal for Little-endian
Then use http://armconverter.com/ to convert ARM instruction to hex bytes
Example number 1 is 0000803F (Little-endian), return like this
32-bit MOV R0, 0x0000803F
64-bit MOV X0, 0x0000803F
If you have problem converting ARM instruction with higher numbers, just use one of the byte sequences below
1 = 0000803F 2 = 00000040 4 = 00008040 8 = 00000041 16 = 00008041 32 = 00000042 64 = 00008042

Il2CppDumper GUI 1.0.4 - With .APK extension for dump automation

Billede
Extract .NET metadata from il2cpp binaries. (types, methods, fields, etc.)
Extraction code is based on Il2CppDumper
Requirements: - Net Framework 4 - Windows 7 and above
Features: Supports il2cpp binaries in ELF(arm, x86) and Mach-O(32bit, 64bit) formatSupports global-metadata version 16 and 20-24Extracts .NET metadata including types, fields, properties, methods and attributesSupports automated IDA script generationname and tag methodsstore dynamic string literals in commentsGenerates dummy DLLs that can be viewed in .NET decompilers
GUI Features: ·Select files ·Rename files ·Set output directory. ·Set mode. ·Set registration offsets ·Auto fill up offset registrations after dump ·Drag and drop support ·Remember everything except registrations