25
Apr
09

[ASM] Minesweeper God Mode Testing II

Ok after playing around a bit more, i’ve  set it up so that after you die, you have the default smiley icon not the dead one:
Original
#########################

0100348C   |.  0F95C0            SETNE AL
0100348F       40                INC EAX
01003490       40                INC EAX
01003491       50                PUSH EAX
01003492       A3 60510001       MOV DWORD PTR DS:[iButtonCur],EAX
01003497       E8 77F4FFFF       CALL winmine.DisplayButton
0100349C       33C0              XOR EAX,EAX

#########################
With Jump
#########################

0100348C   |.  0F95C0            SETNE AL
0100348F       E9 E6150000       JMP winmine.01004A7A
01003494       90                NOP
01003495       90                NOP
01003496       90                NOP
01003497       E8 77F4FFFF       CALL winmine.DisplayButton
0100349C       33C0              XOR EAX,EAX

#########################
Code Cave
#########################

01004A7A       83F8 01           CMP EAX,1
01004A7D       75 05             JNZ SHORT winmine.01004A84
01004A7F       B8 03000000       MOV EAX,3
01004A84       50                PUSH EAX
01004A85       A3 60510001       MOV DWORD PTR DS:[iButtonCur],EAX
01004A8A     ^ E9 08EAFFFF       JMP winmine.01003497
Advertisements

0 Responses to “[ASM] Minesweeper God Mode Testing II”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: