Skip to content
Guest Big Announcement

Breakpoint doesn't hit when enemy attacks

Featured Replies

4 minutes ago, Goran said:

what is backtrace function? when we are using this and how?

When you have set a watch point and the game freezes you type bt gives you a list of address which are associated with that address /function :)

56 minutes ago, Goran said:

you need to check places where is goes in ida to compare.... and then try that to watch....

why'd u watchpoint an IDA offset .-.

59 minutes ago, Ted2 said:

yes, the breakpoint gets hit & game freezes.

When I get hit, breakpoint doesn't get hit & doesn't freeze.

 

When I change the code, like I wrote. It apparently is my health function too, so I find it strange xD 

exactly as King says, use backtrace and find the right offset

  • Author
54 minutes ago, Mr Cub3s said:

why'd u watchpoint an IDA offset .-.

exactly as King says, use backtrace and find the right offset

 

1 hour ago, K_K said:

When you have set a watch point and the game freezes you type bt gives you a list of address which are associated with that address /function :)

It drops me here:

loc_494DFC
CMP             R4, R5
BGE             loc_494E08
MOV             R0, R11
BL              sub_4956E8
ADDS            R4, R0, R5

R4 = Max Damage I can give
R5 = Damage I give

 

  • Author
1 minute ago, K_K said:

edit this accordingly :)

I tried to swap r4 with r5, which would basicly set the damage as max damage & max damage as damage. But no effect, maybe ADDS R4, R0, R7? but think will crash

Updated by Ted2

3 minutes ago, Ted2 said:

I tried to swap r4 with r5, which would basicly set the damage as max damage & max damage as damage. But no effect, maybe ADDS R4, R0, R7? but think will crash

Have a look @ the function it compares it at the top nop that and see

  • Author
5 minutes ago, K_K said:

Have a look @ the function it compares it at the top nop that and see

I think I did that, but not sure. Lemme see :p

 

yea, crashes the game when attacking

Updated by Ted2

6 minutes ago, Ted2 said:

I think I did that, but not sure. Lemme see :p

 

yea, crashes the game when attacking

pm me the game details ill take a look 

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.