[1.14d] Disable Connect to Battle.Net

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

0
No votes
 
Total votes: 0

FearedBliss
Posts: 82
Joined: Sat Oct 16, 2010 4:29 pm
United States of America

[1.14d] Disable Connect to Battle.Net

Post by FearedBliss » Mon Oct 02, 2017 6:51 am

Code: Select all

1.14d Offset: 3BF60

OLD CODE:
0043BF5E | CC                       | INT3                                               |
0043BF5F | CC                       | INT3                                               |
0043BF60 | 55                       | PUSH EBP                                           |
0043BF61 | 8B EC                    | MOV EBP,ESP                                        |
0043BF63 | 83 EC 18                 | SUB ESP,18                                         |

NEW CODE:
0043BF5E | CC                       | INT3                                               |
0043BF5F | CC                       | INT3                                               |
0043BF60 | C3                       | RET                                                |
0043BF61 | 8B EC                    | MOV EBP,ESP                                        |
0043BF63 | 83 EC 18                 | SUB ESP,18                                         |

WHAT TO DO:

Change PUSH EBP to RET so that as soon as this function is called, we return from it.

Return to “Code Editing”