- 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
123 lines
3.1 KiB
Smali
123 lines
3.1 KiB
Smali
.class public Lcom/firemonkeys/cloudcellapi/util/IabResult;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field mMessage:Ljava/lang/String;
|
|
|
|
.field mResponse:Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;
|
|
|
|
.field mSku:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 34
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/firemonkeys/cloudcellapi/util/IabResult;->mResponse:Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;
|
|
|
|
iput-object p2, p0, Lcom/firemonkeys/cloudcellapi/util/IabResult;->mMessage:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 39
|
|
invoke-direct {p0, p1, p2}, Lcom/firemonkeys/cloudcellapi/util/IabResult;-><init>(Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;Ljava/lang/String;)V
|
|
|
|
iput-object p3, p0, Lcom/firemonkeys/cloudcellapi/util/IabResult;->mSku:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getMessage()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/firemonkeys/cloudcellapi/util/IabResult;->mMessage:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getResponse()Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/firemonkeys/cloudcellapi/util/IabResult;->mResponse:Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSku()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/firemonkeys/cloudcellapi/util/IabResult;->mSku:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public isFailure()Z
|
|
.locals 1
|
|
|
|
.line 46
|
|
invoke-virtual {p0}, Lcom/firemonkeys/cloudcellapi/util/IabResult;->isSuccess()Z
|
|
|
|
move-result v0
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isSuccess()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/firemonkeys/cloudcellapi/util/IabResult;->mResponse:Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;
|
|
|
|
.line 45
|
|
sget-object v1, Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;->RESULT_OK:Lcom/firemonkeys/cloudcellapi/Consts$ResponseCode;
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 47
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "IabResult: "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/firemonkeys/cloudcellapi/util/IabResult;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|