Velasquez_V4 v3.0.0版本的 MD5 值为:f925d3b85f8d5849bcc8f37caec6acf7
以下内容为反编译后的 ActivityC0183.java 源代码,内容仅作参考
package com.applisto.appcloner.classes;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Movie;
import android.graphics.Point;
import android.os.Bundle;
import android.os.Handler;
import android.os.SystemClock;
import android.util.Log;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ImageView;
import java.io.ByteArrayInputStream;
import obfuse4.obfuse.NPStringFog4;
public class ActivityC0183 extends Activity {
private static final String f463 = ActivityC0183.class.getSimpleName();
private String f464;
@Override
protected void onCreate(Bundle savedInstanceState) {
View contentView;
super.onCreate(savedInstanceState);
try {
C0065 m364 = C0065.m364(this);
int splashScreenDuration = m364.m372(NPStringFog4.decode("17145907415D6706405555587547105115500B0A"), 3).intValue();
try {
float splashScreenMargin = m364.m371(NPStringFog4.decode("17145907415D6706405555587C5310570857"), Float.valueOf(0.3f)).floatValue() / 2.0f;
Point realScreenSize = C0193.m554(getWindowManager().getDefaultDisplay());
int horizontalMargin = Math.round(realScreenSize.x * splashScreenMargin);
int verticalMargin = Math.round(realScreenSize.y * splashScreenMargin);
byte[] bytes = C0193.m567(getAssets().open(NPStringFog4.decode("4A17450A53465C36514255535F740B5C04")), true);
boolean gif = m524(bytes);
if (gif) {
final ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(bytes);
View view = new View(this, byteArrayInputStream) {
private Movie mGifMovie;
private float mMovieHeight;
private long mMovieStart;
private float mMovieWidth;
{
this.mGifMovie = Movie.decodeStream(byteArrayInputStream);
this.mMovieWidth = this.mGifMovie.width();
this.mMovieHeight = this.mGifMovie.height();
}
@Override
protected void onDraw(Canvas canvas) {
long now = SystemClock.uptimeMillis();
if (this.mMovieStart == 0) {
this.mMovieStart = now;
}
Movie movie = this.mGifMovie;
if (movie != null) {
int duration = movie.duration();
if (duration == 0) {
duration = 1000;
}
int time = (int) ((now - this.mMovieStart) % duration);
this.mGifMovie.setTime(time);
float w = getWidth();
float h = getHeight();
float sx = w / this.mMovieWidth;
float sy = h / this.mMovieHeight;
float s = Math.min(sx, sy);
float iw = this.mMovieWidth * s;
float ih = this.mMovieHeight * s;
canvas.save();
canvas.translate((w - iw) / 2.0f, (h - ih) / 2.0f);
canvas.scale(s, s);
this.mGifMovie.draw(canvas, 0.0f, 0.0f);
canvas.restore();
invalidate();
}
}
};
FrameLayout frameLayout = new FrameLayout(this);
frameLayout.addView(view, new FrameLayout.LayoutParams(-1, -1, 17));
contentView = frameLayout;
} else {
Bitmap bitmap = BitmapFactory.decodeByteArray(bytes, 0, bytes.length);
ImageView imageView = new ImageView(this);
imageView.setImageBitmap(bitmap);
contentView = imageView;
}
contentView.setPadding(horizontalMargin, verticalMargin, horizontalMargin, verticalMargin);
setContentView(contentView);
} catch (Exception e) {
Log.w(f463, e);
}
ActivityInfo activityInfo = getPackageManager().getActivityInfo(getComponentName(), 129);
Bundle metaData = activityInfo.metaData;
if (metaData != null) {
this.f464 = metaData.getString(NPStringFog4.decode("070B5848534544095B4344591F53124002550B0A54414A5D435E5F5858585B7307105C105B414D2B535D55"));
if (this.f464 != null) {
if (this.f464.startsWith(NPStringFog4.decode("4A"))) {
this.f464 = getPackageName() + this.f464;
}
Intent i = new Intent(getIntent());
i.setComponent(new ComponentName(this, Class.forName(this.f464)));
i.setFlags(268435456);
new Handler().postDelayed(new Runnable() {
@Override
public final void run() {
ActivityC0183.this.m526();
}
}, splashScreenDuration * 1000);
}
}
} catch (Exception e2) {
Log.w(f463, e2);
}
}
@Override
public void onBackPressed() {
}
public void m526() {
Log.i(f463, NPStringFog4.decode("17105414467444150910"));
try {
Intent i = new Intent(getIntent());
i.setComponent(new ComponentName(this, Class.forName(this.f464)));
i.setFlags(268435456);
startActivity(i);
} catch (Exception e) {
Log.w(f463, e);
}
finish();
}
public static boolean m524(byte[] data) {
return data[0] == 71 && data[1] == 73 && data[2] == 70;
}
}