CrackMe.apk
Download file
package expo.modules.kotlin.views;
import android.view.View;
import androidx.autofill.HintConstants;
import com.facebook.react.bridge.Dynamic;
import expo.modules.kotlin.exception.CodedException;
import expo.modules.kotlin.exception.PropSetException;
import expo.modules.kotlin.exception.UnexpectedException;
import expo.modules.kotlin.types.AnyType;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u0000*\b\b\u0000\u0010\u0001*\u00020\u0002*\u0004\b\u0001\u0010\u00032\u00020\u0004BM\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\b\u00126\u0010\t\u001a2\u0012\u0013\u0012\u00118\u0000¢\u0006\f\b\u000b\u0012\b\b\u0005\u0012\u0004\b\b(\f\u0012\u0013\u0012\u00118\u0001¢\u0006\f\b\u000b\u0012\b\b\u0005\u0012\u0004\b\b(\r\u0012\u0004\u0012\u00020\u000e0\n¢\u0006\u0002\u0010\u000fJ\u0018\u0010\u0010\u001a\u00020\u000e2\u0006\u0010\r\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0002H\u0016R\u000e\u0010\u0007\u001a\u00020\bX\u0004¢\u0006\u0002\n\u0000R>\u0010\t\u001a2\u0012\u0013\u0012\u00118\u0000¢\u0006\f\b\u000b\u0012\b\b\u0005\u0012\u0004\b\b(\f\u0012\u0013\u0012\u00118\u0001¢\u0006\f\b\u000b\u0012\b\b\u0005\u0012\u0004\b\b(\r\u0012\u0004\u0012\u00020\u000e0\nX\u0004¢\u0006\u0002\n\u0000¨\u0006\u0013"}, d2 = {"Lexpo/modules/kotlin/views/ConcreteViewProp;", "ViewType", "Landroid/view/View;", "PropType", "Lexpo/modules/kotlin/views/AnyViewProp;", "name", "", "propType", "Lexpo/modules/kotlin/types/AnyType;", "setter", "Lkotlin/Function2;", "Lkotlin/ParameterName;", "view", "prop", "", "(Ljava/lang/String;Lexpo/modules/kotlin/types/AnyType;Lkotlin/jvm/functions/Function2;)V", "set", "Lcom/facebook/react/bridge/Dynamic;", "onView", "expo-modules-core_release"}, k = 1, mv = {1, 6, 0}, xi = 48)
/* compiled from: ConcreteViewProp.kt */
public final class ConcreteViewProp<ViewType extends View, PropType> extends AnyViewProp {
private final AnyType propType;
private final Function2<ViewType, PropType, Unit> setter;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public ConcreteViewProp(String str, AnyType anyType, Function2<? super ViewType, ? super PropType, Unit> function2) {
super(str);
Intrinsics.checkNotNullParameter(str, HintConstants.AUTOFILL_HINT_NAME);
Intrinsics.checkNotNullParameter(anyType, "propType");
Intrinsics.checkNotNullParameter(function2, "setter");
this.propType = anyType;
this.setter = function2;
}
public void set(Dynamic dynamic, View view) {
Intrinsics.checkNotNullParameter(dynamic, "prop");
Intrinsics.checkNotNullParameter(view, "onView");
try {
this.setter.invoke(view, this.propType.convert(dynamic));
Unit unit = Unit.INSTANCE;
} catch (CodedException e) {
throw new PropSetException(getName(), Reflection.getOrCreateKotlinClass(view.getClass()), e);
} catch (expo.modules.core.errors.CodedException e2) {
String code = e2.getCode();
Intrinsics.checkNotNullExpressionValue(code, "e.code");
throw new PropSetException(getName(), Reflection.getOrCreateKotlinClass(view.getClass()), new CodedException(code, e2.getMessage(), e2.getCause()));
} catch (Throwable th) {
throw new PropSetException(getName(), Reflection.getOrCreateKotlinClass(view.getClass()), new UnexpectedException(th));
}
}
}
Download file