Changes between Version 6 and Version 7 of psy/hax0r
- Timestamp:
- 05/08/09 23:59:10 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
psy/hax0r
v6 v7 6 6 RAM:004E003C .set arg_4, 4 7 7 RAM:004E003C 8 RAM:004E003C stwu %sp, -0x30(%sp) // put %sp in adress (-0x30 + %sp) and substract 0x30 from sp after that 9 RAM:004E0040 mflr %r0 // %r0 = %lr 8 RAM:004E003C stwu %sp, -0x30(%sp) // put %sp in adress (-0x30 + %sp) and substract 0x30 from sp after that (standard function crap) 9 RAM:004E0040 mflr %r0 // %r0 = %lr (standard function crap) 10 10 RAM:004E0044 stw %r31, 0x30+var_4(%sp) // var_4 = %r31 (backup?) 11 11 RAM:004E0048 stw %r0, 0x30+arg_4(%sp) // arg_4 = %r0 (backup?) … … 15 15 RAM:004E0058 li %r4, 0 // %r4 = 0 16 16 RAM:004E005C li %r5, 8 // %r5 = 8 17 RAM:004E0060 bl sub_27BD8 // branch if LT =1 or EQ = 117 RAM:004E0060 bl sub_27BD8 // some boring default routine 18 18 RAM:004E0064 addi %r0, %r31, 0x20 19 19 RAM:004E0068 mr %r3, %r0