• Home
  • Category: Hacking

Removing Admob ads from Angry Birds

For academic interest only! The author does not support removing ads or decompiling commercial apps!

Both files are similiar and are on different locations[/code]
File#1: R$styleable.smali[/code]

.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 82
    const/4 v0, 0x5

    new-array v0, v0, [I

    fill-array-data v0, :array_0

    #sput-object v0, Lcom/rovio/angrybirdsseasons/R$styleable;->com_admob_android_ads_AdView:[I

.end method

File#2: R$styleable.smali[/code]

# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 82
    const/4 v0, 0x5

    new-array v0, v0, [I

    fill-array-data v0, :array_0

    #sput-object v0, Lcom/rovio/ka3d/R$styleable;->com_admob_android_ads_AdView:[I

    return-void

    nop

    :array_0
    .array-data 0x4
        0x0t 0x0t 0x1t 0x7ft
        0x1t 0x0t 0x1t 0x7ft
        0x2t 0x0t 0x1t 0x7ft
        0x3t 0x0t 0x1t 0x7ft
        0x4t 0x0t 0x1t 0x7ft
    .end array-data
.end method

Note the comment tag.[/code]