- 积分
- 427
- 实力分
- 点
- 金钱数
- 两
- 技术分
- 分
- 贡献分
- 分
|
发表于 2006-8-11 19:53:32
|
显示全部楼层
; CX7C v50 lg8 - Patch made by "Smelter" ? avkiev
; http://avkiev.kiev.ua/Siemens/Smelter/Smelter.htm
;********************************************************************************
;Function library v06.07.24
;Last update by starfriend
;Respect all patchers!
+0FC0000
#pragma enable old_equal_ff
;----------------------------------------------------------------------
;Functions
;----------------------------------------------------------------------
000: 004F3847,0xA11CD7EF ; f000: GetDateTime
008: 004F3847,0xA082AD87 ; f001: GetWeek
010: 004F3847,0xA08D4DF9 ; f002: GetProfile
018: 004F3847,0xA08D4CC7 ; f003: SetProfile
020: 004F3847,0xA1F3690C ; f004: dwMODdw
028: 004F3847,0xA082BE21 ; f005: DecToHex
030: 004F3847,0xA138E87C ; f006: GetAkku
038: 004F3847,0xA11BFB49 ; f007: GetLP
040: 004F3847,0xA138F710 ; f008: SetIllumination
048: 004F3847,0xA13ACD90 ; f009: SwitchPhoneOff
;
050: 004F3847,0xA137D8E4 ; f010: fopen
058: 004F3847,0xA137D924 ; f011: fread
060: 004F3847,0xA137DA0C ; f012: fwrite
068: 004F3847,0xA137D838 ; f013: fclose
070: 004F3847,0xA137D868 ; f014: fflush
078: 004F3847,0xA137D898 ; f015: lseek
080: 004F3847,0xA13CD1A0 ; f016: mkdir
088: 004F3847,0xA1055E27 ; f017: OpenReadCloseFile
090: 004F3847,0xA13CD694 ; f018: GetFileAttrib
098: 004F3847,0xA13CD1A0 ; f019: SetFileAttrib
;
0A0: 004F3847,0xA0820F98 ; f020: malloc
0A8: 004F3847,0xA0821000 ; f021: mfree
0B0: 004F3847,0xA1F35699 ; f022: sPrintf
0B8: 004F3847,0xA1F36EB4 ; f023: strcat
0C0: 004F3847,0xA1F36ED4 ; f024: strchr
0C8: 004F3847,0xA1F36EF8 ; f025: strcmp
0D0: 004F3847,0xA1F36F95 ; f026: strcopy
0D8: 004F3847,0xA1F37015 ; f027: StrLen
0E0: 004F3847,0xA11C26B5 ; f028: wsAppendChar
0E8: 004F3847,0xA11C2669 ; f029: wsInsertChar
;
0F0: 004F3847,0xA00DDFDD ; f030: GetPITaddr
0F8: 004F3847,0xA08D7E39 ; f031: DrawMainScreen
100: 004F3847,0xA0968057 ; f032: DrawScreenSaver
108: 004F3847,0xA00DE111 ; f033: GetImgHeight
110: 004F3847,0xA00DE121 ; f034: GetImgWidth
118: 004F3847,0xA08BECA9 ; f035: DrawImg
120: 004F3847,0xA00A1EF9 ; f036: DrawImage2
128: 004F3847,0xA08BEC83 ; f037: DrawCanvas
130: 004F3847,0xA00A1E39 ; f038: DrawImgBW
138: 004F3847,0xA08BE60B ; f039: AddIconToIconbar
;
140: 004F3847,0xA1390778 ; f040: getEELiteMaxID
148: 004F3847,0xA137C304 ; f041: getEEFullMaxID
150: 004F3847,0xA1390614 ; f042: GetEELiteBlockAddress
158: 004F3847,0xA139071C ; f043: getEELiteBlockSizeVersion
160: 004F3847,0xA137BF48 ; f044: getEEFullBlockSizeVersion
168: 004F3847,0xA13907AC ; f045: StartWriteEELiteBlock
170: 004F3847,0xA1390828 ; f046: FinishWriteEELiteBlock
178: 004F3847,0xA1390784 ; f047: DeleteEELiteBlock
180: 004F3847,0xA13907E4 ; f048: WriteEELiteBlock
188: 004F3847,0xA1F3715D ; f049: StrChrRev
;
190: 004F3847,0xA090333C ; f050: PlaySound
198: 004F3847,0xA08F9520 ; f051: PlaySound2
1A0: 004F3847,0xA09F82D8 ; f052: PlaySoundLoop
1A8: 004F3847,0xA0A93DBD ; f053: AlarmClockRing
1B0: 004F3847,0xA0A00689 ; f054: GetATCmdString
1B8: 004F3847,0xA0A9A673 ; f055: OriginalATCGSN
1C0: 004F3847,0xA0A00025 ; f056: PostAtCommand
1C8: 004F3847,0xA0A01743 ; f057: SendATAnswerStr
1D0: 004F3847,0xA1059855 ; f058: mfree_high
1D8: 004F3847,0xA1F362A8 ; f059: MemChr
;
1E0: 004F3847,0xA137D964 ; f060: SetFileSize
1E8: 004F3847,0xA0A1BD9D ; f061: editOrNewTXTModule
1F0: 004F3847,0xA1000AED ; f062: LoadProcesses
1F8: 004F3847,0xA00A2871 ; f063: SelectColor
200: 004F3847,0xA095D775 ; f064: GetVibraStatus
208: 004F3847,0xA11E8F2B ; f065: GetProvider
210: 004F3847,0xA0929801 ; f066: IsScreenSaver
218: 004F3847,0xA00B1E23 ; f067: IsUnlocked
220: 004F3847,0xA1204341 ; f068: TempLigntOn
228: 004F3847,0xA092F628 ; f069: GetWavLen
;
230: 004F3847,0xA0967BD9 ; f070: HasNewSMS
238: 004F3847,0xA0928B5D ; f071: HasFlashSMS
240: 004F3847,0xA0A1DC0F ; f072: ReadNewSMS
248: 004F3847,0xA0966C3F ; f073: ReadFlashSMS
250: 004F3847,0xA08FB998 ; f074: PlayFile
258: 004F3847,0xA122F6EC ; f075: StartMidlet
260: 004F3847,0xA1018C01 ; f076: GetMissedCallsCount
268: 004F3847,0xA0827C04 ; f077: CallAfterTimer
270: 004F3847,0xA0098C07 ; f078: ShowMsgInR1_3
278: 004F3847,0xA0098C17 ; f079: ShowMsgInR1_4
;
280: 004F3847,0xA0098C7F ; f080: ShowMsgInR1_7
288: 004F3847,0xA010C50D ; f081: GetNetAccessMode
290: 004F3847,0xA138FDBC ; f082: GetIlluminationDataTable
298: 004F3847,0xA1F362CD ; f083: memcmp
2A0: 004F3847,0xA0807C09 ; f084: StrToInt
2A8: 004F3847,0xA095D78B ; f085: SwitchVibraOnOff
;2B0: 004F3847,0x ; f086: PlayVibra
2B8: 004F3847,0xA0827D10 ; f087: IsCallAfterTimerStillRunning
2C0: 004F3847,0xA0836F4C ; f088: ClearMemory
2C8: 004F3847,0xA1736798 ; f089: MemCopy
;
2D0: 004F3847,0xA00972AF ; f090: Keypress_On
2D8: 004F3847,0xA009736D ; f091: Keypress_Off
2E0: 004F3847,0xA0960D29 ; f092: GetCPUClock
2E8: 004F3847,0xA0960D63 ; f093: GetCPULoad
2F0: 004F3847,0xA0824650 ; f094: GetMMIMemUsed
2F8: 004F3847,0xA082100C ; f095: GetNonPermMemAvail
300: 004F3847,0xA095D931 ; f096: ShowMainMenu
308: 004F3847,0xA09885EB ; f097: ShowNativeMenu
;310: 004F3847,0x ; f098:
318: 004F3847,0xA0926477 ; f099: Screen_Wallpaper_Flush
;
320: 004F3847,0xA00B3E55 ; f100: EndUpdateScreen
328: 004F3847,0xA11E6991 ; f101: EndCall
330: 004F3847,0xA11C4407 ; f102: EndCallBusy
338: 004F3847,0xA08D62FD ; f103: IsDirectCallActive
340: 004F3847,0xA09225CD ; f104: GetScreenSaverRAM
348: 004F3847,0xA0828E0C ; f105: LockShed
350: 004F3847,0xA0828E94 ; f106: UnLockShed
358: 004F3847,0xA137D61C ; f107: FindFirstFile
360: 004F3847,0xA137D658 ; f108: FindNextFile
368: 004F3847,0xA137D5A4 ; f109: FindClose
;
370: 004F3847,0xA00CDB33 ; f110: IsCalling
378: 004F3847,0xA08D697F ; f111: RefreshGPRSTraffic
380: 004F3847,0xA08D699D ; f112: GetGPRSTrafficAddress
388: 004F3847,0xA00A18DF ; f113: DrawFrame
390: 004F3847,0xA1014E33 ; f114: GetCurrentSecondOfCall
398: 004F3847,0xA00CE34B ; f115: GetTypeOfCall
3A0: 004F3847,0xA095DECF ; f116: GetFunctionPointer
3A8: 004F3847,0xA00A4205 ; f117: SetWindowMetrics
3B0: 004F3847,0xA00DABD5 ; f118: SetWindowText
3B8: 004F3847,0xA00D598B ; f119: SetWindowColor
;
3C0: 004F3847,0xA11CE66B ; f120: GetTimeFormat
3C8: 004F3847,0xA00A3239 ; f121: PushWindowBuffer
3D0: 004F3847,0xA00D5A21 ; f122: ClearWindowBuffer
3D8: 004F3847,0xA08D5435 ; f123: GetProfileFilter
3E0: 004F3847,0xA1397AAC ; f124: SetVibration
3E8: 004F3847,0xA00CD54D ; f125: IsIncognitoCall
3F0: 004F3847,0xA00E79A5 ; f126: rand
;3F8: 004F3847,0x ; f127:
400: 004F3847,0xA0A94141 ; f128: GetCallsList
408: 004F3847,0xA1F36A28 ; f129: HexToDec
;
;410: 004F3847,0x ; f130:
418: 004F3847,0xA08E4C98 ; f131: GetPathOfFoundFile
420: 004F3847,0xA137D798 ; f132: GetFileStats
428: 004F3847,0xA08256E9 ; f133: StrCmpNoCase
430: 004F3847,0xA137BE70 ; f134: ReadEEPROMData
438: 004F3847,0xA137BFB4 ; f135: WriteEEPROMData
;440: 004F3847,0x ; f136: GetAccessoryType
;448: 004F3847,0x ; f137:
450: 004F3847,0xA137D534 ; f138: GetFreeFlexSpace
458: 004F3847,0xA137DAF8 ; f139: GetTotalFlexSpace
;
;460: 004F3847,0x ; f140:
;468: 004F3847,0x ; f141:
;470: 004F3847,0x ; f142:
;478: 004F3847,0x ; f143:
;480: 004F3847,0x ; f144:
;488: 004F3847,0x ; f145:
;490: 004F3847,0x ; f146:
;498: 004F3847,0x ; f147:
;4A0: 004F3847,0x ; f148:
;4A8: 004F3847,0x ; f149:
;
;4B0: 004F3847,0x ; f150:
;4B8: 004F3847,0x ; f151:
;4C0: 004F3847,0x ; f152:
;4C8: 004F3847,0x ; f153:
;4D0: 004F3847,0x ; f154:
;4D8: 004F3847,0x ; f155:
;4E0: 004F3847,0x ; f156:
;4E8: 004F3847,0x ; f157:
;4F0: 004F3847,0x ; f158:
;4F8: 004F3847,0x ; f159:
;
500: 004F3847,0xA11C1C2F ; f160: Unicode_sprintf
508: 004F3847,0xA08257C9 ; f161: Unicode_CopyStr2Str
510: 004F3847,0xA11C21B3 ; f162: Unicode_GetCharByPosition
518: 004F3847,0xA137CD84 ; f163: ws_2str
;520: 004F3847,0x ; f164:
;528: 004F3847,0x ; f165:
;530: 004F3847,0x ; f166:
;538: 004F3847,0x ; f167:
;540: 004F3847,0x ; f168:
;548: 004F3847,0x ; f169:
;-------------------------API functions--------------------------------
550: 004F3847,0xA0FCF001 ; f170: OpenWriteCloseFile
558: 004F3847,0xA0FCF051 ; f171: Hex2Int
560: 004F3847,0xA0FCF1B1 ; f172: DrawText
568: 004F3847,0xA0FCF0A1 ; f173: StrAnsi2Uni
570: 004F3847,0xA0FCF0C1 ; f174: StrUni2Ansi
578: 004F3847,0xA0FCF051 ; f175: Hex2Int
580: 004F3847,0xA0FCF301 ; f176: DrawPicWithCanvas
588: 004F3847,0xA0FCF371 ; f177: DrawColorPicWithCanvas
;590: 004F3847,0x ; f178:
598: 004F3847,0xA0FCF301 ; f179: Seconds2iTime
;
;5A0: 004F3847,0x ; f180:
;5A8: 004F3847,0x ; f181:
;5B0: 004F3847,0x ; f182:
;5B8: 004F3847,0x ; f183:
;5C0: 004F3847,0x ; f184:
;5C8: 004F3847,0x ; f185:
;5D0: 004F3847,0x ; f186:
;5D8: 004F3847,0x ; f187:
;5E0: 004F3847,0x ; f188:
;5E8: 004F3847,0x ; f189:
;----------------Main MP Functions & System Patches--------------------
;5F0: 004F3847,0xA0FC0C81 ; f190: RunScaner For MasterPatch V5
5F0: 004F3847,0xA0FC1151 ; f190: RunScaner For MasterPatch V3 RC2 #114
5F8: 004F3847,0xA0FC3001 ; f191: SpellTime
600: 004F3847,0xA0FC7601 ; f192: MiniGPS
608: 004F3847,0xA0FC1021 ; f193: RunGraphSearcher
610: 004F3847,0xA0FC12A1 ; f194: GetAllPatchesByInject
;618: 004F3847,0x ; f195:
620: 004F3847,0xA0FC0C01 ; f196: GetBuffer - x65
;628: 004F3847,0x ; f197:
;630: 004F3847,0x ; f198:
;638: 004F3847,0x ; f199:
;----------------------------------------------------------------------
;RAM Variables
;----------------------------------------------------------------------
640: 004FF746,0xA863E558 ; v00: RamCap
648: 004FF746,0xA863E55A ; v01: RamLS
650: 004FF746,0xA864AAFC ; v02: RamNetCH
658: 004FF746,0xA864AB02 ; v03: RamNetRX
660: 004FF746,0xA83FF460 ; v04: RamMissedCalls
;660: 004F3847,0xA0FDE2A1 ; +0x1C, v04: RamMissedCalls for * RamMissedEventAddrSpike *
668: 004FF746,0xA83FF454 ; v05: RamMissedSMS
;668: 004F3847,0xA0FDE295 ; +0x10, v05: RamMissedSMS for * RamMissedEventAddrSpike *
670: 004FF746,0xA860E1E8 ; v06: RamDateTime
678: 004FF746,0xA86F480C ; v07: RamAlarm
680: 004FF746,0xA868EDA0 ; v08: RamAccPoint
688: 004FF746,0xA86F3784 ; v09: RamScreensaver
;
690: 004FF746,0xA860E210 ; v10: RamAutoTime
698: 004FF746,0xA86F378C ; v11: RamStby
6A0: 004FF746,0xA83FF444 ; v12: RamMissedMes
;6A0: 004F3847,0xA0FDE291 ; +0x00, v12: RamMissedEvents for * RamMissedEventAddrSpike *
6A8: 004FF746,0xA8625910 ; v13: RamIsLocked
6B0: 004FF746,0xA860CC78 ; v14: RamNetOnline
6B8: 004FF746,0xA866B33A ; v15: RamScreenBrightness
;6C0: 004FF746,0x ; v16:
6C8: 004FF746,0xA8647778 ; v17: ram_ShutdownMode(hword)
6D0: 004FF746,0xA868EE10 ; v18: RamIsShutdown
6D8: 004FF746,0xA860A0A8 ; v19: RamMainscreenAccuIcon
;
6E0: 004FF746,0xA86F1238 ; v20: ram_random_seed
;6E8: 004FF746,0x ; v21:
;6F0: 004FF746,0x ; v22:
;6F8: 004FF746,0x ; v23:
;700: 004FF746,0x ; v24:
;708: 004FF746,0x ; v25:
;710: 004FF746,0x ; v26:
718: 004FF746,0xA8657F00 ; v27: RamProfileNum
;----------------------------------------------------------------------
;Other Variables & Constants
;----------------------------------------------------------------------
720: 004FF746,0xA8750FC0 ; z00: FreeRAM
728: 004FF746,0x000012B3 ; z01: LP_MonthsShort
730: 004FF746,0x0000049F ; z02: Pic_Big0
738: 004FF746,0x0000041C ; z03: Pic_Little0
740: 004FF746,0x000004B5 ; z04: Pic_Extra
748: 004FF746,0x000004FB ; z05: Pic_Profiles
750: 004FF746,0x000002E4 ; z06: Pic_Vibra
758: 004FF746,0x000003DB ; z07: Pic_Call
760: 004FF746,0x00000502 ; z08: Pic_AdvNet
768: 004FF746,0x000011A7 ; z09: LP_MonthsLong
;
770: 004FF746,0x00000400 ; z10: LP_Weekdays
778: 004FF746,0x000004AD ; z11: Pic_Calendar
;780: 004FF746,0x ; z12: Pic_AccuGraph
;788: 004FF746,0x ; z13:
;790: 004FF746,0x ; z14:
;798: 004FF746,0x ; z15:
;7A0: 004FF746,0x ; z16:
;7A8: 004FF746,0x ; z17:
;7B0: 004FF746,0x ; z18:
;7B8: 004FF746,0x ; z19:
;
7C0: 004FF746,0xA0FD0050 ; z20: Additional_PIT_address
7C8: 004FF746,0x000004FB ; z21: Additional_PIT_start
7D0: 004FF746,0x0000055E ; z22: Additional_PIT_end
;7D8: 004FF746,0x ; z23:
7E0: 004FF746,0xA0FC0A00 ; z24: Picture Relocation Table
7E8: 004FF746,0x0000F000 ; z25: Picture Relocation Base
7F0: 004FF746,0x00001E1E ; z26: Next Picture Magic
;7F8: 004FF746,0x ; z27:
;Additional Shortcuts
800: "ADD_TALKCURTIME",00,0xA0FC3001
814: "ADD_TESTPLAYSND",00,0xA09463C4
828: 00000000
;----------------------------------------------------------------------
;Picture Relocation
;----------------------------------------------------------------------
A00: 0x023A ; r0: picture batt charge
A02: 0x023D ; r1: picture batt
A04: 0x0146 ; r2: alarm clock (dis)
A06: 0x0090 ; r3: music animation
A08: 0x0320 ; r4: net indicators (standart)
A0A: 0x0155 ; r5: calculator_pics
;A0C: 0x02CC ; r6: bluetooth icons (activity)
A0E: 0x02E1 ; r7: IrDA icons (activity)
A10: 0x01BF ; r8: locked kb icon
A12: 0x041C ; r9: small digits (0)
A14: 0x049F ; r10: big digits (0)
A16: 0x01C7 ; r11: folder icons (small)
A18: 0x0224 ; r12: group icons (big)
A1A: 0x02DD ; r13: GPRS (transferring)
A1C: 0x02E8 ; r14: GPRS (attached)
A1E: 0x0362 ; r15: group icons (small)
A20: 0x04AC ; r16: illumination control
A22: 0x049E ; r17: analog clock
A24: 0x04F1 ; r18: adjusting volume (increasing)
A26: 0x04B5 ; r19: pic extra
;A28: 0x04C5 ; r20: pic profiles
;A2A: 0x04CC ; r21: pic advnet
A2C: 0x04AD ; r22: pic calendar
#pragma disable old_equal_ff
+0 |
|