連撞
//------------------------------------------------------------------
[enable]
Registersymbol(misscount)
Alloc(misscount, 4)
Registersymbol(MISS)
Alloc(MISS, 128)
Registersymbol(pgmiss)
Alloc(pgmiss, 4)
Label(pgstop)
Label(missgo)
Label(pgone)
Label(regain)
//------------------------------------------------------------------
MISS:
inc [misscount]
cmp [misscount],0
jge pgone
call missgo
//------------------------------------------------------------------
regain:
jmp 008C6A75
//------------------------------------------------------------------
missgo:
xor eax,eax
ret
//------------------------------------------------------------------
pgone:
cmp [pgmiss],1
jge pgstop
inc [pgmiss]
mov [ebp+8],400
jmp regain
//------------------------------------------------------------------
pgstop:
mov [pgmiss],0
mov [misscount],0
jmp regain
//------------------------------------------------------------------
008C5BED:
jmp MISS
[disable]
008C5BED:
db 0f 84 7d 0e 00
Unregistersymbol(pgmiss)
dealloc(pgmiss)
Unregistersymbol(misscount)
dealloc(misscount)
Unregistersymbol(MISS)
dealloc(MISS) |
|