So Ive been trying to hook an array for enemy players through photon. I used this header that I found on GitHub: template <typename T> struct monoArray { void* klass; void* monitor; void* bounds; int max_length; void* vector [1]; int getLength() { return max_length; } T getPointer() { return (T)vector; } }; I used this hook and pointer for the function I was trying to hook: //pointer monoArray<void *> *(*PhotonNetwork_get_OtherPlayers)() = (monoArray<void *> *(*)())getRealOffset(0x1018291A8); //hook monoArray<void **> *otherPlayers = PhotonNetwork_get_OtherPlayers(); for (int i = 0; i < otherPlayers->getLength(); ++i) { void *ePlayerr = otherPlayers->getPointer()[i]; //run my code for the hack im trying to do. examples = telekill, masskill, scale players ect.. } I get this error tho: Tweak.xm:531:21: error: cannot initialize a variable of type 'monoArray<void **> *' with an rvalue of type 'monoArray<void *> *' monoArray<void **> *photonplayers = PhotonNetwork_get_OtherPlayers(); How do I fix this? Already tried on my own and looking it up, Just gave me even more errors
from iOSGods RSS Feed https://ift.tt/3nnj6lG
via IFTTT
Subscribe to:
Post Comments (Atom)
MP Chunav 2023 किसकी होगी जित? क्या बोलता है MP Exit Poll 2023?
MP Chunav 2023 से जुडी बहत ही बड़ी समाचार आगई है। किसकी होगी जित और कौन बनाएगा MP में सरकार। क्या फिर से बन पाएगी डबल इंजन का सरकार या फिर का...
-
Hello, I'm not sure what happened, but when I tried installing an app, the error in the title popped up and I don't know how to fix ...
-
Hello! I've got an Iphone 11, no jailbreak. Used sideloadly for a while and it worked great. Since yesterday it says no space left on de...
-
i cant install ipa file Sideloadly version 0.23.2, Windows 10.0, amd64 Using IPA file: D:/Download/IOSZERO v41 (High Device).ipa: 57ec26ae10...
No comments:
Post a Comment