无聊之士
全控
级别: 火花会员
编号: 49952
精华: 5
发帖: 432
威望: 25 点
配偶: 单身
火 花 币: 4092 HHB
注册时间:2006-02-10
最后登陆:2024-06-28
|
经验升级系统研究公布
最近比较忙,工作了哎,程序分析时间少了,不好意思,而且调试程序一度中毒,不过还好,目前研究结果如下,有兴趣的可以看看,希望有人能给我指出几周目的数据地址,让我能和该系统联系起来,以便于做一个随着游戏通关次数的增加而经验减少~~~~~~~~~~~多谢~! 0802b99a 等级加1 0802b9ec bl 802b8e8!!! 开始对升级数据计算,是不是升点 0802c2a6 瞬杀增加20级别差? 0802c2c2 级别差 0802c2c6 级别差+31 0802b9f2 力量+ 0802b9e2 使用过加成长书 0802bb12 一次判定什么都不加,追加HP+1 -------------------------- 0802ba9c 2e03 cmp r6,3 <---------- 2e00 cmp r6,0 0802ba9e db98 blt 802b9d2h <-------d143 bne 802bb28h -------------------------- =================================== 0802B870 A604 add r6, [pc, 10h] (=0802B884h) 0802B872 0203 lsl r3, r0, 8h 0802B874 B570 push r4-r6, lr 0802B876 4D19 ldr r5, [pc, 64h] ([0002B8DC]=0203A4E8) 0802B878 200B mov r0, Bh 0802B87A 5628 ldrsb r0, [r5, r0] 0802B87C 21C0 mov r1, C0h 0802B87E 4008 and r0, r1 0802B880 2800 cmp r0, 0h 0802B882 D106 bne 802B892h 0802B884 4816 ldr r0, [pc, 58h] ([0002B8E0]=0203A568) 0802B886 7AC0 ldrb r0, [r0, Bh] 0802B888 0600 lsl r0, r0, 18h 0802B88A 1600 asr r0, r0, 18h 0802B88C 4008 and r0, r1 0802B88E 2800 cmp r0, 0h 0802B890 D021 beq 802B8D6h 0802B892 4814 ldr r0, [pc, 50h] ([0002B8E4]=0202BCEC) 0802B894 7D01 ldrb r1, [r0, 14h] 0802B896 2080 mov r0, 80h 0802B898 4008 and r0, r1 0802B89A 2800 cmp r0, 0h 0802B89C D11B bne 802B8D6h 0802B89E 4C10 ldr r4, [pc, 40h] ([0002B8E0]=0203A568) 0802B8A0 1C28 mov r0, r5 <-----(r5=0203A4E8=>r0,r4=0203A568=>r1) 0802B8A2 1C21 mov r1, r4 0802B8A4 FDE2F000 bl 802C46Ch<-----------------经验值增加判定入口 ===> 0802C46C B530 push r4-r5, lr <-----(r5=0203A4E8,r4=0203A568) 0802C46E B081 sub sp, 4h 0802C470 1C04 mov r4, r0 <-----(r0=0203A4E8=>r4,r1=0203A568=>r5) 0802C472 1C0D mov r5, r1 0802C474 FA62F7FF bl 802B93Ch <-------参看0802B970h调用程序就可以知道了 0802C478 0600 lsl r0, r0, 18h 0802C47A 2800 cmp r0, 0h<------------由上面的处理得出所有不加经验的情况下必然有:r0=0 0802C47C D00D beq 802C49Ah 0802C47E 2013 mov r0, 13h 0802C480 5620 ldrsb r0, [r4, r0]<-----------读出自己的HP 0802C482 2800 cmp r0, 0h 0802C484 D009 beq 802C49Ah<------------HP等于0也跳出+经验程序 0802C486 6828 ldr r0, [r5, 0h] 0802C488 6869 ldr r1, [r5, 4h] 0802C48A 6A80 ldr r0, [r0, 28h] 0802C48C 6A89 ldr r1, [r1, 28h] 0802C48E 4308 orr r0, r1 0802C490 2180 mov r1, 80h 0802C492 0449 lsl r1, r1, 11h 0802C494 4008 and r0, r1 0802C496 2800 cmp r0, 0h 0802C498 D001 beq 802C49Eh
0802C49A 2000\1 mov r0, 0\1h<------自己死亡等一些情况则经验+0,修改为+1,因为后面要移位1
0802C49C E023 b 802C4E6h 0802C49E 1C20 mov r0, r4 0802C4A0 307C add r0, 7Ch 0802C4A2 7800 ldrb r0, [r0, 0h] 0802C4A4 0600 lsl r0, r0, 18h 0802C4A6 1600 asr r0, r0, 18h 0802C4A8 2800 cmp r0, 0h 0802C4AA D101 bne 802C4B0h
0802C4AC 2001\2 mov r0, 1\2h<------战斗没命中经验+1,修改为+2,因为后面要移位1
0802C4AE E01A b 802C4E6h 0802C4B0 1C20 mov r0, r4 0802C4B2 1C29 mov r1, r5 0802C4B4 FEFCF7FF bl 802C2B0h<------+多少经验?-->判定计算进入! ----------------------------- 0802C2B0 B570 push r4-r6, lr 0802C2B2 1C06 mov r6, r0 0802C2B4 1C0C mov r4, r1 0802C2B6 FFE9F7FF bl 802C28Ch ===> 0802C28C B500 push , lr 0802C28E 2308 mov r3, 8h 0802C290 56C3 ldrsb r3, [r0, r3] 0802C292 6801 ldr r1, [r0, 0h] 0802C294 6842 ldr r2, [r0, 4h] 0802C296 6A88 ldr r0, [r1, 28h] 0802C298 6A91 ldr r1, [r2, 28h] 0802C29A 4308 orr r0, r1 0802C29C 2180 mov r1, 80h 0802C29E 0049 lsl r1, r1, 1h 0802C2A0 4008 and r0, r1 0802C2A2 2800 cmp r0, 0h 0802C2A4 D000 beq 802C2A8h<------判断是否是上位职业! 0802C2A6 3314 add r3, 14h<------是就+20级别差 0802C2A8 1C18 mov r0, r3 0802C2AA BC02 pop r1 0802C2AC 4708 bx r1 <=== 0802C2BA 1C05 mov r5, r0 0802C2BC 1C20 mov r0, r4 0802C2BE FFE5F7FF bl 802C28Ch ===> <=== 0802C2C2 1A2D sub r5, r5, r0<------敌我方级别差 0802C2C4 201F mov r0, 1Fh 0802C2C6 1B45 sub r5, r0, r5<----(31-敌我方级别差) 0802C2C8 2D00 cmp r5, 0h 0802C2CA DA00 bge 802C2CEh<----(31-敌我方级别差)大于0则跳过取0 0802C2CC 2500 mov r5, 0h<----(31-敌我方级别差)小于0则取0 0802C2CE 6870 ldr r0, [r6, 4h] 0802C2D0 211A mov r1, 1Ah 0802C2D2 5641 ldrsb r1, [r0, r1] 0802C2D4 1C28 mov r0, r5<--------对r0<---r5,数据便于保护? 0802C2D6 F98FF0AA bl 80D65F8h<----------循环判定程序,好多...程序未知,初步确定不是经验判定,是显示处理类
0802C2DA BC70 pop r4-r6 0802C2DC BC02 pop r1 0802C2DE 4708 bx r1-----------> 到0802C4B4的下一步 --------------------- 0802C4B8 9000 str r0, [sp, 0h]<-------到这里:级别差数据估计仍然没变 0802C4BA 1C20 mov r0, r4 0802C4BC 1C29 mov r1, r5 0802C4BE FF6BF7FF bl 802C398h<---------初步确立这里就是计算具体经验的程序 0802C4C2 9900 ldr r1, [sp, 0h] 0802C4C4 1809 add r1, r1, r0 0802C4C6 9100 str r1, [sp, 0h] 0802C4C8 2964 cmp r1, 64h 0802C4CA DD01 ble 802C4D0h<-------计算得出的经验大于100则强制等于100增加的经验在[SP]处 0802C4CC 2064 mov r0, 64h 0802C4CE 9000 str r0, [sp, 0h] 0802C4D0 9800 ldr r0, [sp, 0h] 0802C4D2 2800 cmp r0, 0h 0802C4D4 DC01 bgt 802C4DAh<-------计算得出的经验小于0则强制等于1增加的经验在[SP]处 0802C4D6 2001\2 mov r0, 1\2h<-------修改为+2,因为后面要移位1 0802C4D8 9000 str r0, [sp, 0h] 0802C4DA 1C20 mov r0, r4 0802C4DC 1C29 mov r1, r5 0802C4DE 466A mov r2, sp 0802C4E0 FFA2F7FF bl 802C428h ---> 0802C428 B500 push , lr 0802C42A 1C03 mov r3, r0 0802C42C 6848 ldr r0, [r1, 4h] 0802C42E 7900 ldrb r0, [r0, 4h] 0802C430 2862 cmp r0, 62h 0802C432 D001 beq 802C438h 0802C434 2834 cmp r0, 34h 0802C436 D107 bne 802C448h 0802C438 2013 mov r0, 13h 0802C43A 5608 ldrsb r0, [r1, r0] 0802C43C 2800 cmp r0, 0h 0802C43E D101 bne 802C444h 0802C440 2032 mov r0, 32h 0802C442 E000 b 802C446h 0802C444 2000 mov r0, 0h 0802C446 6010 str r0, [r2, 0h] 0802C448 6848 ldr r0, [r1, 4h] 0802C44A 7900 ldrb r0, [r0, 4h] 0802C44C 2866 cmp r0, 66h 0802C44E D105 bne 802C45Ch 0802C450 7CC9 ldrb r1, [r1, 13h] 0802C452 0609 lsl r1, r1, 18h 0802C454 1609 asr r1, r1, 18h 0802C456 2900 cmp r1, 0h 0802C458 D100 bne 802C45Ch 0802C45A 6011 str r1, [r2, 0h] 0802C45C 6858 ldr r0, [r3, 4h] 0802C45E 7900 ldrb r0, [r0, 4h] 0802C460 2851 cmp r0, 51h 0802C462 D101 bne 802C468h 0802C464 2000 mov r0, 0h 0802C466 6010 str r0, [r2, 0h] 0802C468 BC01 pop r0 0802C46A 4700 bx r0 <--- 0802C4E4 9800 ldr r0, [sp, 0h]<---增加的经验从[SP]处读出 0802C4E6 B001 add sp, 4h 0802C4E8 BC30 pop r4-r5 0802C4EA BC02 pop r1 0802C4EC 4708 bx r1 0802C4Ee 0000 lsl r0,r0,0<----------从这里到前面几步做以下修改,做到经验等于原ROM的一半! -- 修改!!! 0802C4E4 9800 ldr r0, [sp, 0h]<---增加的经验从[SP]处读出
0802C4EE-8 0840 lsl r0,r0,1<-从这里做以下修改,是经验等于原ROM的一半!,以后在这里做转移,让困难模式经验减半更好,每周目慢慢变化更好!
0802C4E6+2 B001 add sp, 4h 0802C4E8+2 BC30 pop r4-r5 0802C4EA+2 BC02 pop r1 0802C4EC+2 4708 bx r1 -- <=== 0802B8A8 1C2E mov r6, r5 0802B8AA 366E add r6, 6Eh 0802B8AC 7030 strb r0, [r6, 0h]<---增加的经验存入R6所在的地址 0802B8AE 1C20 mov r0, r4 0802B8B0 1C29 mov r1, r5 0802B8B2 FDDBF000 bl 802C46Ch====> 对另一方增加的经验进行计算 <======= 0802B8B6 1C21 mov r1, r4 0802B8B8 316E add r1, 6Eh 0802B8BA 7008 strb r0, [r1, 0h] 0802B8BC 7831 ldrb r1, [r6, 0h]<-----读出增加经验值 0802B8BE 7A6A ldrb r2, [r5, 9h]<-----读出当前经验值r5=0802a4e8 0802B8C0 1889 add r1, r1, r2 0802B8C2 7269 strb r1, [r5, 9h]<-----存入经验值到r5+9=0802a4e8+9 0802B8C4 7A61 ldrb r1, [r4, 9h] 0802B8C6 1809 add r1, r1, r0 0802B8C8 7261 strb r1, [r4, 9h] 0802B8CA 1C28 mov r0, r5<---------r5到r0 0802B8CC F850F000 bl 802B970h 0802B8D0 1C20 mov r0, r4 0802B8D2 F84DF000 bl 802B970h 0802B8D6 BC70 pop r4-r6 0802B8D8 BC01 pop r0 0802B8DA 4700 bx r0 ===================================
========================== 0802B970 B5F0 push r4-r7,lr 0802B972 4657 mov r7,r10 0802B974 464E mov r6,r9 0802B976 4645 mov r5,r8 0802B978 B4E0 push r5-r7 0802B97A B084 add sp,-10h 0802B97C 1C07 add r7,r0,0h<---------r0到r7 0802B97E F7FF bl 0802B93Ch -------------------------- 0802B93C B500 push , lr 0802B93E 1C02 mov r2, r0 0802B940 4808 ldr r0, [pc, 20h] ([0002B964]=0202BCAC) 0802B942 7901 ldrb r1, [r0, 4h] 0802B944 2040 mov r0, 40h 0802B946 4008 and r0, r1 0802B948 2800 cmp r0, 0h 0802B94A D108 bne 802B95Eh 0802B94C 7A50 ldrb r0, [r2, 9h] 0802B94E 28FF cmp r0, FFh<---------------经验值为FF则跳出去,因为FF经验显示为--所以就不判定升级了 0802B950 D00A beq 802B968h 0802B952 200B mov r0, Bh 0802B954 5610 ldrsb r0, [r2, r0] 0802B956 21C0 mov r1, C0h 0802B958 4008 and r0, r1 0802B95A 2800 cmp r0, 0h 0802B95C D104 bne 802B968h 0802B95E 2001 mov r0, 1h 0802B960 E003 b 802B96Ah 0802B962 0000 lsl r0, r0, 0 0802B964 BCAC pop r2-r3,r5,r7 0802B966 0202 lsl r2, r0, 8h 0802B968 2000 mov r0, 0h 0802B96A BC02 pop r1 0802B96C 4708 bx r1 -------------------------- 0802B982 0600 lsl r0,r0,18h 0802B984 2800 cmp r0,0h 0802B986 D100 bne 0802B98Ah 0802B988 E0D5 b 0802BB36h 0802B98A 7A78 ldrb r0,[r7,9h] 0802B98C 2863 cmp r0,63h 0802B98E D800 bhi 0802B992h 0802B990 E0D1 b 0802BB36h 0802B992 1C03 add r3,r0,0h 0802B994 3B64 sub r3,64h<-----经验值减100,存入所得经验值,如果所得经验值为FF则显示为-- 0802B996 727B strb r3,[r7,9h] 0802B998 7A38 ldrb r0,[r7,8h] 0802B99A 1C42 add r2,r0,1h 0802B99C 723A strb r2,[r7,8h] 0802B99E 6838 ldr r0,[r7,0h] 0802B9A0 6879 ldr r1,[r7,4h] 0802B9A2 6A80 ldr r0,[r0,28h] 0802B9A4 6A89 ldr r1,[r1,28h] 0802B9A6 4308 orr r0,r1 0802B9A8 2180 mov r1,80h 0802B9AA 0309 lsl r1,r1,0Ch 0802B9AC 4008 and r0,r1 0802B9AE 2800 cmp r0,0h 0802B9B0 D004 beq 0802B9BCh 0802B9B2 0610 lsl r0,r2,18h 0802B9B4 1600 asr r0,r0,18h 0802B9B6 280A cmp r0,Ah 0802B9B8 D10B bne 0802B9D2h 0802B9BA E003 b 0802B9C4h 0802B9BC 0610 lsl r0,r2,18h 0802B9BE 1600 asr r0,r0,18h 0802B9C0 2814 cmp r0,14h<--------测试级别是不是20,是的话经验变FF 0802B9C2 D106 bne 0802B9D2h 0802B9C4 1C39 add r1,r7,0h 0802B9C6 316E add r1,6Eh 0802B9C8 7808 ldrb r0,[r1,0h] 0802B9CA 1AC0 sub r0,r0,r3 0802B9CC 7008 strb r0,[r1,0h] 0802B9CE 20FF mov r0,FFh<--------经验变FF 0802B9D0 7278 strb r0,[r7,9h] -------------------------------------- 0802B9D2 68F8 ldr r0,[r7,Ch] 0802B9D4 2180 mov r1,80h 0802B9D6 0189 lsl r1,r1,06h 0802B9D8 4008 and r0,r1 0802B9DA 2100 mov r1,0h 0802B9DC 468A mov r10,r1 0802B9DE 2800 cmp r0,0h 0802B9E0 D001 beq 0802B9E6h<-------是否使用过成长书 0802B9E2 2005 mov r0,5h 0802B9E4 4682 mov r10,r0 ------------------------------------- ====================== 系列加点乱数判定===> 0802B8E8 B510 push r4, lr 0802B8EA 2400 mov r4, 0h 0802B8EC 2864 cmp r0, 64h 0802B8EE DD03 ble 802B8F8h 0802B8F0 3401 add r4, 1h 0802B8F2 3864 sub r0, 64h 0802B8F4 2864 cmp r0, 64h 0802B8F6 DCFB bgt 802B8F0h 0802B8F8 F9BEF7D5 bl 8000C78h 0802B8FC 0600 lsl r0, r0, 18h 0802B8FE 2800 cmp r0, 0h 0802B900 D000 beq 802B904h 0802B902 3401 add r4, 1h 0802B904 1C20 mov r0, r4 0802B906 BC10 pop r4 0802B908 BC02 pop r1 0802B90A 4708 bx r1 ============================ 系列加点判定开始------》
HP
0802B9E6 6838 ldr r0,[r7,0h] 0802B9E8 7F00 ldrb r0,[r0,1Ch] 0802B9EA 4450 add r0,r10 0802B9EC F7FF bl 0802B8E8h 0802B9F0 1C39 add r1,r7,0h 0802B9F2 3173 add r1,73h 0802B9F4 9100 str r1,[sp,0h] 0802B9F6 7008 strb r0,[r1,0h] 0802B9F8 2600 mov r6,0h 0802B9FA 578E ldrh r6,[r1,r6]
STR
0802B9FC 6838 ldr r0,[r7,0h] 0802B9FE 7F40 ldrb r0,[r0,1Dh] 0802BA00 4450 add r0,r10 0802BA02 F7FF bl 0802B8E8h 0802BA06 1C39 add r1,r7,0h 0802BA08 3174 add r1,74h 0802BA0A 9101 str r1,[sp,4h] 0802BA0C 7008 strb r0,[r1,0h] 0802BA0E 2000 mov r0,0h 0802BA10 5608 ldrh r0,[r1,r0] 0802BA12 1836 add r6,r6,r0
SKI
0802BA14 6838 ldr r0,[r7,0h] 0802BA16 7F80 ldrb r0,[r0,1Eh] 0802BA18 4450 add r0,r10 0802BA1A F7FF bl 0802B8E8h 0802BA1E 2175 mov r1,75h 0802BA20 19C9 add r1,r1,r7 0802BA22 4688 mov r8,r1 0802BA24 7008 strb r0,[r1,0h] 0802BA26 2000 mov r0,0h 0802BA28 5608 ldrh r0,[r1,r0] 0802BA2A 1836 add r6,r6,r0
SPD
0802BA2C 6838 ldr r0,[r7,0h] 0802BA2E 7FC0 ldrb r0,[r0,1Fh] 0802BA30 4450 add r0,r10 0802BA32 F7FF bl 0802B8E8h 0802BA36 2176 mov r1,76h 0802BA38 19C9 add r1,r1,r7 0802BA3A 4689 mov r9,r1 0802BA3C 7008 strb r0,[r1,0h] 0802BA3E 2000 mov r0,0h 0802BA40 5608 ldrh r0,[r1,r0] 0802BA42 1836 add r6,r6,r0
DEF
0802BA44 6838 ldr r0,[r7,0h] 0802BA46 3020 add r0,20h 0802BA48 7800 ldrb r0,[r0,0h] 0802BA4A 4450 add r0,r10 0802BA4C F7FF bl 0802B8E8h 0802BA50 1C3D add r5,r7,0h 0802BA52 3577 add r5,77h 0802BA54 7028 strb r0,[r5,0h] 0802BA56 2000 mov r0,0h 0802BA58 5628 ldrh r0,[r5,r0] 0802BA5A 1836 add r6,r6,r0
MDF
0802BA5C 6838 ldr r0,[r7,0h] 0802BA5E 3021 add r0,21h 0802BA60 7800 ldrb r0,[r0,0h] 0802BA62 4450 add r0,r10 0802BA64 F7FF bl 0802B8E8h 0802BA68 1C3C add r4,r7,0h 0802BA6A 3478 add r4,78h 0802BA6C 7020 strb r0,[r4,0h] 0802BA6E 2000 mov r0,0h 0802BA70 5620 ldrh r0,[r4,r0] 0802BA72 1836 add r6,r6,r0
LUCK
0802BA74 6838 ldr r0,[r7,0h] 0802BA76 3022 add r0,22h 0802BA78 7800 ldrb r0,[r0,0h] 0802BA7A 4450 add r0,r10 0802BA7C F7FF bl 0802B8E8h 0802BA80 1C39 add r1,r7,0h 0802BA82 3179 add r1,79h 0802BA84 7008 strb r0,[r1,0h] 0802BA86 2000 mov r0,0h 0802BA88 5608 ldrh r0,[r1,r0] 0802BA8A 1836 add r6,r6,r0
0802BA8C 9800 ldr r0,[sp,0h] 0802BA8E 9002 str r0,[sp,8h] 0802BA90 9801 ldr r0,[sp,4h] 0802BA92 9003 str r0,[sp,Ch] 0802BA94 46C2 mov r10,r8 0802BA96 46A8 mov r8,r5 0802BA98 1C25 add r5,r4,0h 0802BA9A 1C0C add r4,r1,0h 0802BA9C 2E00 cmp r6,0h --->cmp r6,3h 0802BA9E D143 bne 0802BB28h --->bge 0802BB28h 0802BAA0 E037 b 0802BB12h--->跳向加HP强制判定 b 0802BB16h ============================================================================================================================= 只加一点判定区-----------》我对其进行组合修改
STR
0802BAA2 6838 ldr r0,[r7,0h] 0802BAA4 7F40 ldrb r0,[r0,1Dh] 0802BAA6 F7FF bl 0802B8E8h 0802BAAA 9903 ldr r1,[sp,Ch] 0802BAAC 7008 strb r0,[r1,0h] 0802BAAE 0600 lsl r0,r0,18h --->add r6,r6,r0 0802BAB0 2800 cmp r0,0h 0802BAB2 D139 bne 0802BB28h --->加力则跳过+技速判定 bne 0802BAD8h
SKI
0802BAB4 6838 ldr r0,[r7,0h] 0802BAB6 7F80 ldrb r0,[r0,1Eh] 0802BAB8 F7FF bl 0802B8E8h 0802BABC 4651 mov r1,r10 0802BABE 7008 strb r0,[r1,0h] 0802BAC0 0600 lsl r0,r0,18h--->add r6,r6,r0 0802BAC2 2800 cmp r0,0h 0802BAC4 D130 bne 0802BB28h --->加SKI则跳过+SPD判定 bne 0802BAd8h
SPD
0802BAC6 6838 ldr r0,[r7,0h] 0802BAC8 7FC0 ldrb r0,[r0,1Fh] 0802BACA F7FF bl 0802B8E8h 0802BACE 4649 mov r1,r9 0802BAD0 7008 strb r0,[r1,0h] 0802BAD2 0600 lsl r0,r0,18h--->add r6,r6,r0 0802BAD4 2800 cmp r0,0h 0802BAD6 D127 bne 0802BB28h--->加SPD则跳过+DEF判定 bne 0802BAEch
DEF
0802BAD8 6838 ldr r0,[r7,0h] 0802BADA 3020 add r0,20h 0802BADC 7800 ldrb r0,[r0,0h] 0802BADE F7FF bl 0802B8E8h 0802BAE2 4641 mov r1,r8 0802BAE4 7008 strb r0,[r1,0h] 0802BAE6 1836 add r6,r6,r0 0802BAE8 2800 cmp r0,0h 0802BAEA D109 bne 0802BB00h--->加DEF则跳过+MDF判定且HP+1
MDF
0802BAEC 9902 ldr r1,[sp,8h] 0802BAEE 3021 add r0,21h 0802BAF0 7800 ldrb r0,[r0,0h] 0802BAF2 F7FF bl 0802B8E8h 0802BAF6 7028 strb r0,[r5,0h] 0802BAF8 1836 add r6,r6,r0 0802BAFA 2801 cmp r0,1h 0802BAFC D102 bne 0802BB04h 0802BAFE 2000 mov r0,0h--->不加MDF则hp+0 0802BB00 9902 ldr r1,[sp,8h]--->加DEF则跳过+MDF判定且HP+1 0802BB02 7008 strb r0,[r1,0h]---> 加MDF则hp+0
LUCK
0802BB04 6838 ldr r0,[r7,0h] 0802BB06 3022 add r0,22h 0802BB08 7800 ldrb r0,[r0,0h] 0802BB0A F7FF bl 0802B8E8h 0802BB0E 7020 strb r0,[r4,0h] 0802BB10 1836 add r6,r6,r0----->加LUCK ============================================================================================================================= 0802BB12 2E01 cmp r6,1h --->2E03 cmp r6,3h 0802BB14 DA08 bge 0802BB28h
HP
0802BB16 6838 ldr r0,[r7,0h] 0802BB18 7F00 ldrb r0,[r0,1Ch] 0802BB1A F7FF bl 0802B8E8h 0802BB1E 9902 ldr r1,[sp,8h] 0802BB20 7008 strb r0,[r1,0h] 0802BB22 0600 lsl r0,r0,18h---->mov r6,1h 0802BB24 2800 cmp r0,0h 0802BB26 D0BC beq 0802BAA2h --->加HP强制判定 b 0802BAA2h -=-=-=-==-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-==-=-=-=-=-==-=-=-==-=-==-=-=-==-=-==-==-=- 0802BB28 200B mov r0,Bh 0802BB2A 5638 ldrh r0,[r7,r0] 0802BB2C F7ED bl 08019108h 0802BB30 1C39 add r1,r7,0h 0802BB32 F000 bl 0802BE6Ch 0802BB36 B004 add sp,10h 0802BB38 BC38 pop r3-r5 0802BB3A 4698 mov r8,r3 0802BB3C 46A1 mov r9,r4 0802BB3E 46AA mov r10,r5 0802BB40 BCF0 pop r4-r7 0802BB42 BC01 pop r0 0802BB44 4700 bx r0--------》结束,返回 -----------------------------------------------------------------------------------------------------------------------------
0802BB46 0000 lsl r0,r0,00h 0802BB48 B5F0 push r4-r7,lr 0802BB4A 464F mov r7,r9 0802BB4C 4646 mov r6,r8 0802BB4E B4C0 push r6,r7 0802BB50 1C05 add r5,r0,0h 0802BB52 6868 ldr r0,[r5,4h] 0802BB54 7940 ldrb r0,[r0,5h] 0802BB56 F7ED bl 0801911Ch 0802BB5A 1C04 add r4,r0,0h 0802BB5C 6868 ldr r0,[r5,4h] 0802BB5E 7900 ldrb r0,[r0,4h] 0802BB60 4680 mov r8,r0 0802BB62 7920 ldrb r0,[r4,4h] 0802BB64 4681 mov r9,r0 0802BB66 1C26 add r6,r4,0h 0802BB68 3622 add r6,22h 0802BB6A 7830 ldrb r0,[r6,0h] 0802BB6C 7CA9 ldrb r1,[r5,12h] 0802BB6E 1840 add r0,r0,r1 0802BB70 74A8 strb r0,[r5,12h] 0802BB72 0600 lsl r0,r0,18h 0802BB74 1600 asr r0,r0,18h 0802BB76 7CE2 ldrb r2,[r4,13h] 0802BB78 2113 mov r1,13h 0802BB7A 5661 ldrh r1,[r4,r1] 0802BB7C 4288 cmp r0,r1<------------初步推断是与职业上限比较,到了上限就不加点了,下面还有很多比较 0802BB7E DD00 ble 0802BB82h 0802BB80 74AA strb r2,[r5,12h] 0802BB82 1C20 add r0,r4,0h 0802BB84 3023 add r0,23h 0802BB86 7800 ldrb r0,[r0,0h] 0802BB88 7D29 ldrb r1,[r5,14h] 0802BB8A 1840 add r0,r0,r1 0802BB8C 7528 strb r0,[r5,14h] 0802BB8E 0600 lsl r0,r0,18h 0802BB90 1600 asr r0,r0,18h 0802BB92 7D22 ldrb r2,[r4,14h] 0802BB94 2114 mov r1,14h 0802BB96 5661 ldrh r1,[r4,r1] 0802BB98 4288 cmp r0,r1 0802BB9A DD00 ble 0802BB9Eh 0802BB9C 752A strb r2,[r5,14h] 0802BB9E 1C20 add r0,r4,0h 0802BBA0 3024 add r0,24h 0802BBA2 7800 ldrb r0,[r0,0h] 0802BBA4 7D69 ldrb r1,[r5,15h] 0802BBA6 1840 add r0,r0,r1 0802BBA8 7568 strb r0,[r5,15h] 0802BBAA 0600 lsl r0,r0,18h 0802BBAC 1600 asr r0,r0,18h 0802BBAE 7D62 ldrb r2,[r4,15h] 0802BBB0 2115 mov r1,15h 0802BBB2 5661 ldrh r1,[r4,r1] 0802BBB4 4288 cmp r0,r1 0802BBB6 DD00 ble 0802BBBAh 0802BBB8 756A strb r2,[r5,15h] 0802BBBA 1C20 add r0,r4,0h 0802BBBC 3025 add r0,25h 0802BBBE 7800 ldrb r0,[r0,0h] 0802BBC0 7DA9 ldrb r1,[r5,16h] 0802BBC2 1840 add r0,r0,r1 0802BBC4 75A8 strb r0,[r5,16h] 0802BBC6 0600 lsl r0,r0,18h 0802BBC8 1600 asr r0,r0,18h 0802BBCA 7DA2 ldrb r2,[r4,16h] 0802BBCC 2116 mov r1,16h 0802BBCE 5661 ldrh r1,[r4,r1] 0802BBD0 4288 cmp r0,r1 0802BBD2 DD00 ble 0802BBD6h 0802BBD4 75AA strb r2,[r5,16h] 0802BBD6 1C20 add r0,r4,0h 0802BBD8 3026 add r0,26h 0802BBDA 7800 ldrb r0,[r0,0h] 0802BBDC 7DE9 ldrb r1,[r5,17h] 0802BBDE 1840 add r0,r0,r1 0802BBE0 75E8 strb r0,[r5,17h] 0802BBE2 0600 lsl r0,r0,18h 0802BBE4 1600 asr r0,r0,18h 0802BBE6 7DE2 ldrb r2,[r4,17h] 0802BBE8 2117 mov r1,17h 0802BBEA 5661 ldrh r1,[r4,r1] 0802BBEC 4288 cmp r0,r1 0802BBEE DD00 ble 0802BBF2h 0802BBF0 75EA strb r2,[r5,17h] 0802BBF2 1C20 add r0,r4,0h 0802BBF4 3027 add r0,27h 0802BBF6 7800 ldrb r0,[r0,0h] 0802BBF8 7E29 ldrb r1,[r5,18h] 0802BBFA 1840 add r0,r0,r1 0802BBFC 7628 strb r0,[r5,18h] 0802BBFE 0600 lsl r0,r0,18h 0802BC00 1600 asr r0,r0,18h 0802BC02 7E22 ldrb r2,[r4,18h] 0802BC04 2118 mov r1,18h 0802BC06 5661 ldrh r1,[r4,r1] 0802BC08 4288 cmp r0,r1 0802BC0A DD00 ble 0802BC0Eh 0802BC0C 762A strb r2,[r5,18h] 0802BC0E 2300 mov r3,0h 0802BC10 46B4 mov r12,r6 0802BC12 1C2F add r7,r5,0h 0802BC14 3728 add r7,28h 0802BC16 1C3E add r6,r7,0h 0802BC18 18F2 add r2,r6,r3 0802BC1A 6868 ldr r0,[r5,4h] 0802BC1C 302C add r0,2Ch 0802BC1E 18C0 add r0,r0,r3 0802BC20 7811 ldrb r1,[r2,0h] 0802BC22 7800 ldrb r0,[r0,0h] 0802BC24 1A09 sub r1,r1,r0 0802BC26 7011 strb r1,[r2,0h] 0802BC28 3301 add r3,1h 0802BC2A 2B07 cmp r3,7h 0802BC2C DDF4 ble 0802BC18h 0802BC2E 606C str r4,[r5,4h] 0802BC30 2300 mov r3,0h 0802BC32 1C3C add r4,r7,0h 0802BC34 18E2 add r2,r4,r3 0802BC36 7811 ldrb r1,[r2,0h] 0802BC38 6868 ldr r0,[r5,4h] 0802BC3A 302C add r0,2Ch 0802BC3C 18C0 add r0,r0,r3 0802BC3E 7800 ldrb r0,[r0,0h] 0802BC40 1809 add r1,r1,r0 0802BC42 29FB cmp r1,FBh<------武器级别是否到255的判定!以后设计没命中武器级别会降~255就不要降了~ 0802BC44 DD00 ble 0802BC48h 0802BC46 21FB mov r1,FBh 0802BC48 7011 strb r1,[r2,0h] 0802BC4A 3301 add r3,1h 0802BC4C 2B07 cmp r3,7h 0802BC4E DDF1 ble 0802BC34h<------各类武器级别是否到255的判定循环 0802BC50 4640 mov r0,r8 0802BC52 283E cmp r0,3Eh 0802BC54 D106 bne 0802BC64h 0802BC56 4649 mov r1,r9 0802BC58 292D cmp r1,2Dh 0802BC5A D103 bne 0802BC64h 0802BC5C 1C29 add r1,r5,0h 0802BC5E 312D add r1,2Dh 0802BC60 2000 mov r0,0h 0802BC62 7008 strb r0,[r1,0h] 0802BC64 2100 mov r1,0h 0802BC66 2001 mov r0,1h 0802BC68 7228 strb r0,[r5,8h] 0802BC6A 7269 strb r1,[r5,9h] 0802BC6C 4661 mov r1,r12 0802BC6E 7808 ldrb r0,[r1,0h] 0802BC70 7CE9 ldrb r1,[r5,13h] 0802BC72 1840 add r0,r0,r1 0802BC74 74E8 strb r0,[r5,13h] 0802BC76 2413 mov r4,13h 0802BC78 572C ldrh r4,[r5,r4] 0802BC7A 1C28 add r0,r5,0h 0802BC7C F7ED bl 08018EA4h 0802BC80 4284 cmp r4,r0 0802BC82 DD03 ble 0802BC8Ch 0802BC84 1C28 add r0,r5,0h 0802BC86 F7ED bl 08018EA4h 0802BC8A 74E8 strb r0,[r5,13h] 0802BC8C BC18 pop r3,r4 0802BC8E 4698 mov r8,r3 0802BC90 46A1 mov r9,r4 0802BC92 BCF0 pop r4-r7 0802BC94 BC01 pop r0 0802BC96 4700 bx r0
0802BC98 B5F0 push r4-r7,lr 0802BC9A 464F mov r7,r9 0802BC9C 4646 mov r6,r8 0802BC9E B4C0 push r6,r7 0802BCA0 1C05 add r5,r0,0h 0802BCA2 0608 lsl r0,r1,18h 0802BCA4 0E00 lsr r0,r0,18h 0802BCA6 F7ED bl 0801911Ch 0802BCAA 1C04 add r4,r0,0h 0802BCAC 6868 ldr r0,[r5,4h] 0802BCAE 7900 ldrb r0,[r0,4h] 0802BCB0 4680 mov r8,r0 0802BCB2 7920 ldrb r0,[r4,4h] 0802BCB4 4681 mov r9,r0 0802BCB6 1C26 add r6,r4,0h 0802BCB8 3622 add r6,22h 0802BCBA 7830 ldrb r0,[r6,0h] 0802BCBC 7CA9 ldrb r1,[r5,12h] 0802BCBE 1840 add r0,r0,r1 0802BCC0 74A8 strb r0,[r5,12h] 0802BCC2 0600 lsl r0,r0,18h 0802BCC4 1600 asr r0,r0,18h 0802BCC6 7CE2 ldrb r2,[r4,13h] 0802BCC8 2113 mov r1,13h 0802BCCA 5661 ldrh r1,[r4,r1] 0802BCCC 4288 cmp r0,r1 0802BCCE DD00 ble 0802BCD2h 0802BCD0 74AA strb r2,[r5,12h] 0802BCD2 1C20 add r0,r4,0h 0802BCD4 3023 add r0,23h 0802BCD6 7800 ldrb r0,[r0,0h] 0802BCD8 7D29 ldrb r1,[r5,14h] 0802BCDA 1840 add r0,r0,r1 0802BCDC 7528 strb r0,[r5,14h] 0802BCDE 0600 lsl r0,r0,18h 0802BCE0 1600 asr r0,r0,18h 0802BCE2 7D22 ldrb r2,[r4,14h] 0802BCE4 2114 mov r1,14h 0802BCE6 5661 ldrh r1,[r4,r1] 0802BCE8 4288 cmp r0,r1 0802BCEA DD00 ble 0802BCEEh 0802BCEC 752A strb r2,[r5,14h] 0802BCEE 1C20 add r0,r4,0h 0802BCF0 3024 add r0,24h 0802BCF2 7800 ldrb r0,[r0,0h] 0802BCF4 7D69 ldrb r1,[r5,15h] 0802BCF6 1840 add r0,r0,r1 0802BCF8 7568 strb r0,[r5,15h] 0802BCFA 0600 lsl r0,r0,18h 0802BCFC 1600 asr r0,r0,18h 0802BCFE 7D62 ldrb r2,[r4,15h] 0802BD00 2115 mov r1,15h 0802BD02 5661 ldrh r1,[r4,r1] 0802BD04 4288 cmp r0,r1 0802BD06 DD00 ble 0802BD0Ah 0802BD08 756A strb r2,[r5,15h] 0802BD0A 1C20 add r0,r4,0h 0802BD0C 3025 add r0,25h 0802BD0E 7800 ldrb r0,[r0,0h] 0802BD10 7DA9 ldrb r1,[r5,16h] 0802BD12 1840 add r0,r0,r1 0802BD14 75A8 strb r0,[r5,16h] 0802BD16 0600 lsl r0,r0,18h 0802BD18 1600 asr r0,r0,18h 0802BD1A 7DA2 ldrb r2,[r4,16h] 0802BD1C 2116 mov r1,16h 0802BD1E 5661 ldrh r1,[r4,r1] 0802BD20 4288 cmp r0,r1 0802BD22 DD00 ble 0802BD26h 0802BD24 75AA strb r2,[r5,16h] 0802BD26 1C20 add r0,r4,0h 0802BD28 3026 add r0,26h 0802BD2A 7800 ldrb r0,[r0,0h] 0802BD2C 7DE9 ldrb r1,[r5,17h] 0802BD2E 1840 add r0,r0,r1 0802BD30 75E8 strb r0,[r5,17h] 0802BD32 0600 lsl r0,r0,18h 0802BD34 1600 asr r0,r0,18h 0802BD36 7DE2 ldrb r2,[r4,17h] 0802BD38 2117 mov r1,17h 0802BD3A 5661 ldrh r1,[r4,r1] 0802BD3C 4288 cmp r0,r1 0802BD3E DD00 ble 0802BD42h 0802BD40 75EA strb r2,[r5,17h] 0802BD42 1C20 add r0,r4,0h 0802BD44 3027 add r0,27h 0802BD46 7800 ldrb r0,[r0,0h] 0802BD48 7E29 ldrb r1,[r5,18h] 0802BD4A 1840 add r0,r0,r1 0802BD4C 7628 strb r0,[r5,18h] 0802BD4E 0600 lsl r0,r0,18h 0802BD50 1600 asr r0,r0,18h 0802BD52 7E22 ldrb r2,[r4,18h] 0802BD54 2118 mov r1,18h 0802BD56 5661 ldrh r1,[r4,r1] 0802BD58 4288 cmp r0,r1 0802BD5A DD00 ble 0802BD5Eh 0802BD5C 762A strb r2,[r5,18h] 0802BD5E 2300 mov r3,0h 0802BD60 46B4 mov r12,r6 0802BD62 1C2F add r7,r5,0h 0802BD64 3728 add r7,28h 0802BD66 1C3E add r6,r7,0h 0802BD68 18F2 add r2,r6,r3 0802BD6A 6868 ldr r0,[r5,4h] 0802BD6C 302C add r0,2Ch 0802BD6E 18C0 add r0,r0,r3 0802BD70 7811 ldrb r1,[r2,0h] 0802BD72 7800 ldrb r0,[r0,0h] 0802BD74 1A09 sub r1,r1,r0 0802BD76 7011 strb r1,[r2,0h] 0802BD78 3301 add r3,1h 0802BD7A 2B07 cmp r3,7h 0802BD7C DDF4 ble 0802BD68h 0802BD7E 606C str r4,[r5,4h] 0802BD80 2300 mov r3,0h 0802BD82 1C3C add r4,r7,0h 0802BD84 18E2 add r2,r4,r3 0802BD86 7811 ldrb r1,[r2,0h] 0802BD88 6868 ldr r0,[r5,4h] 0802BD8A 302C add r0,2Ch 0802BD8C 18C0 add r0,r0,r3 0802BD8E 7800 ldrb r0,[r0,0h] 0802BD90 1809 add r1,r1,r0 0802BD92 29FB cmp r1,FBh 0802BD94 DD00 ble 0802BD98h 0802BD96 21FB mov r1,FBh 0802BD98 7011 strb r1,[r2,0h] 0802BD9A 3301 add r3,1h 0802BD9C 2B07 cmp r3,7h 0802BD9E DDF1 ble 0802BD84h 0802BDA0 4640 mov r0,r8 0802BDA2 283E cmp r0,3Eh 0802BDA4 D106 bne 0802BDB4h 0802BDA6 4649 mov r1,r9 0802BDA8 292D cmp r1,2Dh 0802BDAA D103 bne 0802BDB4h 0802BDAC 1C29 add r1,r5,0h 0802BDAE 312D add r1,2Dh 0802BDB0 2000 mov r0,0h 0802BDB2 7008 strb r0,[r1,0h] 0802BDB4 2100 mov r1,0h 0802BDB6 2001 mov r0,1h 0802BDB8 7228 strb r0,[r5,8h] 0802BDBA 7269 strb r1,[r5,9h] 0802BDBC 4661 mov r1,r12 0802BDBE 7808 ldrb r0,[r1,0h] 0802BDC0 7CE9 ldrb r1,[r5,13h] 0802BDC2 1840 add r0,r0,r1 0802BDC4 74E8 strb r0,[r5,13h] 0802BDC6 2413 mov r4,13h 0802BDC8 572C ldrh r4,[r5,r4] 0802BDCA 1C28 add r0,r5,0h 0802BDCC F7ED bl 08018EA4h 0802BDD0 4284 cmp r4,r0 0802BDD2 DD03 ble 0802BDDCh 0802BDD4 1C28 add r0,r5,0h 0802BDD6 F7ED bl 08018EA4h 0802BDDA 74E8 strb r0,[r5,13h] 0802BDDC BC18 pop r3,r4 0802BDDE 4698 mov r8,r3 0802BDE0 46A1 mov r9,r4 0802BDE2 BCF0 pop r4-r7 0802BDE4 BC01 pop r0 0802BDE6 4700 bx r0 0802BDE8 B530 push r4,r5,lr 0802BDEA 1C03 add r3,r0,0h 0802BDEC 7C98 ldrb r0,[r3,12h] 0802BDEE 7C8A ldrb r2,[r1,12h] 0802BDF0 1A80 sub r0,r0,r2 0802BDF2 1C1A add r2,r3,0h 0802BDF4 3273 add r2,73h 0802BDF6 7010 strb r0,[r2,0h] 0802BDF8 7D18 ldrb r0,[r3,14h] 0802BDFA 7D0A ldrb r2,[r1,14h] 0802BDFC 1A80 sub r0,r0,r2 0802BDFE 1C1A add r2,r3,0h 0802BE00 3274 add r2,74h 0802BE02 7010 strb r0,[r2,0h] 0802BE04 7D58 ldrb r0,[r3,15h] 0802BE06 7D4A ldrb r2,[r1,15h] 0802BE08 1A80 sub r0,r0,r2 0802BE0A 1C1A add r2,r3,0h 0802BE0C 3275 add r2,75h 0802BE0E 7010 strb r0,[r2,0h] 0802BE10 7D98 ldrb r0,[r3,16h] 0802BE12 7D8A ldrb r2,[r1,16h] 0802BE14 1A80 sub r0,r0,r2 0802BE16 1C1A add r2,r3,0h 0802BE18 3276 add r2,76h 0802BE1A 7010 strb r0,[r2,0h] 0802BE1C 7DD8 ldrb r0,[r3,17h] 0802BE1E 7DCA ldrb r2,[r1,17h] 0802BE20 1A80 sub r0,r0,r2 0802BE22 1C1A add r2,r3,0h 0802BE24 3277 add r2,77h 0802BE26 7010 strb r0,[r2,0h] 0802BE28 7E18 ldrb r0,[r3,18h] 0802BE2A 7E0A ldrb r2,[r1,18h] 0802BE2C 1A80 sub r0,r0,r2 0802BE2E 1C1A add r2,r3,0h 0802BE30 3278 add r2,78h 0802BE32 7010 strb r0,[r2,0h] 0802BE34 7E58 ldrb r0,[r3,19h] 0802BE36 7E4A ldrb r2,[r1,19h] 0802BE38 1A80 sub r0,r0,r2 0802BE3A 1C1A add r2,r3,0h 0802BE3C 3279 add r2,79h 0802BE3E 7010 strb r0,[r2,0h] 0802BE40 7E9D ldrb r5,[r3,1Ah] 0802BE42 221A mov r2,1Ah 0802BE44 569A ldrh r2,[r3,r2] 0802BE46 7E8C ldrb r4,[r1,1Ah] 0802BE48 201A mov r0,1Ah 0802BE4A 5608 ldrh r0,[r1,r0] 0802BE4C 4282 cmp r2,r0 0802BE4E D004 beq 0802BE5Ah 0802BE50 1B29 sub r1,r5,r4 0802BE52 1C18 add r0,r3,0h 0802BE54 307A add r0,7Ah 0802BE56 7001 strb r1,[r0,0h] 0802BE58 E004 b 0802BE64h 0802BE5A 1C19 add r1,r3,0h 0802BE5C 317A add r1,7Ah 0802BE5E 2000 mov r0,0h 0802BE60 7008 strb r0,[r1,0h] 0802BE62 769C strb r4,[r3,1Ah] 0802BE64 BC30 pop r4,r5 0802BE66 BC01 pop r0 0802BE68 4700 bx r0 0802BE6A 0000 lsl r0,r0,00h
0802BE6C B530 push r4,r5,lr 0802BE6E 1C02 add r2,r0,0h 0802BE70 468C mov r12,r1 0802BE72 2112 mov r1,12h 0802BE74 5651 ldrh r1,[r2,r1] 0802BE76 4660 mov r0,r12 0802BE78 3073 add r0,73h 0802BE7A 7800 ldrb r0,[r0,0h] 0802BE7C 0600 lsl r0,r0,18h 0802BE7E 1600 asr r0,r0,18h 0802BE80 180B add r3,r1,r0 0802BE82 200B mov r0,Bh 0802BE84 5610 ldrh r0,[r2,r0] 0802BE86 21C0 mov r1,C0h 0802BE88 4008 and r0,r1 0802BE8A 2880 cmp r0,80h 0802BE8C D102 bne 0802BE94h 0802BE8E 2B78 cmp r3,78h 0802BE90 DC02 bgt 0802BE98h 0802BE92 E010 b 0802BEB6h 0802BE94 2B3C cmp r3,3Ch 0802BE96 DD0E ble 0802BEB6h 0802BE98 2312 mov r3,12h 0802BE9A 56D3 ldrh r3,[r2,r3] 0802BE9C 200B mov r0,Bh 0802BE9E 5610 ldrh r0,[r2,r0] 0802BEA0 21C0 mov r1,C0h 0802BEA2 4008 and r0,r1 0802BEA4 2880 cmp r0,80h 0802BEA6 D101 bne 0802BEACh 0802BEA8 2078 mov r0,78h 0802BEAA E000 b 0802BEAEh 0802BEAC 203C mov r0,3Ch 0802BEAE 1AC0 sub r0,r0,r3 0802BEB0 4661 mov r1,r12 0802BEB2 3173 add r1,73h 0802BEB4 7008 strb r0,[r1,0h] 0802BEB6 2014 mov r0,14h 0802BEB8 5610 ldrh r0,[r2,r0] 0802BEBA 4664 mov r4,r12 0802BEBC 3474 add r4,74h 0802BEBE 2100 mov r1,0h 0802BEC0 5661 ldrh r1,[r4,r1] 0802BEC2 1840 add r0,r0,r1 0802BEC4 6855 ldr r5,[r2,4h] 0802BEC6 2114 mov r1,14h 0802BEC8 5669 ldrh r1,[r5,r1] 0802BECA 1C2B add r3,r5,0h 0802BECC 4288 cmp r0,r1 0802BECE DD03 ble 0802BED8h 0802BED0 7D18 ldrb r0,[r3,14h] 0802BED2 7D11 ldrb r1,[r2,14h] 0802BED4 1A40 sub r0,r0,r1 0802BED6 7020 strb r0,[r4,0h] 0802BED8 2015 mov r0,15h 0802BEDA 5610 ldrh r0,[r2,r0] 0802BEDC 4664 mov r4,r12 0802BEDE 3475 add r4,75h 0802BEE0 2100 mov r1,0h 0802BEE2 5661 ldrh r1,[r4,r1] 0802BEE4 1840 add r0,r0,r1 0802BEE6 2115 mov r1,15h 0802BEE8 5659 ldrh r1,[r3,r1] 0802BEEA 4288 cmp r0,r1 0802BEEC DD03 ble 0802BEF6h 0802BEEE 7D58 ldrb r0,[r3,15h] 0802BEF0 7D51 ldrb r1,[r2,15h] 0802BEF2 1A40 sub r0,r0,r1 0802BEF4 7020 strb r0,[r4,0h] 0802BEF6 2016 mov r0,16h 0802BEF8 5610 ldrh r0,[r2,r0] 0802BEFA 4664 mov r4,r12 0802BEFC 3476 add r4,76h 0802BEFE 2100 mov r1,0h 0802BF00 5661 ldrh r1,[r4,r1] 0802BF02 1840 add r0,r0,r1 0802BF04 2116 mov r1,16h 0802BF06 5659 ldrh r1,[r3,r1] 0802BF08 4288 cmp r0,r1 0802BF0A DD03 ble 0802BF14h 0802BF0C 7D98 ldrb r0,[r3,16h] 0802BF0E 7D91 ldrb r1,[r2,16h] 0802BF10 1A40 sub r0,r0,r1 0802BF12 7020 strb r0,[r4,0h] 0802BF14 2017 mov r0,17h 0802BF16 5610 ldrh r0,[r2,r0] 0802BF18 4664 mov r4,r12 0802BF1A 3477 add r4,77h 0802BF1C 2100 mov r1,0h 0802BF1E 5661 ldrh r1,[r4,r1] 0802BF20 1840 add r0,r0,r1 0802BF22 2117 mov r1,17h 0802BF24 5659 ldrh r1,[r3,r1] 0802BF26 4288 cmp r0,r1 0802BF28 DD03 ble 0802BF32h 0802BF2A 7DD8 ldrb r0,[r3,17h] 0802BF2C 7DD1 ldrb r1,[r2,17h] 0802BF2E 1A40 sub r0,r0,r1 0802BF30 7020 strb r0,[r4,0h] 0802BF32 2018 mov r0,18h 0802BF34 5610 ldrh r0,[r2,r0] 0802BF36 4663 mov r3,r12 0802BF38 3378 add r3,78h 0802BF3A 2100 mov r1,0h 0802BF3C 5659 ldrh r1,[r3,r1] 0802BF3E 1840 add r0,r0,r1 0802BF40 2118 mov r1,18h 0802BF42 5669 ldrh r1,[r5,r1] 0802BF44 4288 cmp r0,r1 0802BF46 DD03 ble 0802BF50h 0802BF48 7E28 ldrb r0,[r5,18h] 0802BF4A 7E11 ldrb r1,[r2,18h] 0802BF4C 1A40 sub r0,r0,r1 0802BF4E 7018 strb r0,[r3,0h] 0802BF50 2019 mov r0,19h 0802BF52 5610 ldrh r0,[r2,r0] 0802BF54 4663 mov r3,r12 0802BF56 3379 add r3,79h 0802BF58 2100 mov r1,0h 0802BF5A 5659 ldrh r1,[r3,r1] 0802BF5C 1840 add r0,r0,r1 0802BF5E 281E cmp r0,1Eh 0802BF60 DD03 ble 0802BF6Ah 0802BF62 7E51 ldrb r1,[r2,19h] 0802BF64 201E mov r0,1Eh 0802BF66 1A40 sub r0,r0,r1 0802BF68 7018 strb r0,[r3,0h] 0802BF6A BC30 pop r4,r5 0802BF6C BC01 pop r0 0802BF6E 4700 bx r0 0802BF70 B5F0 push r4-r7,lr 0802BF72 4D1C ldr r5,=0203A4E8h 0802BF74 200B mov r0,Bh 0802BF76 5628 ldrh r0,[r5,r0] 0802BF78 F7ED bl 08019108h 0802BF7C 1C07 add r7,r0,0h 0802BF7E 4C1A ldr r4,=0203A568h 0802BF80 200B mov r0,Bh 0802BF82 5620 ldrh r0,[r4,r0] 0802BF84 F7ED bl 08019108h 0802BF88 1C06 add r6,r0,0h 0802BF8A 1C28 add r0,r5,0h 0802BF8C 3052 add r0,52h 0802BF8E 7800 ldrb r0,[r0,0h] 0802BF90 0600 lsl r0,r0,18h 0802BF92 1600 asr r0,r0,18h 0802BF94 2800 cmp r0,0h 0802BF96 D009 beq 0802BFACh 0802BF98 1C28 add r0,r5,0h 0802BF9A 3051 add r0,51h 0802BF9C 7800 ldrb r0,[r0,0h] 0802BF9E 0040 lsl r0,r0,01h 0802BFA0 1C29 add r1,r5,0h 0802BFA2 311E add r1,1Eh 0802BFA4 1840 add r0,r0,r1 0802BFA6 312A add r1,2Ah 0802BFA8 8809 ldrh r1,[r1,0h] 0802BFAA 8001 strh r1,[r0,0h] 0802BFAC 1C20 add r0,r4,0h 0802BFAE 3052 add r0,52h 0802BFB0 7800 ldrb r0,[r0,0h] 0802BFB2 0600 lsl r0,r0,18h 0802BFB4 1600 asr r0,r0,18h 0802BFB6 2800 cmp r0,0h 0802BFB8 D009 beq 0802BFCEh 0802BFBA 1C20 add r0,r4,0h 0802BFBC 3051 add r0,51h 0802BFBE 7800 ldrb r0,[r0,0h] 0802BFC0 0040 lsl r0,r0,01h 0802BFC2 1C21 add r1,r4,0h 0802BFC4 311E add r1,1Eh 0802BFC6 1840 add r0,r0,r1 0802BFC8 312A add r1,2Ah 0802BFCA 8809 ldrh r1,[r1,0h] 0802BFCC 8001 strh r1,[r0,0h] 0802BFCE 1C38 add r0,r7,0h 0802BFD0 1C29 add r1,r5,0h 0802BFD2 F000 bl 0802C134h 0802BFD6 2E00 cmp r6,0h 0802BFD8 D008 beq 0802BFECh 0802BFDA 1C30 add r0,r6,0h 0802BFDC 1C21 add r1,r4,0h 0802BFDE F000 bl 0802C134h 0802BFE2 E006 b 0802BFF2h 0802BFE4 A4E8 add r4,pc,3A0h (=0802C388h) 0802BFE6 0203 lsl r3,r0,08h 0802BFE8 A568 add r5,pc,1A0h (=0802C18Ch) 0802BFEA 0203 lsl r3,r0,08h 0802BFEC 1C20 add r0,r4,0h 0802BFEE F000 bl 0802C8BCh 0802BFF2 BCF0 pop r4-r7 0802BFF4 BC01 pop r0 0802BFF6 4700 bx r0 0802BFF8 2001 mov r0,1h 0802BFFA 4770 bx lr 0802BFFC B5F0 push r4-r7,lr 0802BFFE 1C07 add r7,r0,0h 0802C000 200B mov r0,Bh 0802C002 5638 ldrh r0,[r7,r0] 0802C004 21C0 mov r1,C0h 0802C006 4008 and r0,r1 0802C008 2800 cmp r0,0h 0802C00A D126 bne 0802C05Ah 0802C00C 2013 mov r0,13h 0802C00E 5638 ldrh r0,[r7,r0] 0802C010 2800 cmp r0,0h 0802C012 D022 beq 0802C05Ah 0802C014 4812 ldr r0,=0202BCECh 0802C016 7D01 ldrb r1,[r0,14h] 0802C018 2080 mov r0,80h 0802C01A 4008 and r0,r1 0802C01C 2800 cmp r0,0h 0802C01E D11C bne 0802C05Ah 0802C020 4810 ldr r0,=0202BCACh 0802C022 7901 ldrb r1,[r0,4h] 0802C024 2040 mov r0,40h 0802C026 4008 and r0,r1 0802C028 2800 cmp r0,0h 0802C02A D116 bne 0802C05Ah 0802C02C 480E ldr r0,=0203A4D0h 0802C02E 8801 ldrh r1,[r0,0h] 0802C030 2020 mov r0,20h 0802C032 4008 and r0,r1 0802C034 2800 cmp r0,0h 0802C036 D119 bne 0802C06Ch 0802C038 1C38 add r0,r7,0h 0802C03A 3052 add r0,52h 0802C03C 7800 ldrb r0,[r0,0h] 0802C03E 0600 lsl r0,r0,18h 0802C040 1600 asr r0,r0,18h 0802C042 2800 cmp r0,0h 0802C044 D009 beq 0802C05Ah 0802C046 6CF9 ldr r1,[r7,4Ch] 0802C048 2005 mov r0,5h 0802C04A 4008 and r0,r1 0802C04C 2800 cmp r0,0h 0802C04E D004 beq 0802C05Ah 0802C050 2088 mov r0,88h 0802C052 00C0 lsl r0,r0,03h 0802C054 4001 and r1,r0 0802C056 2900 cmp r1,0h 0802C058 D008 beq 0802C06Ch 0802C05A 2001 mov r0,1h 0802C05C 4240 neg r0,r0 0802C05E E048 b 0802C0F2h 0802C060 BCEC pop r2,r3,r5-r7 0802C062 0202 lsl r2,r0,08h 0802C064 BCAC pop r2,r3,r5,r7 0802C066 0202 lsl r2,r0,08h 0802C068 A4D0 add r4,pc,340h (=0802C3ACh) 0802C06A 0203 lsl r3,r0,08h 0802C06C 1C3D add r5,r7,0h 0802C06E 3550 add r5,50h 0802C070 7828 ldrb r0,[r5,0h] 0802C072 1C3C add r4,r7,0h 0802C074 3428 add r4,28h 0802C076 1820 add r0,r4,r0 0802C078 7806 ldrb r6,[r0,0h] 0802C07A 1C38 add r0,r7,0h 0802C07C 3048 add r0,48h 0802C07E 8800 ldrh r0,[r0,0h] 0802C080 F7EB bl 08017540h 0802C084 1C39 add r1,r7,0h 0802C086 317B add r1,7Bh 0802C088 7809 ldrb r1,[r1,0h] 0802C08A 0609 lsl r1,r1,18h 0802C08C 1609 asr r1,r1,18h 0802C08E 4348 mul r0,r1 0802C090 1836 add r6,r6,r0 0802C092 2100 mov r1,0h 0802C094 782B ldrb r3,[r5,0h] 0802C096 687A ldr r2,[r7,4h] 0802C098 4299 cmp r1,r3 0802C09A D00D beq 0802C0B8h 0802C09C 1C10 add r0,r2,0h 0802C09E 302C add r0,2Ch 0802C0A0 1840 add r0,r0,r1 0802C0A2 7800 ldrb r0,[r0,0h] 0802C0A4 28FB cmp r0,FBh 0802C0A6 D007 beq 0802C0B8h 0802C0A8 1860 add r0,r4,r1 0802C0AA 7800 ldrb r0,[r0,0h] 0802C0AC 28FA cmp r0,FAh 0802C0AE D903 bls 0802C0B8h 0802C0B0 2EFA cmp r6,FAh 0802C0B2 DD04 ble 0802C0BEh 0802C0B4 26FA mov r6,FAh 0802C0B6 E002 b 0802C0BEh 0802C0B8 3101 add r1,1h 0802C0BA 2907 cmp r1,7h 0802C0BC DDEB ble 0802C096h 0802C0BE 6838 ldr r0,[r7,0h] 0802C0C0 6A84 ldr r4,[r0,28h] 0802C0C2 6A90 ldr r0,[r2,28h] 0802C0C4 4304 orr r4,r0 0802C0C6 2080 mov r0,80h 0802C0C8 0040 lsl r0,r0,01h 0802C0CA 4020 and r0,r4 0802C0CC 2800 cmp r0,0h 0802C0CE D003 beq 0802C0D8h 0802C0D0 2EFB cmp r6,FBh 0802C0D2 DD0D ble 0802C0F0h 0802C0D4 26FB mov r6,FBh 0802C0D6 E00B b 0802C0F0h 0802C0D8 2080 mov r0,80h 0802C0DA 0300 lsl r0,r0,0Ch 0802C0DC 4004 and r4,r0 0802C0DE 2C00 cmp r4,0h 0802C0E0 D003 beq 0802C0EAh 0802C0E2 2E47 cmp r6,47h 0802C0E4 DD04 ble 0802C0F0h 0802C0E6 2647 mov r6,47h 0802C0E8 E002 b 0802C0F0h 0802C0EA 2EB5 cmp r6,B5h 0802C0EC DD00 ble 0802C0F0h 0802C0EE 26B5 mov r6,B5h 0802C0F0 1C30 add r0,r6,0h 0802C0F2 BCF0 pop r4-r7 0802C0F4 BC02 pop r1 0802C0F6 4708 bx r1 0802C0F8 B530 push r4,r5,lr 0802C0FA 1C02 add r2,r0,0h 0802C0FC 3250 add r2,50h 0802C0FE 1C01 add r1,r0,0h 0802C100 3128 add r1,28h 0802C102 7812 ldrb r2,[r2,0h] 0802C104 1889 add r1,r1,r2 0802C106 780C ldrb r4,[r1,0h] 0802C108 F7FF bl 0802BFFCh 0802C10C 1C05 add r5,r0,0h 0802C10E 2D00 cmp r5,0h 0802C110 DB0C blt 0802C12Ch 0802C112 1C20 add r0,r4,0h 0802C114 F7EA bl 08016B04h 0802C118 1C04 add r4,r0,0h 0802C11A 1C28 add r0,r5,0h 0802C11C F7EA bl 08016B04h 0802C120 1C01 add r1,r0,0h 0802C122 4061 eor r1,r4 0802C124 4248 neg r0,r1 0802C126 4308 orr r0,r1 0802C128 0FC0 lsr r0,r0,1Fh 0802C12A E000 b 0802C12Eh 0802C12C 2000 mov r0,0h 0802C12E BC30 pop r4,r5 0802C130 BC02 pop r1 0802C132 4708 bx r1 0802C134 B570 push r4-r6,lr 0802C136 1C04 add r4,r0,0h 0802C138 1C0D add r5,r1,0h 0802C13A 7A28 ldrb r0,[r5,8h] 0802C13C 7220 strb r0,[r4,8h] 0802C13E 7A68 ldrb r0,[r5,9h] 0802C140 7260 strb r0,[r4,9h] 0802C142 7CE8 ldrb r0,[r5,13h] 0802C144 74E0 strb r0,[r4,13h] 0802C146 68E8 ldr r0,[r5,Ch] 0802C148 60E0 str r0,[r4,Ch] 0802C14A 4A33 ldr r2,=03003008h 0802C14C 0C40 lsr r0,r0,11h 0802C14E 2107 mov r1,7h 0802C150 4008 and r0,r1 0802C152 7010 strb r0,[r2,0h] 0802C154 1C29 add r1,r5,0h 0802C156 316F add r1,6Fh 0802C158 2000 mov r0,0h 0802C15A 5608 ldrh r0,[r1,r0] 0802C15C 2800 cmp r0,0h 0802C15E DB03 blt 0802C168h 0802C160 1C01 add r1,r0,0h 0802C162 1C20 add r0,r4,0h 0802C164 F7EB bl 08017680h 0802C168 1C28 add r0,r5,0h 0802C16A 3073 add r0,73h 0802C16C 7800 ldrb r0,[r0,0h] 0802C16E 7CA1 ldrb r1,[r4,12h] 0802C170 1840 add r0,r0,r1 0802C172 74A0 strb r0,[r4,12h] 0802C174 1C28 add r0,r5,0h 0802C176 3074 add r0,74h
|
姓:郑 名:长春 号:无聊之士! 欢迎到网络U盘地址:http://zhengchangchun.ys168.com/ 来~ 个人空间http://i.cn.yahoo.com/zhengchangchun2003
|
[楼 主]
|
Posted:2007-09-11 18:56| |
顶端
| |