Jump to content

CyberCat

Member
  • Posts

    71
  • Joined

  • Last visited

Everything posted by CyberCat

  1. I don't know why people prefer integers type for this purpose which forces you to deal with endianness. I just simplified yours too. void inject(uint64_t offset, const void *bytes, size_t bytes_len) { MSHookMemory((void *)getRealOffset(offset), bytes, bytes_len); } Usage: //offset & bytes literal & bytes length /* mov w0, #1 ret */ inject(0x100299DC4, "\x20\x00\x80\x52\xC0\x03\x5F\xD6", 8); You can write as many bytes as you want with this.
  2. 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
  3. "Trying to make hacks by using strings", hmm, I don't think this explaination is correct or maybe I'm missing something. Can you explain what type of hacks and what do you mean by using strings and which game?
×
  • 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