Description
Aneesh wants to acquire a summer bod for beach week, but time is running out. Can you help him create a plan to attain his goal?
Files
gym.bndb (Binary Ninja DB)
Enumuration
Looks like you start at 211 lbs and you are trying to hit 180 lbs

Then it goes all the way up to day 7 and tells you if you reached to certain weight or not.


Reversing
Looking at disassembly, goal is to get to 0xb4(180)

Activity Effects

Activity | Effects |
---|---|
1 | weight = weight – 4 |
2 | weight = weight – 1 |
3 | weight = weight – 5 |
4 | weight = weight – 3 |
To get to 180 lbs from 211, we need to lose 31 lbs. And we get 7 days.
If you choose Activity 3 six times Activity 2 once, we should hit 31.