Indlæg

Logcat highlighting for Notepad++

Billede
I made logcat highlighting for Notepad++. It’s not 100% perfect but easier to read. Notepad++ have 8 color styles limitation, I can’t make many color styles than 8
Download: https://usersdownload.com/yk20mp279dhx.html
https://www.dropbox.com/s/wiutpiqk049hxb8/logcat_npp.xml?dl=0
You must rename file extension to .logcat and right-click on file and choose “Edit with Notepad++”

Baldi's Basics - Playtime unused sounds mod

Billede
Some unused sounds still exists in 1.3.2 so i just modded it for fun. Only Playtime's unused sounds are being used. I had to slow own Baldi in order to test the mod
Download modded Assembly-Csharp.dll: https://usersdownload.com/0md0i6n9g9bn.html
Open .zip file and replace Assembly-Csharp.dll on [your game directory]\BALDI_Data\Managed



Baldi's Basics by mystman12: https://mystman12.itch.io/baldis-basics

Jasi Patcher (Alternative of Lucky Patcher)

Billede
JASI PATCHER is an automated patching tool for android intended to bypass restrictions in the apps & games, it includes custom patches, support patches, universal patches, offline emulation, spoof, hooks, tools and utilities.

DOWNLOAD
https://jaspreetsingh.store/downloads/JP.apk

FEATURES

Emulation: Offline Simulation Of Android Market Servers For License And Billing, Store Purchases On Offline Databases.Spoof: Spoof To Mask IMEI Number, WiFi Mac Address, Bluetooth Mac Address, Hardware Serial, Manufacturer Serial, Brand, Manufacturer, Model, Device, Product, Hardware And Board.App Manager: App Manager Features Like Clear Data, Kill App, Launch, Uninstall, Backup APK/Data And Restore APK/Data.Rebooter: Rebooter For Soft Reboot, Reboot, Power Off, Reboot Safe Mode, Reboot Recovery, Restart SystemUI And Reboot Download.Customizable: Change Themes, Fonts, Orientation, Languages, Animations, Sorting, Import & Export Settings And H…

Baldi's Basics - Behind the 3rd question

Billede
You know that weird horror game right?
I’m always curious how 3rd question works so i decided to take a look at the source code in dnSpy. First I thought I can debug the answer but it doesn’t give any results so I look deeper in the code
Here, this code gives you random math question but it have checks. In story mode, If problem below or equal 2 and notebooks below or equal to 1 it gives you normal question and so on.

When you have 1 notebook and you answer 2 questions, the codes goes to “else”. The impossibleMode has been returned to true and it generate numbers 3 times and messing up

So what is the answer to the 3rd question? As I debugged the game, the answer to the 3rd question is either 1st or 2nd question but it has been disabled (impossibleMode returned true) so you will always get wrong answer.


Don’t trust any youtubers who made the video about answering 3rd question correctly. They are fake and clickbait. It’s to get more views from you
Here’s why:

It’s photoshopped. I marked them red

Better Smali syntax highlighting for Notepad++

Billede
The smali syntax highlighter for Notepad++ was originally made by Ádám Tóth, Jho and lohan+ but I made it look way better so that it no longer look like kids theme
Here are the files:
For light theme: smali_npp.xml
For dark theme: smali_npp_darkbg.xml

To import the xml file, Click Language -> Define Your language
Click Import… and select the xml file to import

Done. Enjoy the hightlighting

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