[Sprint HTC EVO 4G LTE] Rydah:
Thanks! It is a .register.

Here is the stock code:

.method public SetAlarmTurnOffWifiDataLink(Landroid/content/Context;I)V
[COLOR="Red"].registers 12[/COLOR]
.parameter "context"
.parameter "SettingTime"

.prologue
const/4 v8, 0x0

.line 1198
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

move-result-wide v2

.line 1200
.local v2, now:J
const-string v5, "alarm"

invoke-virtual {p1, v5}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

move-result-object v0

check-cast v0, Landroid/app/AlarmManager;

.line 1202
.local v0, alarmManager:Landroid/app/AlarmManager;
new-instance v1, Landroid/content/Intent;

iget-object v5, p0, Lcom/android/settings/framework/activity/powersaver/SmartSyncDataLinkTurnOffReceiver;->SMARTSYNC_AP_TURN_OFF_WIFI:Ljava/lang/String;

const/4 v6, 0x0

const-class v7, Lcom/android/settings/framework/activity/powersaver/SmartSyncDataLinkTurnOffReceiver;

invoke-direct {v1, v5, v6, p1, v7}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V

.line 1204
.local v1, intent_wifi:Landroid/content/Intent;
invoke-static {p1, v8, v1, v8}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

move-result-object v4

.line 1205
.local v4, pendingIntent:Landroid/app/PendingIntent;
mul-int/lit16 v5, p2, 0x3e8

mul-int/lit8 v5, v5, 0x3c

int-to-long v5, v5

add-long/2addr v5, v2

invoke-virtual {v0, v8, v5, v6, v4}, Landroid/app/AlarmManager;->set(IJLandroid/app/PendingIntent;)V

.line 1207
sput-object v4, Lcom/android/settings/framework/activity/powersaver/SmartSyncDataLinkTurnOffReceiver;->mPendingIntent_APTurnOffWifi:Landroid/app/PendingIntent;

.line 1209
[COLOR="Red"]return-void[/COLOR]
.end method

Would this work:

.method public SetAlarmTurnOffWifiDataLink(Landroid/content/Context;I)V
.registers 12
[COLOR="Red"]goto :goto_0[/COLOR]
.parameter "context"
.parameter "SettingTime"

.prologue
const/4 v8, 0x0

.line 1198
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

move-result-wide v2

.line 1200
.local v2, now:J
const-string v5, "alarm"

invoke-virtual {p1, v5}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

move-result-object v0

check-cast v0, Landroid/app/AlarmManager;

.line 1202
.local v0, alarmManager:Landroid/app/AlarmManager;
new-instance v1, Landroid/content/Intent;

iget-object v5, p0, Lcom/android/settings/framework/activity/powersaver/SmartSyncDataLinkTurnOffReceiver;->SMARTSYNC_AP_TURN_OFF_WIFI:Ljava/lang/String;

const/4 v6, 0x0

const-class v7, Lcom/android/settings/framework/activity/powersaver/SmartSyncDataLinkTurnOffReceiver;

invoke-direct {v1, v5, v6, p1, v7}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V

.line 1204
.local v1, intent_wifi:Landroid/content/Intent;
invoke-static {p1, v8, v1, v8}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

move-result-object v4

.line 1205
.local v4, pendingIntent:Landroid/app/PendingIntent;
mul-int/lit16 v5, p2, 0x3e8

mul-int/lit8 v5, v5, 0x3c

int-to-long v5, v5

add-long/2addr v5, v2

invoke-virtual {v0, v8, v5, v6, v4}, Landroid/app/AlarmManager;->set(IJLandroid/app/PendingIntent;)V

.line 1207
sput-object v4, Lcom/android/settings/framework/activity/powersaver/SmartSyncDataLinkTurnOffReceiver;->mPendingIntent_APTurnOffWifi:Landroid/app/PendingIntent;

.line 1209
[COLOR="Red"]:goto_0[/COLOR]
return-void
.end method

or would i have to change .register to .local?