Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SeedBornToday at 5:38 PM
- Because people had wondered about this -- your ability to place or drop a held actor is determined by 80 bit at actor + 5 (or rather held actor pointer + 5). When that bit is set you lose the ability to place what you're holding. So if people have issues related to this with deku srm, check what's there.
- The 0x80-bit is set in a byte when the first hex digit of the byte has the 8-bit set.
- 0 = 0000
- 1 = 0001
- 2 = 0010
- 3 = 0011
- 4 = 0100
- 5 = 0101
- 6 = 0110
- 7 = 0111
- 8 = 1000
- 9 = 1001
- A = 1010
- B = 1011
- C = 1100
- D = 1101
- E = 1110
- F = 1111
- The 8-bit is obviously set in any digit >= 8.
- In current heap manip, the pot's address is 0x410F80 (assuming you break the sign at the start)
- 40FE70:000010 LINK
- 40FE80:000EF0 AF 017A:
- 410D70:000010 LINK
- 410D80:000290 AI 017A: ########################################################### this guard
- 411010:000010 LINK
- 411120:000010 LINK
- 411130:00014C AI 0018:
- 411280:000010 LINK
- 411290:000290 AI 017A:
- 411520:000010 LINK
- 411530:000290 AI 017A:
- 4117C0:000010 LINK
- 4117D0:000290 AI 017A:
- 411A60:000010 LINK
- 411A70:000290 AI 017A:
- pot - guard = 0x200 and we care about the 0x80-bit at pot + 5 which is the 0x80-bit of the byte at guard + 0x205 which is 0x410F85 in this case.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement