Gamebuster

Untitled

Jan 16th, 2022 (edited)
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.09 KB | None | 0 0
  1. undefined4
  2. zz_8002caf4_(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
  3.             undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,
  4.             char *param_9,undefined4 param_10,undefined4 param_11,undefined4 param_12,
  5.             undefined4 param_13,undefined4 param_14,undefined4 param_15,undefined4 param_16)
  6.  
  7. {
  8.   bool bVar1;
  9.   ushort uVar2;
  10.   char *pcVar3;
  11.   undefined4 uVar4;
  12.   byte in_cr1;
  13.   char *local_78;
  14.   undefined4 local_74;
  15.   undefined4 local_70;
  16.   undefined4 local_6c;
  17.   undefined4 local_68;
  18.   undefined4 local_64;
  19.   undefined4 local_60;
  20.   undefined4 local_5c;
  21.   undefined8 local_58;
  22.   undefined8 local_50;
  23.   undefined8 local_48;
  24.   undefined8 local_40;
  25.   undefined8 local_38;
  26.   undefined8 local_30;
  27.   undefined8 local_28;
  28.   undefined8 local_20;
  29.   char *local_18;
  30.   undefined4 local_14;
  31.   undefined4 local_10;
  32.   undefined *local_c;
  33.   char **local_8;
  34.  
  35.   if ((bool)(in_cr1 >> 1 & 1)) {
  36.     local_58 = param_1;
  37.     local_50 = param_2;
  38.     local_48 = param_3;
  39.     local_40 = param_4;
  40.     local_38 = param_5;
  41.     local_30 = param_6;
  42.     local_28 = param_7;
  43.     local_20 = param_8;
  44.   }
  45.   local_c = &stack0x00000008;
  46.   local_8 = &local_78;
  47.   local_10 = 0x2000000;
  48.   if ((param_9 != (char *)0x0) && (pcVar3 = param_9, *param_9 != '\0')) {
  49.     do {
  50.       if (*pcVar3 == '\0') {
  51.         bVar1 = true;
  52.         goto LAB_8002cbe0;
  53.       }
  54.       if ((uint)(int)*pcVar3 < 0x100) {
  55.         uVar2 = *(ushort *)(*(int *)(PTR_DAT_804a1580 + 8) + *pcVar3 * 2) & 0x100;
  56.       }
  57.       else {
  58.         uVar2 = 0;
  59.       }
  60.       pcVar3 = pcVar3 + 1;
  61.     } while (uVar2 != 0);
  62.     bVar1 = false;
  63. LAB_8002cbe0:
  64.     if (!bVar1) {
  65.       local_14 = 0;
  66.       local_78 = param_9;
  67.       local_74 = param_10;
  68.       local_70 = param_11;
  69.       local_6c = param_12;
  70.       local_68 = param_13;
  71.       local_64 = param_14;
  72.       local_60 = param_15;
  73.       local_5c = param_16;
  74.       local_18 = param_9;
  75.       uVar4 = zz_8002bdd4_(zz_8002ca6c_,&local_18,param_10,&local_10,0);
  76.       return uVar4;
  77.     }
  78.   }
  79.   return 0xffffffff;
  80. }
Add Comment
Please, Sign In to add comment