A short video on the making of hp cheat for hero and boss and my comments with time stamp
00:01 The HP of hero is found and verified, screen show the cursor pointer at the HP of our hero
00:09 Breeze button that you need to press is SetBreakPoint, to see this button you need to expand the menu
Ignore the left panel data, they are from previous capture
00:17 Gen2Attach
00:19 Execute Watch
Go back to game in order to capture data, what you need to do in game will vary, this specific one you actually don't have to do anything, some you have to perform specific action in order for the memory you are watching to be access by code, the more you do the higher chance the capture is thorough, in this video no enemy encounter with is not representative
00:28 go back to gen2 menu
00:36 look at the count, 21 unique code address and call from offset (main+offset = call from address) is found, these are potential hook you can use
00:45 Detached from Gen2 and looking at the captured data, notice that some code is called from many function and there are more than one game instruction that access this memory location, not just the one at M+970714, M+97cd64 with the instruction ldr S1, [x0, #0x2d0] was executed 320 times with X30 being M+a7d464 during the time we let the game run
01:02 Lets try to hook this code and see what address it access, the objective is to hook a code that only access hero HP, use the select key to choose this code, at this time we leave X30_match to be 0, if we don't need to match X30 the cheat code is simpler and that is preferred
01:07 Pressing "Select" brought us to ASM explorer, look if you like
01:13 Watch this instruction
01:17 Gen2Attach
01:20 Execute Watch
Play the game
01:34 See that this instruction has many different X30 value when it access the target address and nothing else is access by this instruction
01:41 Setting X30_catch to none will ignore X30
01:56 Now we see just one hit
02:03 Press select on this line will bring us back to ASM explorer so we can add this to cheat
02:21 Now looking at the cheat we created
02:31 Need to expand the menu to be able to see the Asm Composer button
02:35 Create the ASM hack, the original is a ldr, we change that to load 100 into s0 and write it back to target, sometimes we need to execute the original code but in this case s0 is already the value we want so we don't need to repeat the original
Breeze have code1 defined as the original code that we replace, when we are done we return to code1+4
02:41 use Add ASM button the make the code
With that we have created hp hack for hero, but as the game progress you will learn that this code also apply to boss and x30 match is needed
This video ends here