// Path: app/src/main/java/com/icecream/snorlax/module/Log.java
// @SuppressWarnings({"unused", "FieldCanBeLocal", "WeakerAccess"})
// public final class Log {
// 
// 	public static void d(String format, Object... args) {
// 		XposedBridge.log(String.format(Locale.US, format, args));
// 	}
// 
// 	public static void e(Throwable throwable) {
// 		XposedBridge.log(throwable);
// 	}
// 
// 	public static void e(Throwable throwable, String format, Object... args) {
// 		XposedBridge.log(new Exception(String.format(Locale.US, format, args), throwable));
// 	}
// 
// 	public static void e(String format, Object... args) {
// 		XposedBridge.log(new Exception(String.format(Locale.US, format, args)));
// 	}
// 
// 	private Log() {
// 		throw new AssertionError("No instances");
// 	}
// }


import static POGOProtos.Networking.Requests.RequestOuterClass.Request;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import android.util.LongSparseArray;
import com.google.protobuf.InvalidProtocolBufferException;
import com.icecream.snorlax.module.Log;
import static POGOProtos.Networking.Envelopes.RequestEnvelopeOuterClass.RequestEnvelope;
import static POGOProtos.Networking.Envelopes.ResponseEnvelopeOuterClass.ResponseEnvelope;
			mListeners.add(listener);
		}
	}

	public void removeListenerResponse(MitmListener listener) {
		if (listener != null) {
			mListeners.remove(listener);
		}
	}

	ByteBuffer processOutboundPackage(ByteBuffer roData, boolean connectionOk) {
		if (!connectionOk)
			return null;

		roData.rewind();

		try {
			byte[] buffer = new byte[roData.remaining()];
			roData.get(buffer);

			synchronized (MitmProvider.class) {
				RequestEnvelope envelope = RequestEnvelope.parseFrom(buffer);
				MitmRelay.getInstance().call(envelope);

				setRequests(envelope);
			}
		}
		catch (InvalidProtocolBufferException ignored) {
		}
		catch (Throwable throwable) {
// Path: app/src/main/java/com/icecream/snorlax/module/Log.java
// @SuppressWarnings({"unused", "FieldCanBeLocal", "WeakerAccess"})
// public final class Log {
// 
// 	public static void d(String format, Object... args) {
// 		XposedBridge.log(String.format(Locale.US, format, args));
// 	}
// 
// 	public static void e(Throwable throwable) {
// 		XposedBridge.log(throwable);
// 	}
// 
// 	public static void e(Throwable throwable, String format, Object... args) {
// 		XposedBridge.log(new Exception(String.format(Locale.US, format, args), throwable));
// 	}
// 
// 	public static void e(String format, Object... args) {
// 		XposedBridge.log(new Exception(String.format(Locale.US, format, args)));
// 	}
// 
// 	private Log() {
// 		throw new AssertionError("No instances");
// 	}
// }


// Path: app/src/main/java/com/icecream/snorlax/module/feature/mitm/MitmProvider.java
import static POGOProtos.Networking.Requests.RequestOuterClass.Request;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import android.util.LongSparseArray;
import com.google.protobuf.InvalidProtocolBufferException;
import com.icecream.snorlax.module.Log;
import static POGOProtos.Networking.Envelopes.RequestEnvelopeOuterClass.RequestEnvelope;
import static POGOProtos.Networking.Envelopes.ResponseEnvelopeOuterClass.ResponseEnvelope;

			mListeners.add(listener);
		}
	}

	public void removeListenerResponse(MitmListener listener) {
		if (listener != null) {
			mListeners.remove(listener);
		}
	}

	ByteBuffer processOutboundPackage(ByteBuffer roData, boolean connectionOk) {
		if (!connectionOk)
			return null;

		roData.rewind();

		try {
			byte[] buffer = new byte[roData.remaining()];
			roData.get(buffer);

			synchronized (MitmProvider.class) {
				RequestEnvelope envelope = RequestEnvelope.parseFrom(buffer);
				MitmRelay.getInstance().call(envelope);

				setRequests(envelope);
			}
		}
		catch (InvalidProtocolBufferException ignored) {
		}
		catch (Throwable throwable) {
			Log.e(throwable);