Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void parseMessage(undefined4 param_1,undefined4 param_2,undefined *param_3)
- {
- int iVar1;
- uint *puVar2;
- int iVar3;
- undefined4 uVar4;
- uint uVar5;
- undefined8 uVar6;
- uint local_88;
- uint local_84;
- undefined4 local_80;
- int local_7c;
- undefined4 local_78;
- uint local_74;
- int local_70;
- int local_6c;
- undefined4 local_68;
- undefined4 local_64;
- undefined4 local_60;
- undefined4 local_5c;
- undefined4 local_58;
- undefined4 local_54;
- undefined4 local_50;
- undefined4 local_4c;
- undefined4 local_48;
- undefined4 local_44;
- undefined4 local_40;
- undefined4 local_3c;
- undefined4 local_38;
- undefined4 local_34;
- undefined4 local_30;
- undefined4 local_2c;
- uVar6 = zz_80033960_();
- iVar1 = (int)((ulonglong)uVar6 >> 0x20);
- *(undefined4 *)uVar6 = 0xffffffff;
- *param_3 = 0;
- local_68 = 0;
- local_64 = 0;
- local_60 = 0;
- local_5c = 0;
- local_58 = 0;
- local_54 = 0;
- local_50 = 0;
- local_4c = 0;
- local_48 = 0;
- local_44 = 0;
- local_40 = 0;
- local_3c = 0;
- local_38 = 0;
- local_34 = 0;
- local_30 = 0;
- local_2c = 0;
- puVar2 = (uint *)zz_8003df54_();
- uVar5 = *puVar2;
- local_74 = 0;
- iVar3 = zz_800ba4f4_(iVar1 + 4,&local_74);
- DAT_805a4a24 = iVar3;
- if (iVar3 == 0) {
- local_88 = local_74 & 0xffffff00;
- local_84 = uVar5 & 0xffffff00;
- if (local_88 == local_84) {
- *param_3 = 1;
- iVar3 = zz_800bf8c0_(iVar1 + 4,&local_68,0x40,&local_6c,&local_70);
- DAT_805a4a24 = iVar3;
- if (iVar3 == 0) {
- local_78 = 0;
- local_7c = 0;
- local_80 = 0;
- if ((((local_6c == 0) && (local_70 == 0)) &&
- (iVar3 = zz_8002caf4_(&local_68,s_ver=%x_type=%x_crc=%x_8049e7bd,&local_7c,&local_78,
- &local_80), iVar3 == 3)) && (local_7c == 2)) {
- uVar4 = 1;
- *(undefined4 *)(iVar1 + 0x108) = local_80;
- *(undefined4 *)uVar6 = local_78;
- *param_3 = 0;
- goto LAB_803f885c;
- }
- zz_803ec320_(s_msgbox:_bad_version_8049e7d3);
- }
- else {
- uVar4 = zz_803f75b0_();
- zz_803ec320_(s_msgbox:_%s_fails_(%s_:_%d)_8049e47f,s_NWC24ReadMsgText_8049e7ac,uVar4,iVar3);
- zz_803ec320_(s_msgbox:_ReadMsgText_fails_8049e7e7);
- }
- uVar4 = 0;
- }
- else {
- zz_803ec320_(s_msgbox:_message_app_id_doesn't_m_8049e778,local_74,uVar5);
- uVar4 = 0;
- }
- }
- else {
- uVar4 = zz_803f75b0_();
- zz_803ec320_(s_msgbox:_%s_fails_(%s_:_%d)_8049e47f,s_NWC24GetMsgAppId_8049e767,uVar4,iVar3);
- uVar4 = 0;
- }
- LAB_803f885c:
- zz_800339ac_(uVar4);
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement