[HELP] Float Inject/Assembly

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
TheNeru
Expert Cheater
Expert Cheater
Posts: 63
Joined: Wed Mar 15, 2017 8:11 pm
Reputation: 13

[HELP] Float Inject/Assembly

Post by TheNeru »

I tried looking for a tutorial in the wide internet and found nothing to help with my problem.
I need help on making pointers for float addresses...
AC
alloc(newmem,$1000,TCSCNTR)
label(code)
label(return)

newmem:

code:
movss [rbx+000011D0],xmm0
jmp return

TCSCNTR:
jmp newmem
nop 3
return:
registersymbol(TCSCNTR)

[DISABLE]

TCSCNTR:
db F3 0F 11 83 D0 11 00 00

unregistersymbol(TCSCNTR)
dealloc(newmem)
Whenever I add
mov [ITCS],rbx
to the code section.

I can no longer activate the script.
I wanted to use ITCS as a pointer and add the offset 11D0

The Assembly Code below is what I have currently...
Current AC
alloc(newmem,$1000,TCSCNTR)
alloc(ITCS,100)
label(code)
label(return)

newmem:

code:
movss [rbx+000011D0],xmm0
mov [ITCS],rbx
jmp return

TCSCNTR:
jmp newmem
nop 3
return:
registersymbol(TCSCNTR)

[DISABLE]

TCSCNTR:
db F3 0F 11 83 D0 11 00 00

unregistersymbol(TCSCNTR)
dealloc(newmem)
dealloc(ITCS)
Help would be greatly appreciated.

Algester
Expert Cheater
Expert Cheater
Posts: 291
Joined: Sun Mar 04, 2018 9:48 am
Reputation: 63

Re: [HELP] Float Inject/Assembly

Post by Algester »

I could be wrong but

Code: Select all

alloc(newmem,$1000,TCSCNTR)
label(code)
label(return)
registersymbol(ITCS)

newmem:

code:
mov [ITCS],rbx
movss [rbx+000011D0],xmm0
jmp return

ITCS:
dq 0

TCSCNTR:
jmp newmem
nop 3
return:
registersymbol(TCSCNTR)

[DISABLE]

TCSCNTR:
db F3 0F 11 83 D0 11 00 00

unregistersymbol(TCSCNTR)
unregistersymbol(ITCS)
dealloc(newmem)
should "work" though why would you want a pointer that changes a float value?

TheNeru
Expert Cheater
Expert Cheater
Posts: 63
Joined: Wed Mar 15, 2017 8:11 pm
Reputation: 13

Re: [HELP] Float Inject/Assembly

Post by TheNeru »

Algester wrote:
Mon May 02, 2022 8:32 am
I could be wrong but
should "work" though why would you want a pointer that changes a float value?
Can't compile the line
mov [ITCS],rbx

As to why, I want to lock the difficulty progression of the game.

Algester
Expert Cheater
Expert Cheater
Posts: 291
Joined: Sun Mar 04, 2018 9:48 am
Reputation: 63

Re: [HELP] Float Inject/Assembly

Post by Algester »

bleh been a huge derp

Code: Select all

alloc(newmem,$1000,TCSCNTR)
label(code)
label(return)
label(ITCS)
registersymbol(ITCS)

newmem:

code:
mov [ITCS],rbx
movss [rbx+000011D0],xmm0
jmp return

ITCS:
dq 0

TCSCNTR:
jmp newmem
nop 3
return:
registersymbol(TCSCNTR)

[DISABLE]

TCSCNTR:
db F3 0F 11 83 D0 11 00 00

unregistersymbol(TCSCNTR)
unregistersymbol(ITCS)
dealloc(newmem)
I think I forgot the label(ITCS)

TheNeru
Expert Cheater
Expert Cheater
Posts: 63
Joined: Wed Mar 15, 2017 8:11 pm
Reputation: 13

Re: [HELP] Float Inject/Assembly

Post by TheNeru »

Sadly, it still doesn't work.

Algester
Expert Cheater
Expert Cheater
Posts: 291
Joined: Sun Mar 04, 2018 9:48 am
Reputation: 63

Re: [HELP] Float Inject/Assembly

Post by Algester »

if the assembly compiles
activate the script
add ITCS address manually as a pointer then add 11D0 offset

User avatar
LeFiXER
LeFixer
LeFixer
Posts: 489
Joined: Wed Mar 24, 2021 9:35 am
Reputation: 251

Re: [HELP] Float Inject/Assembly

Post by LeFiXER »

Code: Select all

aobscan(TCSCNTR,[aob_here]) // Make sure it is definitely a unique AOB.
alloc(newmem,$1000,TCSCNTR)
alloc(ITCS,8) // You will never need more than 8-bytes of allocated memory for a pointer reference. 
label(code)
label(return)

newmem:
  mov [ITCS],rbx

code:
  movss [rbx+000011D0],xmm0
  mov [ITCS],rbx
  jmp return

TCSCNTR:
  jmp newmem
  nop 3

return:
registersymbol(TCSCNTR)

[DISABLE]

TCSCNTR:
  db F3 0F 11 83 D0 11 00 00

unregistersymbol(TCSCNTR)
dealloc(newmem)
dealloc(ITCS)
In the cheat table add an address manually and set tick the pointer box and set the pointer address to "[ITCS]". Add offset "11D0".

Post Reply

Who is online

Users browsing this forum: No registered users