Jump to content

MAKE YOUR OWN STRINGS IN UNITY!!!!!


2 posts in this topic

Recommended Posts

Posted

This is amazing for everyone because now we don't have to rely on existing strings to make strings, and we also don't have to deal with the f***ery of UTF16!! I can finally make strings of any length. No char arrays, no stupid bs. Just regular c strings :D:D:D:D:D

 

In the dump search for 

private string CreateString(PTR value); // 0x1008EBE9C

Obviously your offset will be different.

 

Then make a pointer to it (and I don't know why this method isn't static because the this pointer isn't used):

monoString *(*String_CreateString)(void *_this, const char *str) = (monoString *(*)(void *, const char *))getRealOffset(0x1008EBE9C);

 

Then make your string like this:

monoString *str = String_CreateString(NULL, "Hello this is a string of any length in Unity. WOOOOOOOOOOOOOOOOOOOOOOOOO");

 

And you'll have your very own Unity string :D:D:D 

 

https://twitter.com/hackedbyshmoo/status/990034671844184064

 

×
  • 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