Files
rr3-apk/decompiled-community/sources/com/applovin/impl/w7.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

119 lines
3.7 KiB
Java

package com.applovin.impl;
import android.os.Parcel;
import android.os.Parcelable;
import com.applovin.impl.bf;
import com.applovin.impl.f9;
import com.ironsource.mediationsdk.logger.IronSourceError;
import com.mbridge.msdk.playercommon.exoplayer2.util.MimeTypes;
import java.util.Arrays;
/* loaded from: classes.dex */
public final class w7 implements bf.b {
public final String a;
public final String b;
public final long c;
public final long d;
public final byte[] f;
private int g;
private static final f9 h = new f9.b().f(MimeTypes.APPLICATION_ID3).a();
private static final f9 i = new f9.b().f(MimeTypes.APPLICATION_SCTE35).a();
public static final Parcelable.Creator<w7> CREATOR = new a();
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public String toString() {
return "EMSG: scheme=" + this.a + ", id=" + this.d + ", durationMs=" + this.c + ", value=" + this.b;
}
public w7(Parcel parcel) {
this.a = (String) xp.a((Object) parcel.readString());
this.b = (String) xp.a((Object) parcel.readString());
this.c = parcel.readLong();
this.d = parcel.readLong();
this.f = (byte[]) xp.a((Object) parcel.createByteArray());
}
@Override // com.applovin.impl.bf.b
public f9 b() {
String str = this.a;
str.hashCode();
switch (str) {
case "urn:scte:scte35:2014:bin":
return i;
case "https://aomedia.org/emsg/ID3":
case "https://developer.apple.com/streaming/emsg-id3":
return h;
default:
return null;
}
}
@Override // com.applovin.impl.bf.b
public byte[] a() {
if (b() != null) {
return this.f;
}
return null;
}
public int hashCode() {
if (this.g == 0) {
String str = this.a;
int hashCode = ((str != null ? str.hashCode() : 0) + IronSourceError.ERROR_NON_EXISTENT_INSTANCE) * 31;
String str2 = this.b;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
long j = this.c;
int i2 = (hashCode2 + ((int) (j ^ (j >>> 32)))) * 31;
long j2 = this.d;
this.g = ((i2 + ((int) (j2 ^ (j2 >>> 32)))) * 31) + Arrays.hashCode(this.f);
}
return this.g;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || w7.class != obj.getClass()) {
return false;
}
w7 w7Var = (w7) obj;
return this.c == w7Var.c && this.d == w7Var.d && xp.a((Object) this.a, (Object) w7Var.a) && xp.a((Object) this.b, (Object) w7Var.b) && Arrays.equals(this.f, w7Var.f);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i2) {
parcel.writeString(this.a);
parcel.writeString(this.b);
parcel.writeLong(this.c);
parcel.writeLong(this.d);
parcel.writeByteArray(this.f);
}
public w7(String str, String str2, long j, long j2, byte[] bArr) {
this.a = str;
this.b = str2;
this.c = j;
this.d = j2;
this.f = bArr;
}
public class a implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
/* renamed from: a, reason: merged with bridge method [inline-methods] */
public w7[] newArray(int i) {
return new w7[i];
}
@Override // android.os.Parcelable.Creator
/* renamed from: a, reason: merged with bridge method [inline-methods] */
public w7 createFromParcel(Parcel parcel) {
return new w7(parcel);
}
}
}