|
发表于 2009-6-10 19:17:34
|
显示全部楼层
其实gba有很多调试器 no$gba比较常用 # K2 i9 A4 y8 w3 u9 I) X4 ~
vba172也算调试器 断点可以用cheatengine+olldbg大法3 t# I( ~, D. d2 b$ x
这种办法可以hack所有不能断点的调试器) m1 _# e$ D) \9 f0 W# A, D: x5 J
) a: y$ J2 A' P: t$ @附:黄金太阳穿墙源码
3 Z2 t2 P* D, X u* \& U4 N2 p========================================
5 F0 A& B8 X2 h: R7 H04000130 B+[u=bd d=7d l=dd r=ed]
) b3 B% Q9 `9 I, f02030ee2 l=fffe r=0001$ A0 u/ W+ h. a3 ?- L$ c1 r
02030eea u=fffe d=0001
$ u- m& }0 }/ ~; S$ U7 P9 f========% X7 m# e. d1 W/ k' @; s0 I( a9 l
0800f140 mov r3,0
( e* Z# Z+ M& Y5 [0800f142 str r3,[r7,24] ;-x
) X% W& I6 @' I$ O0800f144 str r3,[r7,2c] ;-y$ X6 p) ]8 O+ ~, {+ u8 R
0800f146 mov r3,3
( m. j. {! n+ n* m========
$ n6 f9 H' V6 m# ?- P0800f142 bl 080140000 w; p, l: T( t2 {6 ^" m
--------
" Q( n+ T) W1 ~% Y5 r08014000 str r3,[r7,24] ;-x
. z1 G% s5 I% F. I) G8 X, F08014002 str r3,[r7,2c] ;-y* z- ~. K: |( P' Z
08014004 push r0-r2
& m4 e- r" @! {; ?- |; L08014006 ldr r0,[0801400c] ;=04000130
6 a6 U/ M. t1 b; X08014008 ldrb r0,[r0]
9 E) x( f& c' w$ y0801400a b 08014010- p4 d- `& H# v* }
0801400c --------- F+ |! h- s1 k% Q; r( R
0801400e --------/ b) f+ z+ T3 }0 U4 C% P1 p
08014010 mov r1,1
0 j- o9 V* y/ X- e6 N08014012 sub r2,r1,2% K- O% ~3 C# j1 z
08014014 cmp r0,0bd
4 E/ Y4 J6 i8 l8 p8 i7 p08014016 bne 0801401c
$ X. y! I9 f2 }& i9 d& P08014018 strh r2,[r7,2e]
4 f! r' R2 k6 q% l1 w3 S0801401a b 08014032& d2 D' f9 a) g7 T0 p* @
0801401c cmp r0,07d
/ V: x4 g6 L+ j% k0801401e bne 08014024
- O: E3 Z5 O3 n6 A! F08014020 strh r1,[r7,2e]" q, @& n A! d$ T4 P; O
08014022 b 08014032
( X$ s6 r# b" j% z5 ]7 @08014024 cmp r0,0dd
6 w2 H* S1 m7 g' j4 ]& \08014026 bne 0801402c5 F( ^1 l ^2 B* V+ o& ], \* \
08014028 strh r2,[r7,26] y, q6 b0 E- z6 v$ A. |
0801402a b 08014032( M. N! s0 m4 p6 M. X. G# E7 G
0801402c cmp r0,0ed
7 I. p8 U) j- f: m) Z+ w0801402e bne 08014032) B! q. z0 D* P6 U
08014030 strh r1,[r7,26]
* @+ ]4 c+ H. s s# ]( g08014032 pop r0-r2
( k" w" G' d1 c* V. A6 Z08014034 bx lr
2 B5 Q' [# _- t/ Z1 A======================================== |
评分
-
1
查看全部评分
-
|