Here are the examples of the csharp api class PokemonGo.RocketAPI.Helpers.EncryptionHelper.sub_985E0(uint[]) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
View licenseprivate static void sub_9E9D8(IList<byte> input, IList<byte> output) { uint[] temp = new uint[812 / 4]; uint[] temp2 = new uint[256 / 4]; // memcpy(temp2, input, 0x100); Buffer.BlockCopy(input.ToArray(), 0, temp2, 0, 256); sub_87568(temp, temp2); // -> iniatilizes newly created 768bytes 'temp' buffer with formula&input's first 256bytes (temp2) as a 'key' : the first 752 bytes are overwritten sub_8930C(temp); // -> 'temp' first 744 bytes are modified with a static formula (no key involved) sub_8B2F4(temp); sub_8D114(temp); sub_8F0B0(temp); sub_910A8(temp); sub_92E08(temp); sub_94BDC(temp); sub_96984(temp); sub_985E0(temp); sub_9A490(temp); sub_9C42C(temp); sub_9E1C4(temp, temp2); // temp2 is entirely overwritten (256 first bytes) by this function (final computation of hash or encryption) // memcpy(output, temp2, 0x100); byte[] outputBuffer = new byte[256]; Buffer.BlockCopy(temp2, 0, outputBuffer, 0, 256); for (var i = 0; i < 256; i++) { output[i] = outputBuffer[i]; } }