Full port of the CW/Morse decoder from Morse Expert 1.15 (com.ve3nea.morse_expert), preserving obfuscated class names and logic. Ads (gms.ads), billing (BillingClient), and library code were removed per user; SettingsActivity deferred to Compose integration. Ported modules: - pas.*: decoder engine interface + JNI (libnativedecoderjni.so, armeabi-v7a) - k3.*: FFT library (pseudo-enum q rewritten from smali; sun.misc stubs for Unsafe/Cleaner since Android lacks them; FFT path uses float[] branch) - i3.*, g3.*, j3.*, s.*, d1.AbstractC1518b: DSP/sin-cos tables (long[] tables f/f11589g restored from smali) - H2.a/b: audio capture + decode control core (jadx catch-block illusions cleaned per smali; recording try/catch restored around write block) - J2.a/b: waterfall OpenGL renderer + palette (r10 = anchor color per smali) - E2.g: waterfall touch frequency picker (height = ScaleView per smali) - B0.b/B.RunnableC0001b: status-bar + decoded-text UI runnables (real constructors recovered from smali) - MainActivity → controller class (Activity injected; immersive status bar inlined); C1646n trimmed to view holder; D.n keeps waterfall texture case - F2.a: text selection menu (Save/Share) Verified: :feature:cw:compileDebugJavaWithJavac BUILD SUCCESSFUL.
36 lines
801 B
Java
36 lines
801 B
Java
package pas;
|
|
|
|
import pas.decoder;
|
|
import pas.system;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class nativedecoder {
|
|
|
|
/* loaded from: classes.dex */
|
|
public static class TNativeDecoder extends decoder.TDecoder {
|
|
public TNativeDecoder(system.PascalObject pascalObject) {
|
|
super(pascalObject);
|
|
}
|
|
|
|
public static TNativeDecoder Class() {
|
|
return new TNativeDecoder(system.GetClassRef(3));
|
|
}
|
|
|
|
public static native TNativeDecoder Create();
|
|
|
|
public static system.TClass TClass() {
|
|
return system.GetTClass(3);
|
|
}
|
|
|
|
public native decoder.TDecoderState ProcessSpectrum(Object obj);
|
|
|
|
public TNativeDecoder(long j4) {
|
|
super(j4);
|
|
}
|
|
}
|
|
|
|
static {
|
|
system.InitJni();
|
|
}
|
|
}
|