BingK 发表于 2008-7-19 22:58:03

[S68Cv51]替换所有的"选项"软键为当前时间

;替换所有的"选项"软键为当前时间
;(c)BingK(binghelingxi)
;S68Cv51

;TIME_INSTEAD_OF_OPTIONS_HOOK
0x008DB898: 331C0091211C0A98 004880478B0220A1
;TIME_INSTEAD_OF_OPTIONS_BODY
#pragma enable old_equal_ff
0x01200280: 253032643A2530326400331C0091211C
0x01200290: 0A987746FFB488B0041C206801880229
0x012002A0: 12D141880A4A91420ED1808809498842
0x012002B0: 0AD1694604A8084FB847684643780278
0x012002C0: 0649201C064FB84708B0FFBC3F1D3847
0x012002D0: 09900000799800002FB482A0800220A1
0x012002E0: 116B84A0
#pragma disable old_equal_ff

BingK 发表于 2008-7-19 22:58:31

沙发一楼。。。

BingK 发表于 2008-7-19 22:58:55

再来一楼。。。

BingK 发表于 2008-7-19 23:00:32

怎么还要一楼?太过分啦

ajchan 发表于 2008-7-19 23:23:39

太过份了....地下室也没有了....:/lkh

ajchan 发表于 2008-7-19 23:25:32

阿冰帮忙写个锁键盘读短信的吧.......ELC1的.::/\fw

water_boy 发表于 2008-7-20 00:13:56

:/kka

鱼世界 发表于 2008-7-20 09:27:50

帮68的机友顶一下。。。。。

jdc-6688 发表于 2008-7-20 13:21:23

那选项没有了,还是65系列好,在上面:/cy

natalya 发表于 2008-7-20 16:20:57

这个我喜欢啊。。哈哈

大众甲壳虫 发表于 2008-7-20 16:51:17

回复 10# natalya 的帖子

:/lkh 你真难得

flyloveyaya 发表于 2008-7-20 19:01:40

很好,很强大

dimonp27 发表于 2008-7-23 12:52:08

I am from russian.
I ported this patch to S75v52,but he doesn`t work.Why?
Please answer me(ICQ:386247533)

BingK 发表于 2008-7-23 18:44:41

原帖由 dimonp27 于 2008-7-23 12:52 发表 http://mobile.0110.cn/images/common/back.gif
I am from russian.
I ported this patch to S75v52,but he doesn`t work.Why?
Please answer me(ICQ:386247533)
source:        RSEG        TIME_INSTEAD_OF_OPTIONS_HOOK
        CODE16
        LDR        R0, =TIME_INSTEAD_OF_OPTIONS_
        BLX        R0
       
        EXTERN        changeToTime
        RSEG        TIME_INSTEAD_OF_OPTIONS_BODY
       
        DATA
FORMAT_PSTR
        DCB        "%02d:%02d"
       
        CODE16
TIME_INSTEAD_OF_OPTIONS_
        MOV        R3, R6
        STR        R1,
        MOV        R1, R4
        LDR        R0, //WS
        MOV        R7, LR
        PUSH        {R0-R7}
        SUB        SP, #0x20
        MOV        R4, R0
        LDR        R0,
        LDRH        R1,
        CMP        R1, #2 //ws->wsbody,wslen
        BNE        DO_EXIT
       
        LDRH        R1,
        LDR        R2, =0x9009 //ws->wsbody,
        CMP        R1, R2
        BNE        DO_EXIT
       
        LDRH        R0,
        LDR        R1, =0x9879 //ws->wsbody,
        CMP        R0, R1
        BNE        DO_EXIT
       
        MOV        R1, SP
        ADD        R0, SP, #0x10
        LDR        R7, =0xA082B42F //getdatetime
        BLX        R7
        MOV        R0, SP
        LDRB        R3,
        LDRB        R2,
        LDR        R1, =FORMAT_PSTR
        MOV        R0, R4
        LDR        R7, =0xA0846B11 //wsprintf
        BLX        R7
DO_EXIT
        ADD        SP, #0x20

        POP        {R0-R7}
        ADD        R7, #4
        BX        R70x9009,0x9879, that is "options" in Chinese(UNICODE).

砂哥 发表于 2008-7-23 19:10:11

外国人看得懂中文?

snoopyhzy 发表于 2008-7-23 19:15:44

Google Online Translate.

caigua 发表于 2008-7-24 00:18:09

这个只能在中文界面生效,能否改为在任何语言界面均有效,比如英文

Adan 发表于 2008-8-10 11:33:21

回复 17# caigua 的帖子

我还以为没起作用呢, 原来需要中文界面

cwx88cwx 发表于 2008-8-23 18:51:27

s75也需要!通话中也看到时钟了

loquat 发表于 2010-5-12 12:12:11

source:0x9009,0x9879, that is "options" in Chinese(UNICODE).
BingK 发表于 2008-7-23 18:44 http://www.0110.cn/images/common/back.gif

囧,是不是少了一个文件?
changeToTime
页: [1]
查看完整版本: [S68Cv51]替换所有的"选项"软键为当前时间