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
This commit is contained in:
2026-02-18 15:48:36 -08:00
parent c19eb3d7ff
commit c080f0d97f
26930 changed files with 2529574 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
package com.google.zxing.oned;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.EncodeHintType;
import com.google.zxing.Writer;
import com.google.zxing.common.BitMatrix;
import java.util.Map;
/* loaded from: classes3.dex */
public abstract class OneDimensionalCodeWriter implements Writer {
public abstract boolean[] encode(String str);
public int getDefaultMargin() {
return 10;
}
@Override // com.google.zxing.Writer
public BitMatrix encode(String str, BarcodeFormat barcodeFormat, int i, int i2, Map map) {
if (str.isEmpty()) {
throw new IllegalArgumentException("Found empty contents");
}
if (i < 0 || i2 < 0) {
throw new IllegalArgumentException("Negative size is not allowed. Input: " + i + 'x' + i2);
}
int defaultMargin = getDefaultMargin();
if (map != null) {
EncodeHintType encodeHintType = EncodeHintType.MARGIN;
if (map.containsKey(encodeHintType)) {
defaultMargin = Integer.parseInt(map.get(encodeHintType).toString());
}
}
return renderResult(encode(str), i, i2, defaultMargin);
}
public static BitMatrix renderResult(boolean[] zArr, int i, int i2, int i3) {
int length = zArr.length;
int i4 = i3 + length;
int max = Math.max(i, i4);
int max2 = Math.max(1, i2);
int i5 = max / i4;
int i6 = (max - (length * i5)) / 2;
BitMatrix bitMatrix = new BitMatrix(max, max2);
int i7 = 0;
while (i7 < length) {
if (zArr[i7]) {
bitMatrix.setRegion(i6, 0, i5, max2);
}
i7++;
i6 += i5;
}
return bitMatrix;
}
public static int appendPattern(boolean[] zArr, int i, int[] iArr, boolean z) {
int i2 = 0;
for (int i3 : iArr) {
int i4 = 0;
while (i4 < i3) {
zArr[i] = z;
i4++;
i++;
}
i2 += i3;
z = !z;
}
return i2;
}
}