Well here's my main problem with working with this source,
I don't understand what LSL does... >_>
ops:
Code:
ldr r1,=0x022AF136
mov r5,#0x0
mov r0,#0x4
mov r2,#0xF
loop:
ldrb r3,[r1]
add r1,#1
cmp r3,#0x3A
blt number
add r3,#9
number:
and r3,r2
lsl r3,r0
add r5,r3
sub r0,#0x4
bpl loop
ldr r2,=0x021D8FC8
add r5,#1
strb r5,[r2]
bx lr
should that second to last line be strb r5,[r2] instead of r2,[r5]? (I changed it in this one because I thought it should)
EDIT: Okay, there's still something wrong with this code
I typed in 00 and got some angry emotion (furious I think?)
then 01 and 02 gave me the same thing
I finally went straight to 10 and got some other one (I'm not sure what)
then 20 gave me the one where you throw your arms in the air like after paying off the mortgage
then 30 gave me some weird one
then 40 crashed the game >_>