Files
rr3-apk/smali_classes4/com/mbridge/msdk/shake/b.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

184 lines
3.0 KiB
Smali

.class public abstract Lcom/mbridge/msdk/shake/b;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/hardware/SensorEventListener;
# instance fields
.field private a:I
.field private b:I
.field public d:J
.field public e:F
.field public f:F
.field public g:F
# direct methods
.method public constructor <init>(II)V
.locals 2
.line 20
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/mbridge/msdk/shake/b;->d:J
const/4 v0, 0x0
iput v0, p0, Lcom/mbridge/msdk/shake/b;->e:F
iput v0, p0, Lcom/mbridge/msdk/shake/b;->f:F
iput v0, p0, Lcom/mbridge/msdk/shake/b;->g:F
iput p1, p0, Lcom/mbridge/msdk/shake/b;->a:I
iput p2, p0, Lcom/mbridge/msdk/shake/b;->b:I
return-void
.end method
# virtual methods
.method public abstract a()V
.end method
.method public onAccuracyChanged(Landroid/hardware/Sensor;I)V
.locals 0
return-void
.end method
.method public onSensorChanged(Landroid/hardware/SensorEvent;)V
.locals 8
.line 28
iget-object p1, p1, Landroid/hardware/SensorEvent;->values:[F
const/4 v0, 0x0
.line 29
aget v0, p1, v0
neg-float v0, v0
const/4 v1, 0x1
.line 30
aget v1, p1, v1
neg-float v1, v1
const/4 v2, 0x2
.line 31
aget p1, p1, v2
neg-float p1, p1
iget v2, p0, Lcom/mbridge/msdk/shake/b;->e:F
const/4 v3, 0x0
cmpl-float v4, v2, v3
if-eqz v4, :cond_0
sub-float v2, v0, v2
.line 32
invoke-static {v2}, Ljava/lang/Math;->abs(F)F
move-result v2
iget v4, p0, Lcom/mbridge/msdk/shake/b;->a:I
int-to-float v4, v4
cmpl-float v2, v2, v4
if-gtz v2, :cond_2
:cond_0
iget v2, p0, Lcom/mbridge/msdk/shake/b;->f:F
cmpl-float v4, v2, v3
if-eqz v4, :cond_1
sub-float v2, v1, v2
invoke-static {v2}, Ljava/lang/Math;->abs(F)F
move-result v2
iget v4, p0, Lcom/mbridge/msdk/shake/b;->a:I
int-to-float v4, v4
cmpl-float v2, v2, v4
if-gtz v2, :cond_2
:cond_1
iget v2, p0, Lcom/mbridge/msdk/shake/b;->g:F
cmpl-float v3, v2, v3
if-eqz v3, :cond_3
sub-float v2, p1, v2
invoke-static {v2}, Ljava/lang/Math;->abs(F)F
move-result v2
iget v3, p0, Lcom/mbridge/msdk/shake/b;->a:I
int-to-float v3, v3
cmpl-float v2, v2, v3
if-lez v2, :cond_3
.line 33
:cond_2
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
iget-wide v4, p0, Lcom/mbridge/msdk/shake/b;->d:J
sub-long v4, v2, v4
iget v6, p0, Lcom/mbridge/msdk/shake/b;->b:I
int-to-long v6, v6
cmp-long v4, v4, v6
if-lez v4, :cond_3
iput-wide v2, p0, Lcom/mbridge/msdk/shake/b;->d:J
.line 36
invoke-virtual {p0}, Lcom/mbridge/msdk/shake/b;->a()V
:cond_3
iput v0, p0, Lcom/mbridge/msdk/shake/b;->e:F
iput v1, p0, Lcom/mbridge/msdk/shake/b;->f:F
iput p1, p0, Lcom/mbridge/msdk/shake/b;->g:F
return-void
.end method