A game that I am hacking (SD HCTP) has the malloc and free function that I would like to call to create usable spaces for some data (around 629kb so I can't find the static address for it) then release it.
Since you guys might not have HCTP I will provide the link to the Label Mates where they got a similar malloc and free function.(They have same registers just different static address)
http://dlevere1.proboards.com/thread...abel-mates-gmo
Its in the file CmpLabelsXxX2
I do not know what are the parameters of those function, what I think I know is that malloc return the pointer as v0 when the function ends.
I would like to know:
+ What registers are the size of the memory in malloc and free?
+ What register is the pointer of the address to be freed in the free function?
Any help would be grateful.
Since you guys might not have HCTP I will provide the link to the Label Mates where they got a similar malloc and free function.(They have same registers just different static address)
http://dlevere1.proboards.com/thread...abel-mates-gmo
Its in the file CmpLabelsXxX2
I do not know what are the parameters of those function, what I think I know is that malloc return the pointer as v0 when the function ends.
I would like to know:
+ What registers are the size of the memory in malloc and free?
+ What register is the pointer of the address to be freed in the free function?
Any help would be grateful.
Comment