|
发表于 2009-6-10 19:17:34
|
显示全部楼层
其实gba有很多调试器 no$gba比较常用
$ `3 w% y# ?/ A3 I$ D: Xvba172也算调试器 断点可以用cheatengine+olldbg大法) g: E x4 E5 g4 A3 m/ R8 X9 E0 y
这种办法可以hack所有不能断点的调试器
h+ |: X; p4 x$ H& E- T- Y+ [+ d
附:黄金太阳穿墙源码/ q( L) C8 L! j2 I( D' S7 }
========================================2 F( [6 P5 j$ i# T
04000130 B+[u=bd d=7d l=dd r=ed]* q7 w9 z) o b9 j: V8 [9 t
02030ee2 l=fffe r=0001
4 c, q# S0 _$ m, y* r! E; H02030eea u=fffe d=0001
5 `* \4 t! q v========# Q4 a7 z2 z8 O9 `$ t j! O; P
0800f140 mov r3,06 b% e8 I6 o6 E. q( ^( t. N3 x
0800f142 str r3,[r7,24] ;-x) d1 g- m3 n# y. y0 W: p
0800f144 str r3,[r7,2c] ;-y
0 I4 g: \* v8 Z+ g" P0800f146 mov r3,3
0 X8 i- ^( i4 ~/ j6 x========7 z$ c' M' \ z( x+ ^
0800f142 bl 08014000+ H4 o. c- d* T
--------
2 w% m. @- R! d6 _08014000 str r3,[r7,24] ;-x" W% ^ A- @' t% `" J
08014002 str r3,[r7,2c] ;-y) E7 I3 F6 d% J' r9 x' z
08014004 push r0-r2
9 L5 R; M$ F/ W( X% [5 H" [08014006 ldr r0,[0801400c] ;=040001301 a2 s0 J: A, x% s+ [) g3 k
08014008 ldrb r0,[r0]
5 _* G8 P$ F; x. q- {( w3 r0801400a b 08014010
/ M/ ~& k; P) ~" k' I1 ^3 y5 B0801400c --------
' P! \: c% @6 q; b/ |0801400e --------
5 Q, ]* s' U$ ^, Y; L08014010 mov r1,19 z) ~0 Y6 E# ]1 [/ x4 h! m
08014012 sub r2,r1,2/ D7 |; b* K4 o7 J8 l I6 b
08014014 cmp r0,0bd2 g7 z0 m* X) [/ W3 B1 x
08014016 bne 0801401c3 }7 t6 L3 I2 ^
08014018 strh r2,[r7,2e]( Z; {, k3 m% ~+ N$ ]1 H
0801401a b 08014032
# X9 e" u3 d5 J- c0 s( b1 ^" ?0801401c cmp r0,07d
# H0 M5 h- }# U- Y) m2 t9 a+ U+ M, k0801401e bne 08014024
+ O8 `' q$ F. }% X% z08014020 strh r1,[r7,2e]
/ y3 V z6 Z( M( S6 `- [08014022 b 080140328 O, R }+ d2 B" E' T. }2 {
08014024 cmp r0,0dd
) M/ [0 w. L, o/ X* O: _- S) Q( }. ^08014026 bne 0801402c+ L; p8 K s5 B, c9 g: C t( M8 }
08014028 strh r2,[r7,26], ^! N4 `1 N# z) P% p8 N
0801402a b 08014032$ J0 \( Q" j, p
0801402c cmp r0,0ed# ~4 n% d$ c2 J f
0801402e bne 080140324 ?9 b; n! T" K U
08014030 strh r1,[r7,26]; J/ f& Z% j' J4 P N, @$ B; M
08014032 pop r0-r2
+ _; y9 s: Q" x A1 E5 A08014034 bx lr0 H0 T" r0 g( ` T6 X9 j
======================================== |
评分
-
1
查看全部评分
-
|