Thread: [Tutorial] HackMew's Knowledge
View Single Post
  #45    
Old July 21st, 2009 (4:51 AM).
hi sir tomato my password is syvniti's Avatar
hi sir tomato my password is syvniti hi sir tomato my password is syvniti is offline
gggggggggggggggggg
     
    Join Date: Jan 2007
    Location: My user name _ asciii_ +&h1!" lulz
    Posts: 581
    Quote:
    Originally Posted by -DarK- View Post
    I must've partially misunderstood a part of the tutorial then. But to which offset in the RAM can/must I move the data to be able to change it then?

    EDIT: I experimented some more, but it still doesn't work... Here's my ASM routine:

    Spoiler:
    .text
    .align 2
    .thumb
    .thumb_func
    .global test1

    main:
    push {r0-r2, lr}
    ldr r0, .WILD_DATA
    ldr r0, [r0]
    ldr r1, .RAM
    ldr r1, [r0, #0x8]
    ldr r2, =0x00210000
    mov r2, #0x3
    add r2, #0x1
    mov r2, #0x6
    add r2, #0x2
    mov r2, #0x18
    add r2, #0x3
    mov r2, #0x00
    str r2, [r1]
    pop {r0-r2, pc}


    .align 2
    .WILD_DATA:
    .word 0x003C8F00
    .RAM:
    .word 0x00200000



    The offset used for the ASM routine is still 810008 (and the script is also still the same, but without the check-/setflag now, just "callasm 0x810009" and "end"). I really don't know how to get through this... Can somebody help me?
    I'm not sure I understand you.. But... Why do you need this:
    Code:
    	ldr r2, =0x00210000
    	mov r2, #0x3
    	add r2, #0x1
    	mov r2, #0x6
    	add r2, #0x2
    	mov r2, #0x18
    	add r2, #0x3
    It's seems you're just emptying the third(2) register in the end, with:
    Code:
    	mov r2, #0x00
    If you'd exsplaing me what you want to do, I might be able to help you.
    __________________
    THE CAKE IS A LIE!!!!!!!!!!!!!!!!!!!!!!!
    Reply With Quote