- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
218 lines
2.9 KiB
Smali
218 lines
2.9 KiB
Smali
.class public abstract Lcom/tapjoy/internal/g1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static a([BI)J
|
|
.locals 5
|
|
|
|
.line 1
|
|
aget-byte v0, p0, p1
|
|
|
|
add-int/lit8 v1, p1, 0x1
|
|
|
|
.line 2
|
|
aget-byte v1, p0, v1
|
|
|
|
add-int/lit8 v2, p1, 0x2
|
|
|
|
.line 3
|
|
aget-byte v2, p0, v2
|
|
|
|
add-int/lit8 p1, p1, 0x3
|
|
|
|
.line 4
|
|
aget-byte p0, p0, p1
|
|
|
|
and-int/lit16 p1, v0, 0x80
|
|
|
|
const/16 v3, 0x80
|
|
|
|
if-ne p1, v3, :cond_0
|
|
|
|
and-int/lit8 p1, v0, 0x7f
|
|
|
|
add-int/lit16 v0, p1, 0x80
|
|
|
|
:cond_0
|
|
and-int/lit16 p1, v1, 0x80
|
|
|
|
if-ne p1, v3, :cond_1
|
|
|
|
and-int/lit8 p1, v1, 0x7f
|
|
|
|
add-int/lit16 v1, p1, 0x80
|
|
|
|
:cond_1
|
|
and-int/lit16 p1, v2, 0x80
|
|
|
|
if-ne p1, v3, :cond_2
|
|
|
|
and-int/lit8 p1, v2, 0x7f
|
|
|
|
add-int/lit16 v2, p1, 0x80
|
|
|
|
:cond_2
|
|
and-int/lit16 p1, p0, 0x80
|
|
|
|
if-ne p1, v3, :cond_3
|
|
|
|
and-int/lit8 p0, p0, 0x7f
|
|
|
|
add-int/2addr p0, v3
|
|
|
|
:cond_3
|
|
int-to-long v3, v0
|
|
|
|
const/16 p1, 0x18
|
|
|
|
shl-long/2addr v3, p1
|
|
|
|
int-to-long v0, v1
|
|
|
|
const/16 p1, 0x10
|
|
|
|
shl-long/2addr v0, p1
|
|
|
|
add-long/2addr v3, v0
|
|
|
|
int-to-long v0, v2
|
|
|
|
const/16 p1, 0x8
|
|
|
|
shl-long/2addr v0, p1
|
|
|
|
add-long/2addr v3, v0
|
|
|
|
int-to-long p0, p0
|
|
|
|
add-long/2addr v3, p0
|
|
|
|
return-wide v3
|
|
.end method
|
|
|
|
.method public static a([BJ)V
|
|
.locals 9
|
|
|
|
const-wide/16 v0, 0x3e8
|
|
|
|
.line 5
|
|
div-long v2, p1, v0
|
|
|
|
mul-long v4, v2, v0
|
|
|
|
sub-long/2addr p1, v4
|
|
|
|
const-wide v4, 0x83aa7e80L
|
|
|
|
add-long/2addr v2, v4
|
|
|
|
const/16 v4, 0x18
|
|
|
|
shr-long v5, v2, v4
|
|
|
|
long-to-int v5, v5
|
|
|
|
int-to-byte v5, v5
|
|
|
|
const/16 v6, 0x28
|
|
|
|
.line 10
|
|
aput-byte v5, p0, v6
|
|
|
|
const/16 v5, 0x10
|
|
|
|
shr-long v6, v2, v5
|
|
|
|
long-to-int v6, v6
|
|
|
|
int-to-byte v6, v6
|
|
|
|
const/16 v7, 0x29
|
|
|
|
.line 11
|
|
aput-byte v6, p0, v7
|
|
|
|
const/16 v6, 0x8
|
|
|
|
shr-long v7, v2, v6
|
|
|
|
long-to-int v7, v7
|
|
|
|
int-to-byte v7, v7
|
|
|
|
const/16 v8, 0x2a
|
|
|
|
.line 12
|
|
aput-byte v7, p0, v8
|
|
|
|
long-to-int v2, v2
|
|
|
|
int-to-byte v2, v2
|
|
|
|
const/16 v3, 0x2b
|
|
|
|
.line 13
|
|
aput-byte v2, p0, v3
|
|
|
|
const-wide v2, 0x100000000L
|
|
|
|
mul-long/2addr p1, v2
|
|
|
|
.line 15
|
|
div-long/2addr p1, v0
|
|
|
|
shr-long v0, p1, v4
|
|
|
|
long-to-int v0, v0
|
|
|
|
int-to-byte v0, v0
|
|
|
|
const/16 v1, 0x2c
|
|
|
|
.line 17
|
|
aput-byte v0, p0, v1
|
|
|
|
shr-long v0, p1, v5
|
|
|
|
long-to-int v0, v0
|
|
|
|
int-to-byte v0, v0
|
|
|
|
const/16 v1, 0x2d
|
|
|
|
.line 18
|
|
aput-byte v0, p0, v1
|
|
|
|
shr-long/2addr p1, v6
|
|
|
|
long-to-int p1, p1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
const/16 p2, 0x2e
|
|
|
|
.line 19
|
|
aput-byte p1, p0, p2
|
|
|
|
.line 21
|
|
invoke-static {}, Ljava/lang/Math;->random()D
|
|
|
|
move-result-wide p1
|
|
|
|
const-wide v0, 0x406fe00000000000L # 255.0
|
|
|
|
mul-double/2addr p1, v0
|
|
|
|
double-to-int p1, p1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
const/16 p2, 0x2f
|
|
|
|
aput-byte p1, p0, p2
|
|
|
|
return-void
|
|
.end method
|