import java.util.*; import java.util.zip.*; import java.util.List; import java.util.regex.*; import java.util.concurrent.*; import java.util.concurrent.atomic.*; import java.util.concurrent.locks.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.text.*; import javax.swing.table.*; import java.io.*; import java.net.*; import java.lang.reflect.*; import java.lang.ref.*; import java.lang.management.*; import java.security.*; import java.security.spec.*; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import javax.imageio.*; import java.math.*; import android.view.View; import android.content.pm.ActivityInfo; import android.app.*; import android.widget.*; import android.view.*; import android.view.KeyEvent; import android.view.inputmethod.*; import android.text.*; import android.widget.Button; import android.app.Activity; import android.graphics.*; import android.content.Context; import javax.net.ssl.*; import java.security.SecureRandom; import java.security.cert.X509Certificate; import java.text.SimpleDateFormat; import java.text.NumberFormat; class main { public static void main(final String[] args) throws Exception { aShow(aCatLoadingScreen()); } static void aShow(View view) { androidShow(view); } static View aCatLoadingScreen() { aPortraitMode(); final TextView tv = aCenteredTextView("[CAT LOADING]"); return aVerticalLinearLayout( aImageView("#1101167"), aFontSize(32, aSetForeground(aBlack(), tv)), aVerticalExpander(), aButton( //"No thanks, I'll do something else", "ADMIN", new Runnable() { public void run() { try { aDisable(heldInstance(Button.class)); aSetText(tv, ""); callOptMC("waitForX30"); androidGoAdminMode(); } catch (Exception __e) { throw rethrow(__e); } } public String toString() { return "aDisable(heldInstance(Button.class));\r\n aSetText(tv, \"\"..."; }}) ); } static View androidShow_view; static void androidShow(final View view) { androidUI(new Runnable() { public void run() { try { androidShow_view = view; androidActivity().setContentView(aRemoveFromParent(view)); } catch (Exception __e) { throw rethrow(__e); } } public String toString() { return "androidShow_view = view;\r\n androidActivity().setContentView(aRemoveFromPar..."; }}); } static void aPortraitMode() { aActivity().setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); } static TextView aCenteredTextView(String text) { final TextView tv = aTextView(text); androidUI(new Runnable() { public void run() { try { tv.setGravity(Gravity.CENTER_HORIZONTAL) ; } catch (Exception __e) { throw rethrow(__e); } } public String toString() { return "tv.setGravity(Gravity.CENTER_HORIZONTAL)"; }}); return tv; } static TextView aCenteredTextView() { return aCenteredTextView(""); } static LinearLayout aVerticalLinearLayout(final View... views) { return androidUI(new F0() { LinearLayout get() { try { LinearLayout ll = new LinearLayout(androidActivity()); ll.setOrientation(ll.VERTICAL); for (View v : views) if (v != null) aAddView(ll, v); return ll; } catch (Exception __e) { throw rethrow(__e); } } public String toString() { return "LinearLayout ll = new LinearLayout(androidActivity());\r\n ll.setOrientation..."; }}); } static ImageView aImageView(String imageID) { return androidClickableImage(imageID, -1, null); } static TextView aFontSize(final float size, final TextView a) { if (a == null) return a; androidUI(new Runnable() { public void run() { try { a.setTextSize(size) ; } catch (Exception __e) { throw rethrow(__e); } } public String toString() { return "a.setTextSize(size)"; }}); return a; } static TextView aSetForeground(final int color, final TextView a) { if (a != null) androidUI(new Runnable() { public void run() { try { a.setTextColor(color) ; } catch (Exception __e) { throw rethrow(__e); } } public String toString() { return "a.setTextColor(color)"; }}); return a; } static int aBlack() { return 0xFF000000; } static View aVerticalExpander() { final View v = aTextView(); androidUI(new Runnable() { public void run() { try { v.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT, 1.0f)); } catch (Exception __e) { throw rethrow(__e); } } public String toString() { return "v.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRA..."; }}); return v; } static Button aButton(String text, final Object action) { final Button b = aButton(text); if (action != null) b.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { AutoCloseable __11 = holdInstance(b); try { pcallF(action); } finally { _close(__11); }} }); return b; } static Button aButton(String text) { Button b = aButton(); b.setText(text); return b; } static Button aButton() { return androidUI(new F0