/* 
 * Script decompiled by jagdecs2 v3.2
 * Decompiler opts:
 * --------------
 * t1LocalAnalyzer:true
 * t2LocalAnalyzer:true
 * beautifier:true
 * --------------
 * Made by mgi125 ;)
 */


void script_2952(int a0,int a1,int a2) {
	object v14 = "";
	object v15 = "";
	switch (a2) {
		case 3:
			object v1 = "accountappeal";
			object v8 = "passwordchoice.ws";
			cs2method_20390(new function<script_722>(object a0) {
				cs2_configs['cfg2576'] = "";
				script_7722(a0);
				return;
			}, (string)v8, "s", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 4:
			object v5 = "www";
			object v7 = "account_settings.ws?mod=messages";
			cs2method_20390(new function<script_2931>(int a0,object a1,object a2) {
				script_2932(a0, a2, a1);
				return;
			}, (string)v5, (string)v7, 1, "ss1", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 11:
			object v2 = "www";
			object v0 = "account_settings.ws?mod=security";
			cs2method_20390(new function<script_2931>(int a0,object a1,object a2) {
				script_2932(a0, a2, a1);
				return;
			}, (string)v2, (string)v0, 1, "ss1", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 18:
			object v11 = "accountappeal";
			object v9 = "lockchoice.ws";
			cs2method_20390(new function<script_6660>(object a0) {
				script_7722(a0);
				return;
			}, (string)v9, "s", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 30:
			object v6 = "dob";
			object v4 = "set_members_dob.ws";
			cs2method_20390(new function<script_2931>(object a0,int a1,object a2) {
				script_2932(a1, a2, a0);
				return;
			}, (string)v6, (string)v4, 1, "ss1", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 31:
			object v12 = "www";
			object v13 = "account_settings.ws?mod=charname";
			cs2method_20390(new function<script_2931>(object a0,int a1,object a2) {
				script_2932(a1, a0, a2);
				return;
			}, (string)v12, (string)v13, 1, "ss1", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 32:
		case 40:
		case 12:
		case 19:
			object v3 = "dob";
			object v10 = "set_members_dob.ws";
			cs2method_20390(new function<script_2931>(int a0,object a1,object a2) {
				script_2932(a0, a1, a2);
				return;
			}, (string)v3, (string)v10, 1, "ss1", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 21:
			cs2method_20390(new function<script_3234>() {
				script_3235();
				return;
			}, "", new WidgetPointer(a1));
			cs2method_20390(new function<none>() {
			}, "", new WidgetPointer(a0));
			break;
		case 53:
			cs2method_20390(new function<script_6717>() {
				script_6718();
				return;
			}, "", new WidgetPointer(a1));
			cs2method_20390(new function<script_6717>() {
				script_6718();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 49:
		case 52:
			cs2method_20390(new function<script_6713>() {
				if (cs2method_10060(cs2_configs['cfg2016'], 3000) <= cs2method_10133()) {
					cs2_configs['cfg2016'] = cs2method_10133();
					cs2method_10212();
					cs2method_10026(39059623, "Another email has been sent to your registered address. Please follow the link to authorise your current device.");
				} else {
					cs2method_10026(39059623, "An email was sent to your registered address recently. Please wait a minute before trying to resend.");
				}
				return;
			}, "", new WidgetPointer(a1));
			cs2method_20390(new function<script_6714>() {
				int v0 = 39059523;
				if (cs2method_10135() == 1) {
					v0 = 63897621;
				}
				cs2method_20162(new function<none>() {
				}, "", new WidgetPointer(v0));
				cs2method_11143();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 156:
			cs2method_20390(new function<script_9063>() {
				script_2934("forgotusername.ws", 1);
				return;
			}, "", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
			break;
		case 29:
			cs2method_20390(new function<script_4253>() {
				cs2method_10917(1, "billing_core", "popupredirect.ws?externalName=rsprem13gb", "packagegroupredirect.ws?value=rsprem13gb");
				return;
			}, "", new WidgetPointer(a1));
			cs2method_20390(new function<none>() {
			}, "", new WidgetPointer(a0));
			break;
		default:
			cs2method_20390(new function<none>() {
			}, "", new WidgetPointer(a1));
			cs2method_20390(new function<script_2953>() {
				script_2954();
				return;
			}, "", new WidgetPointer(a0));
	}
	return;
}
