PTC String Pointer Usage

Posts 1–10 of 10 · Page 1 of 1
PTC String Pointer Usage
Is It Possible to Nop the Address of the PTC String to call the PTC Command ?

/Discuss
uhh most likely not....

NOP is changing the value of something...

PTC is changing where pointer are directed... so I doubt it.
Quote Originally Posted by CAFlames View Post
uhh most likely not....

NOP is changing the value of something...

PTC is changing where pointer are directed... so I doubt it.
An NOP does not change the value of something, it removes the operation present at that address in memory. Hence "No Operation Present".

Quote Originally Posted by Sydney View Post
Is It Possible to Nop the Address of the PTC String to call the PTC Command ?

/Discuss
You would not be NOPing the string, you would NOPing the operation that Pushes the value of the string onto the stack.

Here is some of the radar function that is responsible for the NX chams.

Code:
___:37347FF4                 push    edi
___:37347FF5                 mov     ecx, esi
___:37347FF7                 mov     [esi+1B0h], eax
___:37347FFD                 call    sub_37347C30
___:37348002                 push    1
___:37348004                 push    offset aSkelmodelstenc ; "SkelModelStencil"
___:37348009                 call    sub_373F9A60
___:3734800E                 mov     ecx, off_3781BD50
___:37348014                 mov     edx, [ecx]
Currently push offset aSkelmodelstenc is pushing a value of 0 onto the stack, meaning the Chams are not enabled. By removing that operation you are stopping the value from being pushed onto the stack, turning the chams on.

By writing the original bytes back, you are writing the original operation back, turning the chams off.
Its possible ...
How you think they did it before PTC methods was released
if im right:
cshell load the strigns from a pointer. u can give the pointer an address of one of ur strings, than its will work with ur custom string.
Well, it can work and it can not work. Basically, if you NOP the string then the PTC is locked at its current value. So if you NOP it when it's on, it will stay on.
Quote Originally Posted by mmbob View Post
Well, it can work and it can not work. Basically, if you NOP the string then the PTC is locked at its current value. So if you NOP it when it's on, it will stay on.
So does that mean it will work, but you just cant change it off ?
Quote Originally Posted by Sydney View Post
So does that mean it will work, but you just cant change it off ?
He mean's that if you NOP the address that pushes the value, while the chams are on, meaning its pushing a value of 1 onto the stack, the chams will still be on.
Quote Originally Posted by Sydney View Post
Is It Possible to Nop the Address of the PTC String to call the PTC Command ?

/Discuss
to code for 5years and say ur a vip? u ask dumb shit there boy. lulz learn something else than compile run.
Calm Down Dude, Lie is a Lie.
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us