- 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
191 lines
6.2 KiB
Smali
191 lines
6.2 KiB
Smali
.class final Lcom/mbridge/msdk/thrid/okhttp/OkHttpClient$1;
|
|
.super Lcom/mbridge/msdk/thrid/okhttp/internal/Internal;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/mbridge/msdk/thrid/okhttp/OkHttpClient;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 133
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/thrid/okhttp/internal/Internal;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addLenient(Lcom/mbridge/msdk/thrid/okhttp/Headers$Builder;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 135
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/thrid/okhttp/Headers$Builder;->addLenient(Ljava/lang/String;)Lcom/mbridge/msdk/thrid/okhttp/Headers$Builder;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addLenient(Lcom/mbridge/msdk/thrid/okhttp/Headers$Builder;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 139
|
|
invoke-virtual {p1, p2, p3}, Lcom/mbridge/msdk/thrid/okhttp/Headers$Builder;->addLenient(Ljava/lang/String;Ljava/lang/String;)Lcom/mbridge/msdk/thrid/okhttp/Headers$Builder;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public apply(Lcom/mbridge/msdk/thrid/okhttp/ConnectionSpec;Ljavax/net/ssl/SSLSocket;Z)V
|
|
.locals 0
|
|
|
|
.line 179
|
|
invoke-virtual {p1, p2, p3}, Lcom/mbridge/msdk/thrid/okhttp/ConnectionSpec;->apply(Ljavax/net/ssl/SSLSocket;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public code(Lcom/mbridge/msdk/thrid/okhttp/Response$Builder;)I
|
|
.locals 0
|
|
|
|
.line 174
|
|
iget p1, p1, Lcom/mbridge/msdk/thrid/okhttp/Response$Builder;->code:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public connectionBecameIdle(Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;Lcom/mbridge/msdk/thrid/okhttp/internal/connection/RealConnection;)Z
|
|
.locals 0
|
|
|
|
.line 148
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;->connectionBecameIdle(Lcom/mbridge/msdk/thrid/okhttp/internal/connection/RealConnection;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public deduplicate(Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;Lcom/mbridge/msdk/thrid/okhttp/Address;Lcom/mbridge/msdk/thrid/okhttp/internal/connection/StreamAllocation;)Ljava/net/Socket;
|
|
.locals 0
|
|
|
|
.line 162
|
|
invoke-virtual {p1, p2, p3}, Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;->deduplicate(Lcom/mbridge/msdk/thrid/okhttp/Address;Lcom/mbridge/msdk/thrid/okhttp/internal/connection/StreamAllocation;)Ljava/net/Socket;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public equalsNonHost(Lcom/mbridge/msdk/thrid/okhttp/Address;Lcom/mbridge/msdk/thrid/okhttp/Address;)Z
|
|
.locals 0
|
|
|
|
.line 157
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/thrid/okhttp/Address;->equalsNonHost(Lcom/mbridge/msdk/thrid/okhttp/Address;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public get(Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;Lcom/mbridge/msdk/thrid/okhttp/Address;Lcom/mbridge/msdk/thrid/okhttp/internal/connection/StreamAllocation;Lcom/mbridge/msdk/thrid/okhttp/Route;)Lcom/mbridge/msdk/thrid/okhttp/internal/connection/RealConnection;
|
|
.locals 0
|
|
|
|
.line 153
|
|
invoke-virtual {p1, p2, p3, p4}, Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;->get(Lcom/mbridge/msdk/thrid/okhttp/Address;Lcom/mbridge/msdk/thrid/okhttp/internal/connection/StreamAllocation;Lcom/mbridge/msdk/thrid/okhttp/Route;)Lcom/mbridge/msdk/thrid/okhttp/internal/connection/RealConnection;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public isInvalidHttpUrlHost(Ljava/lang/IllegalArgumentException;)Z
|
|
.locals 1
|
|
|
|
.line 183
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "Invalid URL host"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public newWebSocketCall(Lcom/mbridge/msdk/thrid/okhttp/OkHttpClient;Lcom/mbridge/msdk/thrid/okhttp/Request;)Lcom/mbridge/msdk/thrid/okhttp/Call;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 195
|
|
invoke-static {p1, p2, v0}, Lcom/mbridge/msdk/thrid/okhttp/RealCall;->newRealCall(Lcom/mbridge/msdk/thrid/okhttp/OkHttpClient;Lcom/mbridge/msdk/thrid/okhttp/Request;Z)Lcom/mbridge/msdk/thrid/okhttp/RealCall;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public put(Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;Lcom/mbridge/msdk/thrid/okhttp/internal/connection/RealConnection;)V
|
|
.locals 0
|
|
|
|
.line 166
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;->put(Lcom/mbridge/msdk/thrid/okhttp/internal/connection/RealConnection;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public routeDatabase(Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;)Lcom/mbridge/msdk/thrid/okhttp/internal/connection/RouteDatabase;
|
|
.locals 0
|
|
|
|
.line 170
|
|
iget-object p1, p1, Lcom/mbridge/msdk/thrid/okhttp/ConnectionPool;->routeDatabase:Lcom/mbridge/msdk/thrid/okhttp/internal/connection/RouteDatabase;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public setCache(Lcom/mbridge/msdk/thrid/okhttp/OkHttpClient$Builder;Lcom/mbridge/msdk/thrid/okhttp/internal/cache/InternalCache;)V
|
|
.locals 0
|
|
|
|
.line 143
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/thrid/okhttp/OkHttpClient$Builder;->setInternalCache(Lcom/mbridge/msdk/thrid/okhttp/internal/cache/InternalCache;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public streamAllocation(Lcom/mbridge/msdk/thrid/okhttp/Call;)Lcom/mbridge/msdk/thrid/okhttp/internal/connection/StreamAllocation;
|
|
.locals 0
|
|
|
|
.line 187
|
|
check-cast p1, Lcom/mbridge/msdk/thrid/okhttp/RealCall;
|
|
|
|
invoke-virtual {p1}, Lcom/mbridge/msdk/thrid/okhttp/RealCall;->streamAllocation()Lcom/mbridge/msdk/thrid/okhttp/internal/connection/StreamAllocation;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public timeoutExit(Lcom/mbridge/msdk/thrid/okhttp/Call;Ljava/io/IOException;)Ljava/io/IOException;
|
|
.locals 0
|
|
|
|
.line 191
|
|
check-cast p1, Lcom/mbridge/msdk/thrid/okhttp/RealCall;
|
|
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/thrid/okhttp/RealCall;->timeoutExit(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|