Jump to content
  • 0

Patch set_position(Vector3 value)


StearD

Question

3 answers to this question

Recommended Posts

Posted

arm patch : 

if the PUSH start with R0

don't change R0
R1 will hold 1st arg
R2 will hold 2ed arg
R3 will hold 3ed arg

if the PUSH start with R4

same as above skip R5
R6 will hold 1st argument
R7 will hold 2ed argument
R8 will hold 3ed argument
Since it's Void scroll down until you find POP instruction then scroll up and change the R1 R2 R3 instruction ( best if original is MOV ) 
this might work ( 30% )
Try to avoid VOID methods for arm patching 

2ed aproach : 

since void act on the fields of that class pointer search the fields related to movments or map 
and edit the values in the A REGION

3ed aproach :

allocate a memory in XA Region write your custom ARM code then sweap pointers with the original method address pointer

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.