yifanlu / taiHEN

CFW framework for PS Vita
MIT License
307 stars 46 forks source link

Allow patching/injection of functions that libsubstitute can't handle #32

Closed yifanlu closed 7 years ago

yifanlu commented 7 years ago

If a function includes a conditional branch in the first 8 bytes, libsubstitute can't hook it. We need an alternative way of patching these functions or stuff like the patch for 0xD514BB56 won't work.

TheOfficialFloW commented 7 years ago

I'd suggest hijacking the export/import func tables. This method would not heavily modify code.

yifanlu commented 7 years ago

Unfortunally that won't work in this case.