Jump to content

How to hook MSFindSymbol with switch ?


0xSUBZ3R0

2 posts in this topic

Recommended Posts

Posted

Your question is somewhat not specific but here some tips.

1- hijack application UIWindow

2- create a boolean variable 

3- create a UISwitch with event  "valueChanged" to change the boolean variable value based on the switch toggle state

4- add the UISwitch you created to the app's UIWindow

4- on your hooked function simply check if variable is true or false.

 

Btw, GL_LINE_LOOP can cause performance issue for some low end devices. You can use glDepthRangef(0.5, 1) to draw an element on screen coordinates level then simply enable and write rgb color into the frame buffer via glColorMask & glEnable & glBlendFunc, finally draw the element then disable the buffer to be back to normal (-:

 

~CyberCat

Archived

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

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines