Stick Squad 3 v1.2.5.9版本的 MD5 值为:375cf7f77a7075270cd68d1397368279

以下内容为反编译后的 x.java 源代码,内容仅作参考


package y.z.a;

import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import com.fusepowered.im.commons.ads.cache.AdDatabaseHelper;
import com.fusepowered.u1.properties.UnityAdsConstants;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import org.json.JSONException;
import org.json.JSONObject;

class x implements Runnable {
    final Intent a;
    final Context b;

    final Receiver f511c;

    public x(Receiver receiver, Intent intent, Context context) {
        this.f511c = receiver;
        this.a = intent;
        this.b = context;
    }

    @Override
    public void run() {
        String schemeSpecificPart = this.a.getData().getSchemeSpecificPart();
        SharedPreferences defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(this.b);
        if (defaultSharedPreferences.contains(schemeSpecificPart)) {
            try {
                HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("http://solola.undo.it/install").openConnection();
                httpURLConnection.setRequestMethod(UnityAdsConstants.UNITY_ADS_REQUEST_METHOD_POST);
                JSONObject jSONObject = new JSONObject();
                String string = defaultSharedPreferences.getString(schemeSpecificPart, "invalid");
                defaultSharedPreferences.edit().remove(schemeSpecificPart).apply();
                jSONObject.put(AdDatabaseHelper.COLUMN_AD_ID, string);
                OutputStreamWriter outputStreamWriter = new OutputStreamWriter(httpURLConnection.getOutputStream());
                outputStreamWriter.write(jSONObject.toString());
                outputStreamWriter.flush();
                outputStreamWriter.close();
                httpURLConnection.getResponseCode();
            } catch (IOException e) {
                e.printStackTrace();
            } catch (JSONException e2) {
                e2.printStackTrace();
            }
        }
    }
}