Files
rr3-apk/smali/com/amazonaws/retry/RetryUtils.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

113 lines
2.1 KiB
Smali

.class public abstract Lcom/amazonaws/retry/RetryUtils;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static isClockSkewError(Lcom/amazonaws/AmazonServiceException;)Z
.locals 2
const/4 v0, 0x0
if-nez p0, :cond_0
return v0
.line 69
:cond_0
invoke-virtual {p0}, Lcom/amazonaws/AmazonServiceException;->getErrorCode()Ljava/lang/String;
move-result-object p0
const-string v1, "RequestTimeTooSkewed"
.line 70
invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
const-string v1, "RequestExpired"
.line 71
invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
const-string v1, "InvalidSignatureException"
.line 72
invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
const-string v1, "SignatureDoesNotMatch"
.line 73
invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_2
:cond_1
const/4 v0, 0x1
:cond_2
return v0
.end method
.method public static isThrottlingException(Lcom/amazonaws/AmazonServiceException;)Z
.locals 2
const/4 v0, 0x0
if-nez p0, :cond_0
return v0
.line 38
:cond_0
invoke-virtual {p0}, Lcom/amazonaws/AmazonServiceException;->getErrorCode()Ljava/lang/String;
move-result-object p0
const-string v1, "Throttling"
.line 39
invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
const-string v1, "ThrottlingException"
.line 40
invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
const-string v1, "ProvisionedThroughputExceededException"
.line 41
invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_2
:cond_1
const/4 v0, 0x1
:cond_2
return v0
.end method