Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int __cdecl sub_100A3EB0(int a1)
- {
- char *v1; // eax@2
- char *v2; // eax@5
- int v3; // edx@5
- char v5; // [sp-20h] [bp-19Ch]@3
- signed int v6; // [sp-Ch] [bp-188h]@7
- int v7; // [sp-8h] [bp-184h]@7
- unsigned int v8; // [sp-4h] [bp-180h]@1
- int v9; // [sp+Ch] [bp-170h]@1
- char *v10; // [sp+14h] [bp-168h]@6
- char *v11; // [sp+20h] [bp-15Ch]@4
- char *v12; // [sp+2Ch] [bp-150h]@3
- char v13; // [sp+38h] [bp-144h]@2
- char v14; // [sp+5Ch] [bp-120h]@2
- char v15; // [sp+83h] [bp-F9h]@2
- char v16; // [sp+14Ch] [bp-30h]@2
- unsigned int v17; // [sp+16Ch] [bp-10h]@1
- int v18; // [sp+178h] [bp-4h]@2
- int savedregs; // [sp+17Ch] [bp+0h]@1
- memset(&v9, 0xCCu, 0x164u);
- v17 = (unsigned int)&savedregs ^ __security_cookie;
- v8 = (unsigned int)&savedregs ^ __security_cookie;
- sub_100414BE(&unk_100E311C);
- if ( sub_10040794(a1, -1) == 4 )
- {
- v1 = (char *)sub_100401AE(a1, -1, 0);
- sub_10040244(&v16, v1);
- v18 = 0;
- sub_10040244(&v14, "NzEzOQ==");
- LOBYTE(v18) = 1;
- v9 = sub_100400FA(&v13, &v14);
- v15 = sub_10041720(&v16, v9);
- sub_1004131F(&v13);
- LOBYTE(v18) = 0;
- sub_1004131F(&v14);
- if ( v15 )
- {
- dword_100DB954(3, "Developer mode activated!");
- sub_1004153B(v8);
- v12 = &v5;
- sub_10040244(
- &v5,
- "game.StarterGui:SetCore('SendNotification', {Duration = 3; Title='Robot'; Text='Developer mode activated!'})");
- sub_100947D0(v5);
- }
- else
- {
- v11 = &v5;
- sub_10040244(&v5, "game.Players.LocalPlayer:Kick('Wrong password...')");
- sub_100947D0(v5);
- }
- v2 = (char *)sub_100406BD(&v16);
- sub_100409B0(a1, v2);
- v18 = -1;
- sub_1004131F(&v16);
- }
- else
- {
- v10 = &v5;
- sub_10040244(&v5, "game.Players.LocalPlayer:Kick('Wrong password...')");
- sub_100947D0(v5);
- }
- v7 = v3;
- v6 = 1;
- sub_10041635(&savedregs, &dword_100A4078);
- sub_100412AC();
- return sub_1004153B(savedregs);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement