Files
rr3-apk/smali/androidx/core/graphics/CanvasKt.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

838 lines
21 KiB
Smali

.class public final Landroidx/core/graphics/CanvasKt;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static final withClip(Landroid/graphics/Canvas;FFFFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FFFF",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 175
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 176
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/Canvas;->clipRect(FFFF)Z
const/4 p1, 0x1
.line 178
:try_start_0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 180
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static final withClip(Landroid/graphics/Canvas;IIIILkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"IIII",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 155
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 156
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/Canvas;->clipRect(IIII)Z
const/4 p1, 0x1
.line 158
:try_start_0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 160
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static final withClip(Landroid/graphics/Canvas;Landroid/graphics/Path;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Landroid/graphics/Path;",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 189
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 190
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->clipPath(Landroid/graphics/Path;)Z
const/4 p1, 0x1
.line 192
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 194
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static final withClip(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Landroid/graphics/Rect;",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 121
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 122
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/Rect;)Z
const/4 p1, 0x1
.line 124
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 126
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static final withClip(Landroid/graphics/Canvas;Landroid/graphics/RectF;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Landroid/graphics/RectF;",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 135
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 136
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/RectF;)Z
const/4 p1, 0x1
.line 138
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 140
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static final withMatrix(Landroid/graphics/Canvas;Landroid/graphics/Matrix;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Landroid/graphics/Matrix;",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 107
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 108
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->concat(Landroid/graphics/Matrix;)V
const/4 p1, 0x1
.line 110
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 112
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static synthetic withMatrix$default(Landroid/graphics/Canvas;Landroid/graphics/Matrix;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.locals 0
const/4 p4, 0x1
and-int/2addr p3, p4
if-eqz p3, :cond_0
.line 106
new-instance p1, Landroid/graphics/Matrix;
invoke-direct {p1}, Landroid/graphics/Matrix;-><init>()V
.line 107
:cond_0
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p3
.line 108
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->concat(Landroid/graphics/Matrix;)V
.line 110
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p4}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 112
invoke-virtual {p0, p3}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p4}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p1
invoke-static {p4}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, p3}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p4}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p1
.end method
.method public static final withRotation(Landroid/graphics/Canvas;FFFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FFF",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 62
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 63
invoke-virtual {p0, p1, p2, p3}, Landroid/graphics/Canvas;->rotate(FFF)V
const/4 p1, 0x1
.line 65
:try_start_0
invoke-interface {p4, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 67
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static synthetic withRotation$default(Landroid/graphics/Canvas;FFFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.locals 1
and-int/lit8 p6, p5, 0x1
const/4 v0, 0x0
if-eqz p6, :cond_0
move p1, v0
:cond_0
and-int/lit8 p6, p5, 0x2
if-eqz p6, :cond_1
move p2, v0
:cond_1
and-int/lit8 p5, p5, 0x4
if-eqz p5, :cond_2
move p3, v0
.line 62
:cond_2
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p5
.line 63
invoke-virtual {p0, p1, p2, p3}, Landroid/graphics/Canvas;->rotate(FFF)V
const/4 p1, 0x1
.line 65
:try_start_0
invoke-interface {p4, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 67
invoke-virtual {p0, p5}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, p5}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static final withSave(Landroid/graphics/Canvas;Lkotlin/jvm/functions/Function1;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 27
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
const/4 v1, 0x1
.line 29
:try_start_0
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {v1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 31
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {v1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p1
invoke-static {v1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {v1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p1
.end method
.method public static final withScale(Landroid/graphics/Canvas;FFFFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FFFF",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 81
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 82
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/Canvas;->scale(FFFF)V
const/4 p1, 0x1
.line 84
:try_start_0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 86
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static synthetic withScale$default(Landroid/graphics/Canvas;FFFFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.locals 1
and-int/lit8 p7, p6, 0x1
const/high16 v0, 0x3f800000 # 1.0f
if-eqz p7, :cond_0
move p1, v0
:cond_0
and-int/lit8 p7, p6, 0x2
if-eqz p7, :cond_1
move p2, v0
:cond_1
and-int/lit8 p7, p6, 0x4
const/4 v0, 0x0
if-eqz p7, :cond_2
move p3, v0
:cond_2
and-int/lit8 p6, p6, 0x8
if-eqz p6, :cond_3
move p4, v0
.line 81
:cond_3
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p6
.line 82
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/Canvas;->scale(FFFF)V
const/4 p1, 0x1
.line 84
:try_start_0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 86
invoke-virtual {p0, p6}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, p6}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static final withSkew(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FF",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 94
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 95
invoke-virtual {p0, p1, p2}, Landroid/graphics/Canvas;->skew(FF)V
const/4 p1, 0x1
.line 97
:try_start_0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 99
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static synthetic withSkew$default(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.locals 1
and-int/lit8 p5, p4, 0x1
const/4 v0, 0x0
if-eqz p5, :cond_0
move p1, v0
:cond_0
and-int/lit8 p4, p4, 0x2
if-eqz p4, :cond_1
move p2, v0
.line 94
:cond_1
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p4
.line 95
invoke-virtual {p0, p1, p2}, Landroid/graphics/Canvas;->skew(FF)V
const/4 p1, 0x1
.line 97
:try_start_0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 99
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static final withTranslation(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FF",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 44
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
.line 45
invoke-virtual {p0, p1, p2}, Landroid/graphics/Canvas;->translate(FF)V
const/4 p1, 0x1
.line 47
:try_start_0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 49
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method
.method public static synthetic withTranslation$default(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.locals 1
and-int/lit8 p5, p4, 0x1
const/4 v0, 0x0
if-eqz p5, :cond_0
move p1, v0
:cond_0
and-int/lit8 p4, p4, 0x2
if-eqz p4, :cond_1
move p2, v0
.line 44
:cond_1
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p4
.line 45
invoke-virtual {p0, p1, p2}, Landroid/graphics/Canvas;->translate(FF)V
const/4 p1, 0x1
.line 47
:try_start_0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
.line 49
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
return-void
:catchall_0
move-exception p2
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
invoke-static {p1}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
throw p2
.end method