Files
Claude 492930ef7a Cheats: no hits with infinite health, infinite missiles, a Karma Bomb that stays ready
Found 11-05 in the 01.07 eboot (src/hero_hook.h):
- A hit reaches a character through its slot-60 method (0x4f7520, the same for the hero's
  character class): hit time, damage share, the recent-damage history (AdjustHitPoints) and the
  damage response. The SetHitPoints stub only kept the health; the rest ran (gray screen, João).
  With infinite health a stub at that method returns at once for the hero's character.
- The missiles' ammo is an int in the player state (0xefacf8 + 0xdc, maximum at hero +0x1ee4c);
  DebitMagicForCast takes each power's heavy cost from it, so infinite powers did not cover it.
  New switch "Infinite missiles": the shim fills it and counts the change as the game's setter.
- The Karma Bomb is the karmic streak (hero +0x1ef30): count +0x28, required +0x60 + side * 0x28,
  ready until +0x38. The old switch filled +0x1ee50, which is the shield (the binding table's data
  sits in the entry before each name), so the bomb did not come back (João). The shim now keeps the
  count at what is required and the bomb ready with no time limit.
God Mode also turns the missiles on. tests/test_hero_stubs.c (was test_dash_hook.c) runs the
damage stub and checks the new signatures; all match the 01.07 eboot here. Not tested in game.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014CsPELgoXid1rUB9jSvL8z
2026-11-05 09:12:46 -03:00
..