peddroelm Advanced Cheater Reputation: 0
Joined: 03 Oct 2014 Posts: 84
|
Posted: Tue Apr 10, 2018 11:49 am Post subject: Arithmetics in the address input field |
|
|
// unicode text
Code: |
[strings_address + 0xC * [24_address + 24_row_size * wordptr[F5_address + F5_row_size * word_ptr[EE_address + EE_row_size * word_ptr[EC_address + EC_row_size * (0x3 - 0x1) + 0x10] + 0xA] + 0x4]]] -> 'Loki'
|
Problem is one of the 'index' values is off by 1.
Code: |
F5_address + F5_row_size * word_ptr[EE_address + EE_row_size * word_ptr[EC_address + EC_row_size * (3 - 1) + 0x10] + 0xA] + 0x4 -> 20
20-1
|
so I need to do a -1 to that intermediary value in the expression above
HOW DO I DO THIS ?
Because the expression I've tried bellow doesn't evaluate .. '??'
Code: |
[strings_address + 0xC * [24_address + 24_row_size * ( wordptr[F5_address + F5_row_size * word_ptr[EE_address + EE_row_size * word_ptr[EC_address + EC_row_size * (0x3 - 0x1) + 0x10] + 0xA] + 0x4] - 0x1 ) ]]
|
|
|