Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [enable]
- alloc(InfiniteHealthCantBeKilled,1024,bfÂ4exe)
- label(NotPlayer)
- label(ApplyInfiniteHealth)
- label(DoNormal)
- label(HealthRet)
- label(HealthRet2)
- label(PlayerHealthPtr)
- label(DesiredHealthValue)
- registersymbol(PlayerHealthPtr)
- InfiniteHealthCantBeKilled:
- cmp rdx,1
- je short NotPlayer
- cmp r10,0
- jne short NotPlayer
- mov [PlayerHealthPtr],rbx
- NotPlayer:
- movss xmm7,[rbx+20]
- jmp HealthRet
- ApplyInfiniteHealth:
- cmp rcx,[PlayerHealthPtr]
- jne DoNormal
- movss xmm1,[DesiredHealthValue]
- DoNormal:
- movss [rcx+20],xmm1
- jmp HealthRet2
- PlayerHealthPtr:
- dq 0
- DesiredHealthValue:
- dd (float)100.0
- bf4.SetPlatform+228A16:
- jmp InfiniteHealthCantBeKilled
- HealthRet:
- bf4.SetPlatform+221D07:
- jmp ApplyInfiniteHealth
- HealthRet2:
- [Disable]
- bf4.SetPlatform+228A16:
- movss xmm7,[rbx+20]
- bf4.SetPlatform+221D07:
- movss [rcx+20],xmm1
- dealloc(InfiniteHealthCantBeKilled)
- unregistersymbol(PlayerHealthPtr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement