
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

operatorT i386_operator(char *name,uint operands,char *pc)

{
  char cVar1;
  int iVar2;
  int iVar3;
  char *pcVar4;
  operatorT oVar5;
  anon_struct_12_3_891aefee *paVar6;
  anon_struct_16_3_5c8c3acb *paVar7;
  int iVar8;
  bfd_reloc_code_real *in_stack_ffffffc4;
  int *in_stack_ffffffc8;
  i386_operand_type *in_stack_ffffffcc;
  int adjust;
  undefined4 uStack_14;
  
  oVar5 = O_absent;
  uStack_14 = 0x5097e;
  if (intel_syntax != 0) {
    if (name != (char *)0x0) {
      paVar6 = i386_operators;
      iVar8 = 0;
      pcVar4 = "and";
      do {
        paVar6 = paVar6 + 1;
        iVar2 = strcasecmp(pcVar4,name);
        if (iVar2 == 0) {
          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))
          {
            return O_illegal;
          }
          return i386_operators[iVar8].op;
        }
        pcVar4 = paVar6->name;
        iVar8 = iVar8 + 1;
      } while (pcVar4 != (char *)0x0);
      paVar7 = i386_types;
      iVar8 = 0;
      pcVar4 = "byte";
      while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {
        pcVar4 = paVar7->name;
        iVar8 = iVar8 + 1;
        if (pcVar4 == (char *)0x0) {
          return O_absent;
        }
      }
      if (*pc != ' ') {
        return O_absent;
      }
      input_line_pointer = input_line_pointer + 1;
      cVar1 = get_symbol_name((char **)&adjust);
      iVar2 = adjust;
      iVar3 = strcasecmp((char *)adjust,"ptr");
      if (iVar3 == 0) {
        *(char *)(iVar2 + -1) = *pc;
        *pc = cVar1;
        if ((intel_syntax < 1) && (operands == 1)) {
          return i386_types[iVar8].op;
        }
        return O_illegal;
      }
      restore_line_pointer(cVar1);
      input_line_pointer = (char *)(adjust + -1);
      return O_absent;
    }
    oVar5 = O_illegal;
    if (operands == 2) {
      cVar1 = *input_line_pointer;
      if (cVar1 == '@') {
        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {
          adjust = 0;
          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);
          if (pcVar4 != (char *)0x0) {
            oVar5 = O_add;
            free(pcVar4);
            pcVar4 = input_line_pointer + 1;
            *input_line_pointer = '+';
            input_line_pointer = pcVar4;
            memset(input_line_pointer,0x30,adjust - 1);
            input_line_pointer[adjust + -1] = ' ';
          }
        }
      }
      else if (cVar1 == '[') {
        input_line_pointer = input_line_pointer + 1;
        oVar5 = O_index;
      }
      else if (cVar1 == ':') {
        input_line_pointer = input_line_pointer + 1;
        oVar5 = O_md2;
      }
    }
  }
  return oVar5;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_00050970(char *param_1,int param_2,char *param_3)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  void *__ptr;
  undefined4 uVar4;
  undefined **ppuVar5;
  int iVar6;
  char *local_20 [3];
  undefined4 uStack_14;
  
  uVar4 = 1;
  uStack_14 = 0x5097e;
  if (DAT_00083ed0 != 0) {
    if (param_1 != (char *)0x0) {
      iVar6 = 0;
      pcVar3 = "and";
      ppuVar5 = &PTR_DAT_00078e6c;
      do {
        iVar2 = strcasecmp(pcVar3,param_1);
        if (iVar2 == 0) {
          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {
            return 0;
          }
          return (&DAT_00078e64)[iVar6 * 3];
        }
        pcVar3 = *ppuVar5;
        iVar6 = iVar6 + 1;
        ppuVar5 = ppuVar5 + 3;
      } while (pcVar3 != (char *)0x0);
      iVar6 = 0;
      pcVar3 = "byte";
      ppuVar5 = &PTR_s_word_00078d90;
      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {
        pcVar3 = *ppuVar5;
        iVar6 = iVar6 + 1;
        ppuVar5 = ppuVar5 + 4;
        if (pcVar3 == (char *)0x0) {
          return 1;
        }
      }
      if (*param_3 != ' ') {
        return 1;
      }
      DAT_000848f0 = DAT_000848f0 + 1;
      cVar1 = FUN_00021370(local_20);
      pcVar3 = local_20[0];
      iVar2 = strcasecmp(local_20[0],"ptr");
      if (iVar2 == 0) {
        pcVar3[-1] = *param_3;
        *param_3 = cVar1;
        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {
          return (&DAT_00078d84)[iVar6 * 4];
        }
        return 0;
      }
      FUN_000230a0((int)cVar1);
      DAT_000848f0 = local_20[0] + -1;
      return 1;
    }
    uVar4 = 0;
    if (param_2 == 2) {
      cVar1 = *DAT_000848f0;
      if (cVar1 == '@') {
        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {
          local_20[0] = (char *)0x0;
          __ptr = (void *)FUN_00042a00();
          if (__ptr != (void *)0x0) {
            uVar4 = 0x13;
            free(__ptr);
            pcVar3 = DAT_000848f0 + 1;
            *DAT_000848f0 = '+';
            DAT_000848f0 = pcVar3;
            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));
            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';
          }
        }
      }
      else if (cVar1 == '[') {
        DAT_000848f0 = DAT_000848f0 + 1;
        uVar4 = 0x1d;
      }
      else if (cVar1 == ':') {
        DAT_000848f0 = DAT_000848f0 + 1;
        uVar4 = 0x1f;
      }
    }
  }
  return uVar4;
}


PUSH EBP
MOV EBP,0x1
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016020
ADD EBX,0x2a682
SUB ESP,0x2c
MOV EDI,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [EBX + 0x8ed0]
TEST ESI,ESI
JZ 0x000509ee
TEST EDI,EDI
JZ 0x00050a50
LEA EBP,[EBX + 0xffffde6c]
XOR ESI,ESI
LEA EAX,[EBX + 0xfffe1fa1]
JMP 0x000509bd
ADD EBP,0xc
MOV EAX,dword ptr [EBP + -0xc]
ADD ESI,0x1
TEST EAX,EAX
JZ 0x00050a00
SUB ESP,0x8
PUSH EDI
PUSH EAX
CALL 0x00014460
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000509b0
LEA EAX,[ESI + ESI*0x2]
MOV EAX,dword ptr [EBX + EAX*0x4 + 0xffffde68]
TEST EAX,EAX
JZ 0x000509e4
XOR EBP,EBP
CMP EAX,dword ptr [ESP + 0x44]
JNZ 0x000509ee
LEA EAX,[ESI + ESI*0x2]
MOV EBP,dword ptr [EBX + EAX*0x4 + 0xffffde64]
ADD ESP,0x2c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBP,[EBX + 0xffffdd90]
XOR ESI,ESI
LEA EAX,[EBX + 0xfffe152e]
JMP 0x00050a1d
ADD EBP,0x10
MOV EAX,dword ptr [EBP + -0x10]
ADD ESI,0x1
TEST EAX,EAX
JZ 0x00050a37
SUB ESP,0x8
PUSH EDI
PUSH EAX
CALL 0x00014460
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00050a10
MOV EAX,dword ptr [ESP + 0x48]
CMP byte ptr [EAX],0x20
JZ 0x00050a8b
ADD ESP,0x2c
MOV EBP,0x1
POP EBX
MOV EAX,EBP
POP ESI
POP EDI
POP EBP
RET
XOR EBP,EBP
CMP dword ptr [ESP + 0x44],0x2
JNZ 0x000509ee
LEA ESI,[EBX + 0x98f0]
MOV EDX,dword ptr [ESI]
MOVZX EAX,byte ptr [EDX]
CMP AL,0x40
JZ 0x00050b0b
CMP AL,0x5b
JZ 0x00050afc
CMP AL,0x3a
JNZ 0x000509ee
ADD EDX,0x1
MOV EBP,0x1f
MOV dword ptr [ESI],EDX
JMP 0x000509ee
SUB ESP,0xc
LEA EBP,[EBX + 0x98f0]
LEA EAX,[ESP + 0x28]
ADD dword ptr [EBP],0x1
PUSH EAX
CALL 0x00021370
MOV EDI,dword ptr [ESP + 0x2c]
MOV byte ptr [ESP + 0x1f],AL
LEA EAX,[EBX + 0xfffe51a4]
POP EDX
POP ECX
PUSH EAX
PUSH EDI
CALL 0x00014460
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00050b8d
MOV ECX,dword ptr [ESP + 0x48]
MOVZX EAX,byte ptr [ECX]
MOV byte ptr [EDI + -0x1],AL
MOVZX EAX,byte ptr [ESP + 0xf]
MOV byte ptr [ECX],AL
MOV EAX,dword ptr [EBX + 0x8ed0]
TEST EAX,EAX
JG 0x00050ae6
CMP dword ptr [ESP + 0x44],0x1
JZ 0x00050aed
XOR EBP,EBP
JMP 0x000509ee
SHL ESI,0x4
MOV EBP,dword ptr [EBX + ESI*0x1 + 0xffffdd84]
JMP 0x000509ee
ADD EDX,0x1
MOV EBP,0x1d
MOV dword ptr [ESI],EDX
JMP 0x000509ee
MOV EAX,dword ptr [EBX + 0x558]
TEST EAX,EAX
JS 0x000509ee
ADD EAX,0x30
LEA ECX,[EBX + 0x8f60]
CMP dword ptr [ECX + EAX*0x4],0x47
JNZ 0x000509ee
LEA EAX,[ECX + EAX*0x4]
LEA EDX,[ESP + 0x1c]
MOV dword ptr [ESP + 0x1c],0x0
LEA ECX,[EBX + 0x8e3c]
CALL 0x00042a00
TEST EAX,EAX
JZ 0x000509ee
SUB ESP,0xc
MOV EBP,0x13
PUSH EAX
CALL 0x00014780
MOV EAX,dword ptr [ESI]
ADD ESP,0xc
LEA EDX,[EAX + 0x1]
MOV dword ptr [ESI],EDX
MOV byte ptr [EAX],0x2b
MOV EAX,dword ptr [ESP + 0x20]
SUB EAX,0x1
PUSH EAX
PUSH 0x30
PUSH dword ptr [ESI]
CALL 0x000144a0
MOV EAX,dword ptr [ESP + 0x2c]
MOV EDX,dword ptr [ESI]
ADD ESP,0x10
MOV byte ptr [EDX + EAX*0x1 + -0x1],0x20
JMP 0x000509ee
SUB ESP,0xc
MOVSX EDI,byte ptr [ESP + 0x1b]
PUSH EDI
CALL 0x000230a0
MOV EAX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
SUB EAX,0x1
MOV dword ptr [EBP],EAX
MOV EBP,0x1
JMP 0x000509ee
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00050970(char *param_1,int param_2,char *param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  int iVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uVar4 = 1;\n  uStack_14 = 0x5097e;\n  if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }\n  return uVar4;\n}\n\n" comment (function_definition "undefined4 FUN_00050970(char *param_1,int param_2,char *param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  int iVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uVar4 = 1;\n  uStack_14 = 0x5097e;\n  if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00050970(char *param_1,int param_2,char *param_3)" identifier (parameter_list "(char *param_1,int param_2,char *param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  int iVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uVar4 = 1;\n  uStack_14 = 0x5097e;\n  if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }\n  return uVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x5097e;" (assignment_expression "uStack_14 = 0x5097e" identifier = number_literal) ;) (if_statement "if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }" if (parenthesized_expression "(DAT_00083ed0 != 0)" ( (binary_expression "DAT_00083ed0 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }" { (if_statement "if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }" if (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = "and";" (assignment_expression "pcVar3 = "and"" identifier = (string_literal ""and"" " string_content ")) ;) (expression_statement "ppuVar5 = &PTR_DAT_00078e6c;" (assignment_expression "ppuVar5 = &PTR_DAT_00078e6c" identifier = (pointer_expression "&PTR_DAT_00078e6c" & identifier)) ;) (do_statement "do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);" do (compound_statement "{\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      }" { (expression_statement "iVar2 = strcasecmp(pcVar3,param_1);" (assignment_expression "iVar2 = strcasecmp(pcVar3,param_1)" identifier = (call_expression "strcasecmp(pcVar3,param_1)" identifier (argument_list "(pcVar3,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }" { (if_statement "if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }" if (parenthesized_expression "(((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2))" ( (binary_expression "((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)" (parenthesized_expression "((&DAT_00078e68)[iVar6 * 3] != 0)" ( (binary_expression "(&DAT_00078e68)[iVar6 * 3] != 0" (subscript_expression "(&DAT_00078e68)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e68)" ( (pointer_expression "&DAT_00078e68" & identifier) )) [ (binary_expression "iVar6 * 3" identifier * number_literal) ]) != number_literal) )) && (parenthesized_expression "((&DAT_00078e68)[iVar6 * 3] != param_2)" ( (binary_expression "(&DAT_00078e68)[iVar6 * 3] != param_2" (subscript_expression "(&DAT_00078e68)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e68)" ( (pointer_expression "&DAT_00078e68" & identifier) )) [ (binary_expression "iVar6 * 3" identifier * number_literal) ]) != identifier) ))) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return (&DAT_00078e64)[iVar6 * 3];" return (subscript_expression "(&DAT_00078e64)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e64)" ( (pointer_expression "&DAT_00078e64" & identifier) )) [ (binary_expression "iVar6 * 3" identifier * number_literal) ]) ;) })) (expression_statement "pcVar3 = *ppuVar5;" (assignment_expression "pcVar3 = *ppuVar5" identifier = (pointer_expression "*ppuVar5" * identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 3;" (assignment_expression "ppuVar5 = ppuVar5 + 3" identifier = (binary_expression "ppuVar5 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = "byte";" (assignment_expression "pcVar3 = "byte"" identifier = (string_literal ""byte"" " string_content ")) ;) (expression_statement "ppuVar5 = &PTR_s_word_00078d90;" (assignment_expression "ppuVar5 = &PTR_s_word_00078d90" identifier = (pointer_expression "&PTR_s_word_00078d90" & identifier)) ;) (while_statement "while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }" while (parenthesized_expression "(iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0)" ( (comma_expression "iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0" (assignment_expression "iVar2 = strcasecmp(pcVar3,param_1)" identifier = (call_expression "strcasecmp(pcVar3,param_1)" identifier (argument_list "(pcVar3,param_1)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }" { (expression_statement "pcVar3 = *ppuVar5;" (assignment_expression "pcVar3 = *ppuVar5" identifier = (pointer_expression "*ppuVar5" * identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 4;" (assignment_expression "ppuVar5 = ppuVar5 + 4" identifier = (binary_expression "ppuVar5 + 4" identifier + number_literal)) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n          return 1;\n        }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) (if_statement "if (*param_3 != ' ') {\n        return 1;\n      }" if (parenthesized_expression "(*param_3 != ' ')" ( (binary_expression "*param_3 != ' '" (pointer_expression "*param_3" * identifier) != (char_literal "' '" ' character ')) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = FUN_00021370(local_20);" (assignment_expression "cVar1 = FUN_00021370(local_20)" identifier = (call_expression "FUN_00021370(local_20)" identifier (argument_list "(local_20)" ( identifier )))) ;) (expression_statement "pcVar3 = local_20[0];" (assignment_expression "pcVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = strcasecmp(local_20[0],"ptr");" (assignment_expression "iVar2 = strcasecmp(local_20[0],"ptr")" identifier = (call_expression "strcasecmp(local_20[0],"ptr")" identifier (argument_list "(local_20[0],"ptr")" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) , (string_literal ""ptr"" " string_content ") )))) ;) (if_statement "if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }" { (expression_statement "pcVar3[-1] = *param_3;" (assignment_expression "pcVar3[-1] = *param_3" (subscript_expression "pcVar3[-1]" identifier [ number_literal ]) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = cVar1;" (assignment_expression "*param_3 = cVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (if_statement "if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }" if (parenthesized_expression "((DAT_00083ed0 < 1) && (param_2 == 1))" ( (binary_expression "(DAT_00083ed0 < 1) && (param_2 == 1)" (parenthesized_expression "(DAT_00083ed0 < 1)" ( (binary_expression "DAT_00083ed0 < 1" identifier < number_literal) )) && (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) ))) )) (compound_statement "{\n          return (&DAT_00078d84)[iVar6 * 4];\n        }" { (return_statement "return (&DAT_00078d84)[iVar6 * 4];" return (subscript_expression "(&DAT_00078d84)[iVar6 * 4]" (parenthesized_expression "(&DAT_00078d84)" ( (pointer_expression "&DAT_00078d84" & identifier) )) [ (binary_expression "iVar6 * 4" identifier * number_literal) ]) ;) })) (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_000230a0((int)cVar1);" (call_expression "FUN_000230a0((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "DAT_000848f0 = local_20[0] + -1;" (assignment_expression "DAT_000848f0 = local_20[0] + -1" identifier = (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }" { (expression_statement "cVar1 = *DAT_000848f0;" (assignment_expression "cVar1 = *DAT_000848f0" identifier = (pointer_expression "*DAT_000848f0" * identifier)) ;) (if_statement "if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" if (parenthesized_expression "(cVar1 == '@')" ( (binary_expression "cVar1 == '@'" identifier == (char_literal "'@'" ' character ')) )) (compound_statement "{\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }" { (if_statement "if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }" if (parenthesized_expression "((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47))" ( (binary_expression "(-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)" (parenthesized_expression "(-1 < DAT_0007b558)" ( (binary_expression "-1 < DAT_0007b558" number_literal < identifier) )) && (parenthesized_expression "((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)" ( (binary_expression "(&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47" (subscript_expression "(&DAT_00083f60)[DAT_0007b558 + 0x30]" (parenthesized_expression "(&DAT_00083f60)" ( (pointer_expression "&DAT_00083f60" & identifier) )) [ (binary_expression "DAT_0007b558 + 0x30" identifier + number_literal) ]) == number_literal) ))) )) (compound_statement "{\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }" { (expression_statement "local_20[0] = (char *)0x0;" (assignment_expression "local_20[0] = (char *)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = (void *)FUN_00042a00();" (assignment_expression "__ptr = (void *)FUN_00042a00()" identifier = (cast_expression "(void *)FUN_00042a00()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00042a00()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }" { (expression_statement "uVar4 = 0x13;" (assignment_expression "uVar4 = 0x13" identifier = number_literal) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "pcVar3 = DAT_000848f0 + 1;" (assignment_expression "pcVar3 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (expression_statement "*DAT_000848f0 = '+';" (assignment_expression "*DAT_000848f0 = '+'" (pointer_expression "*DAT_000848f0" * identifier) = (char_literal "'+'" ' character ')) ;) (expression_statement "DAT_000848f0 = pcVar3;" (assignment_expression "DAT_000848f0 = pcVar3" identifier = identifier) ;) (expression_statement "memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));" (call_expression "memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1))" identifier (argument_list "(DAT_000848f0,0x30,(size_t)(local_20[0] + -1))" ( identifier , number_literal , (cast_expression "(size_t)(local_20[0] + -1)" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(local_20[0] + -1)" ( (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))) ))) ;) (expression_statement "DAT_000848f0[(int)(local_20[0] + -1)] = ' ';" (assignment_expression "DAT_000848f0[(int)(local_20[0] + -1)] = ' '" (subscript_expression "DAT_000848f0[(int)(local_20[0] + -1)]" identifier [ (cast_expression "(int)(local_20[0] + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_20[0] + -1)" ( (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))) ]) = (char_literal "' '" ' character ')) ;) })) })) }) (else_clause "else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" else (if_statement "if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" if (parenthesized_expression "(cVar1 == '[')" ( (binary_expression "cVar1 == '['" identifier == (char_literal "'['" ' character ')) )) (compound_statement "{\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }" { (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = 0x1d;" (assignment_expression "uVar4 = 0x1d" identifier = number_literal) ;) }) (else_clause "else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" else (if_statement "if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" { (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = 0x1f;" (assignment_expression "uVar4 = 0x1f" identifier = number_literal) ;) })))))) })) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\noperatorT i386_operator(char *name,uint operands,char *pc)\n\n{\n  char cVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  operatorT oVar5;\n  anon_struct_12_3_891aefee *paVar6;\n  anon_struct_16_3_5c8c3acb *paVar7;\n  int iVar8;\n  bfd_reloc_code_real *in_stack_ffffffc4;\n  int *in_stack_ffffffc8;\n  i386_operand_type *in_stack_ffffffcc;\n  int adjust;\n  undefined4 uStack_14;\n  \n  oVar5 = O_absent;\n  uStack_14 = 0x5097e;\n  if (intel_syntax != 0) {\n    if (name != (char *)0x0) {\n      paVar6 = i386_operators;\n      iVar8 = 0;\n      pcVar4 = "and";\n      do {\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      } while (pcVar4 != (char *)0x0);\n      paVar7 = i386_types;\n      iVar8 = 0;\n      pcVar4 = "byte";\n      while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }\n      if (*pc != ' ') {\n        return O_absent;\n      }\n      input_line_pointer = input_line_pointer + 1;\n      cVar1 = get_symbol_name((char **)&adjust);\n      iVar2 = adjust;\n      iVar3 = strcasecmp((char *)adjust,"ptr");\n      if (iVar3 == 0) {\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }\n      restore_line_pointer(cVar1);\n      input_line_pointer = (char *)(adjust + -1);\n      return O_absent;\n    }\n    oVar5 = O_illegal;\n    if (operands == 2) {\n      cVar1 = *input_line_pointer;\n      if (cVar1 == '@') {\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }\n    }\n  }\n  return oVar5;\n}\n\n" comment comment comment (function_definition "operatorT i386_operator(char *name,uint operands,char *pc)\n\n{\n  char cVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  operatorT oVar5;\n  anon_struct_12_3_891aefee *paVar6;\n  anon_struct_16_3_5c8c3acb *paVar7;\n  int iVar8;\n  bfd_reloc_code_real *in_stack_ffffffc4;\n  int *in_stack_ffffffc8;\n  i386_operand_type *in_stack_ffffffcc;\n  int adjust;\n  undefined4 uStack_14;\n  \n  oVar5 = O_absent;\n  uStack_14 = 0x5097e;\n  if (intel_syntax != 0) {\n    if (name != (char *)0x0) {\n      paVar6 = i386_operators;\n      iVar8 = 0;\n      pcVar4 = "and";\n      do {\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      } while (pcVar4 != (char *)0x0);\n      paVar7 = i386_types;\n      iVar8 = 0;\n      pcVar4 = "byte";\n      while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }\n      if (*pc != ' ') {\n        return O_absent;\n      }\n      input_line_pointer = input_line_pointer + 1;\n      cVar1 = get_symbol_name((char **)&adjust);\n      iVar2 = adjust;\n      iVar3 = strcasecmp((char *)adjust,"ptr");\n      if (iVar3 == 0) {\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }\n      restore_line_pointer(cVar1);\n      input_line_pointer = (char *)(adjust + -1);\n      return O_absent;\n    }\n    oVar5 = O_illegal;\n    if (operands == 2) {\n      cVar1 = *input_line_pointer;\n      if (cVar1 == '@') {\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }\n    }\n  }\n  return oVar5;\n}" type_identifier (function_declarator "i386_operator(char *name,uint operands,char *pc)" identifier (parameter_list "(char *name,uint operands,char *pc)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "uint operands" type_identifier identifier) , (parameter_declaration "char *pc" primitive_type (pointer_declarator "*pc" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  operatorT oVar5;\n  anon_struct_12_3_891aefee *paVar6;\n  anon_struct_16_3_5c8c3acb *paVar7;\n  int iVar8;\n  bfd_reloc_code_real *in_stack_ffffffc4;\n  int *in_stack_ffffffc8;\n  i386_operand_type *in_stack_ffffffcc;\n  int adjust;\n  undefined4 uStack_14;\n  \n  oVar5 = O_absent;\n  uStack_14 = 0x5097e;\n  if (intel_syntax != 0) {\n    if (name != (char *)0x0) {\n      paVar6 = i386_operators;\n      iVar8 = 0;\n      pcVar4 = "and";\n      do {\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      } while (pcVar4 != (char *)0x0);\n      paVar7 = i386_types;\n      iVar8 = 0;\n      pcVar4 = "byte";\n      while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }\n      if (*pc != ' ') {\n        return O_absent;\n      }\n      input_line_pointer = input_line_pointer + 1;\n      cVar1 = get_symbol_name((char **)&adjust);\n      iVar2 = adjust;\n      iVar3 = strcasecmp((char *)adjust,"ptr");\n      if (iVar3 == 0) {\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }\n      restore_line_pointer(cVar1);\n      input_line_pointer = (char *)(adjust + -1);\n      return O_absent;\n    }\n    oVar5 = O_illegal;\n    if (operands == 2) {\n      cVar1 = *input_line_pointer;\n      if (cVar1 == '@') {\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }\n    }\n  }\n  return oVar5;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "operatorT oVar5;" type_identifier identifier ;) (declaration "anon_struct_12_3_891aefee *paVar6;" type_identifier (pointer_declarator "*paVar6" * identifier) ;) (declaration "anon_struct_16_3_5c8c3acb *paVar7;" type_identifier (pointer_declarator "*paVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "bfd_reloc_code_real *in_stack_ffffffc4;" type_identifier (pointer_declarator "*in_stack_ffffffc4" * identifier) ;) (declaration "int *in_stack_ffffffc8;" primitive_type (pointer_declarator "*in_stack_ffffffc8" * identifier) ;) (declaration "i386_operand_type *in_stack_ffffffcc;" type_identifier (pointer_declarator "*in_stack_ffffffcc" * identifier) ;) (declaration "int adjust;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "oVar5 = O_absent;" (assignment_expression "oVar5 = O_absent" identifier = identifier) ;) (expression_statement "uStack_14 = 0x5097e;" (assignment_expression "uStack_14 = 0x5097e" identifier = number_literal) ;) (if_statement "if (intel_syntax != 0) {\n    if (name != (char *)0x0) {\n      paVar6 = i386_operators;\n      iVar8 = 0;\n      pcVar4 = "and";\n      do {\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      } while (pcVar4 != (char *)0x0);\n      paVar7 = i386_types;\n      iVar8 = 0;\n      pcVar4 = "byte";\n      while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }\n      if (*pc != ' ') {\n        return O_absent;\n      }\n      input_line_pointer = input_line_pointer + 1;\n      cVar1 = get_symbol_name((char **)&adjust);\n      iVar2 = adjust;\n      iVar3 = strcasecmp((char *)adjust,"ptr");\n      if (iVar3 == 0) {\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }\n      restore_line_pointer(cVar1);\n      input_line_pointer = (char *)(adjust + -1);\n      return O_absent;\n    }\n    oVar5 = O_illegal;\n    if (operands == 2) {\n      cVar1 = *input_line_pointer;\n      if (cVar1 == '@') {\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }\n    }\n  }" if (parenthesized_expression "(intel_syntax != 0)" ( (binary_expression "intel_syntax != 0" identifier != number_literal) )) (compound_statement "{\n    if (name != (char *)0x0) {\n      paVar6 = i386_operators;\n      iVar8 = 0;\n      pcVar4 = "and";\n      do {\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      } while (pcVar4 != (char *)0x0);\n      paVar7 = i386_types;\n      iVar8 = 0;\n      pcVar4 = "byte";\n      while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }\n      if (*pc != ' ') {\n        return O_absent;\n      }\n      input_line_pointer = input_line_pointer + 1;\n      cVar1 = get_symbol_name((char **)&adjust);\n      iVar2 = adjust;\n      iVar3 = strcasecmp((char *)adjust,"ptr");\n      if (iVar3 == 0) {\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }\n      restore_line_pointer(cVar1);\n      input_line_pointer = (char *)(adjust + -1);\n      return O_absent;\n    }\n    oVar5 = O_illegal;\n    if (operands == 2) {\n      cVar1 = *input_line_pointer;\n      if (cVar1 == '@') {\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }\n    }\n  }" { (if_statement "if (name != (char *)0x0) {\n      paVar6 = i386_operators;\n      iVar8 = 0;\n      pcVar4 = "and";\n      do {\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      } while (pcVar4 != (char *)0x0);\n      paVar7 = i386_types;\n      iVar8 = 0;\n      pcVar4 = "byte";\n      while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }\n      if (*pc != ' ') {\n        return O_absent;\n      }\n      input_line_pointer = input_line_pointer + 1;\n      cVar1 = get_symbol_name((char **)&adjust);\n      iVar2 = adjust;\n      iVar3 = strcasecmp((char *)adjust,"ptr");\n      if (iVar3 == 0) {\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }\n      restore_line_pointer(cVar1);\n      input_line_pointer = (char *)(adjust + -1);\n      return O_absent;\n    }" if (parenthesized_expression "(name != (char *)0x0)" ( (binary_expression "name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      paVar6 = i386_operators;\n      iVar8 = 0;\n      pcVar4 = "and";\n      do {\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      } while (pcVar4 != (char *)0x0);\n      paVar7 = i386_types;\n      iVar8 = 0;\n      pcVar4 = "byte";\n      while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }\n      if (*pc != ' ') {\n        return O_absent;\n      }\n      input_line_pointer = input_line_pointer + 1;\n      cVar1 = get_symbol_name((char **)&adjust);\n      iVar2 = adjust;\n      iVar3 = strcasecmp((char *)adjust,"ptr");\n      if (iVar3 == 0) {\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }\n      restore_line_pointer(cVar1);\n      input_line_pointer = (char *)(adjust + -1);\n      return O_absent;\n    }" { (expression_statement "paVar6 = i386_operators;" (assignment_expression "paVar6 = i386_operators" identifier = identifier) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = "and";" (assignment_expression "pcVar4 = "and"" identifier = (string_literal ""and"" " string_content ")) ;) (do_statement "do {\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      } while (pcVar4 != (char *)0x0);" do (compound_statement "{\n        paVar6 = paVar6 + 1;\n        iVar2 = strcasecmp(pcVar4,name);\n        if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }\n        pcVar4 = paVar6->name;\n        iVar8 = iVar8 + 1;\n      }" { (expression_statement "paVar6 = paVar6 + 1;" (assignment_expression "paVar6 = paVar6 + 1" identifier = (binary_expression "paVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = strcasecmp(pcVar4,name);" (assignment_expression "iVar2 = strcasecmp(pcVar4,name)" identifier = (call_expression "strcasecmp(pcVar4,name)" identifier (argument_list "(pcVar4,name)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }\n          return i386_operators[iVar8].op;\n        }" { (if_statement "if ((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))\n          {\n            return O_illegal;\n          }" if (parenthesized_expression "((i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands))" ( (binary_expression "(i386_operators[iVar8].operands != 0) && (i386_operators[iVar8].operands != operands)" (parenthesized_expression "(i386_operators[iVar8].operands != 0)" ( (binary_expression "i386_operators[iVar8].operands != 0" (field_expression "i386_operators[iVar8].operands" (subscript_expression "i386_operators[iVar8]" identifier [ identifier ]) . field_identifier) != number_literal) )) && (parenthesized_expression "(i386_operators[iVar8].operands != operands)" ( (binary_expression "i386_operators[iVar8].operands != operands" (field_expression "i386_operators[iVar8].operands" (subscript_expression "i386_operators[iVar8]" identifier [ identifier ]) . field_identifier) != identifier) ))) )) (compound_statement "{\n            return O_illegal;\n          }" { (return_statement "return O_illegal;" return identifier ;) })) (return_statement "return i386_operators[iVar8].op;" return (field_expression "i386_operators[iVar8].op" (subscript_expression "i386_operators[iVar8]" identifier [ identifier ]) . field_identifier) ;) })) (expression_statement "pcVar4 = paVar6->name;" (assignment_expression "pcVar4 = paVar6->name" identifier = (field_expression "paVar6->name" identifier -> field_identifier)) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "paVar7 = i386_types;" (assignment_expression "paVar7 = i386_types" identifier = identifier) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = "byte";" (assignment_expression "pcVar4 = "byte"" identifier = (string_literal ""byte"" " string_content ")) ;) (while_statement "while (paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0) {\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }" while (parenthesized_expression "(paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0)" ( (comma_expression "paVar7 = paVar7 + 1, iVar2 = strcasecmp(pcVar4,name), iVar2 != 0" (assignment_expression "paVar7 = paVar7 + 1" identifier = (binary_expression "paVar7 + 1" identifier + number_literal)) , (comma_expression "iVar2 = strcasecmp(pcVar4,name), iVar2 != 0" (assignment_expression "iVar2 = strcasecmp(pcVar4,name)" identifier = (call_expression "strcasecmp(pcVar4,name)" identifier (argument_list "(pcVar4,name)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal))) )) (compound_statement "{\n        pcVar4 = paVar7->name;\n        iVar8 = iVar8 + 1;\n        if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }\n      }" { (expression_statement "pcVar4 = paVar7->name;" (assignment_expression "pcVar4 = paVar7->name" identifier = (field_expression "paVar7->name" identifier -> field_identifier)) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n          return O_absent;\n        }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return O_absent;\n        }" { (return_statement "return O_absent;" return identifier ;) })) })) (if_statement "if (*pc != ' ') {\n        return O_absent;\n      }" if (parenthesized_expression "(*pc != ' ')" ( (binary_expression "*pc != ' '" (pointer_expression "*pc" * identifier) != (char_literal "' '" ' character ')) )) (compound_statement "{\n        return O_absent;\n      }" { (return_statement "return O_absent;" return identifier ;) })) (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = get_symbol_name((char **)&adjust);" (assignment_expression "cVar1 = get_symbol_name((char **)&adjust)" identifier = (call_expression "get_symbol_name((char **)&adjust)" identifier (argument_list "((char **)&adjust)" ( (cast_expression "(char **)&adjust" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&adjust" & identifier)) )))) ;) (expression_statement "iVar2 = adjust;" (assignment_expression "iVar2 = adjust" identifier = identifier) ;) (expression_statement "iVar3 = strcasecmp((char *)adjust,"ptr");" (assignment_expression "iVar3 = strcasecmp((char *)adjust,"ptr")" identifier = (call_expression "strcasecmp((char *)adjust,"ptr")" identifier (argument_list "((char *)adjust,"ptr")" ( (cast_expression "(char *)adjust" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""ptr"" " string_content ") )))) ;) (if_statement "if (iVar3 == 0) {\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        *(char *)(iVar2 + -1) = *pc;\n        *pc = cVar1;\n        if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }\n        return O_illegal;\n      }" { (expression_statement "*(char *)(iVar2 + -1) = *pc;" (assignment_expression "*(char *)(iVar2 + -1) = *pc" (pointer_expression "*(char *)(iVar2 + -1)" * (cast_expression "(char *)(iVar2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -1)" ( (binary_expression "iVar2 + -1" identifier + number_literal) )))) = (pointer_expression "*pc" * identifier)) ;) (expression_statement "*pc = cVar1;" (assignment_expression "*pc = cVar1" (pointer_expression "*pc" * identifier) = identifier) ;) (if_statement "if ((intel_syntax < 1) && (operands == 1)) {\n          return i386_types[iVar8].op;\n        }" if (parenthesized_expression "((intel_syntax < 1) && (operands == 1))" ( (binary_expression "(intel_syntax < 1) && (operands == 1)" (parenthesized_expression "(intel_syntax < 1)" ( (binary_expression "intel_syntax < 1" identifier < number_literal) )) && (parenthesized_expression "(operands == 1)" ( (binary_expression "operands == 1" identifier == number_literal) ))) )) (compound_statement "{\n          return i386_types[iVar8].op;\n        }" { (return_statement "return i386_types[iVar8].op;" return (field_expression "i386_types[iVar8].op" (subscript_expression "i386_types[iVar8]" identifier [ identifier ]) . field_identifier) ;) })) (return_statement "return O_illegal;" return identifier ;) })) (expression_statement "restore_line_pointer(cVar1);" (call_expression "restore_line_pointer(cVar1)" identifier (argument_list "(cVar1)" ( identifier ))) ;) (expression_statement "input_line_pointer = (char *)(adjust + -1);" (assignment_expression "input_line_pointer = (char *)(adjust + -1)" identifier = (cast_expression "(char *)(adjust + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(adjust + -1)" ( (binary_expression "adjust + -1" identifier + number_literal) )))) ;) (return_statement "return O_absent;" return identifier ;) })) (expression_statement "oVar5 = O_illegal;" (assignment_expression "oVar5 = O_illegal" identifier = identifier) ;) (if_statement "if (operands == 2) {\n      cVar1 = *input_line_pointer;\n      if (cVar1 == '@') {\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }\n    }" if (parenthesized_expression "(operands == 2)" ( (binary_expression "operands == 2" identifier == number_literal) )) (compound_statement "{\n      cVar1 = *input_line_pointer;\n      if (cVar1 == '@') {\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }\n    }" { (expression_statement "cVar1 = *input_line_pointer;" (assignment_expression "cVar1 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (if_statement "if (cVar1 == '@') {\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }" if (parenthesized_expression "(cVar1 == '@')" ( (binary_expression "cVar1 == '@'" identifier == (char_literal "'@'" ' character ')) )) (compound_statement "{\n        if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }\n      }" { (if_statement "if ((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)) {\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }" if (parenthesized_expression "((-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE))" ( (binary_expression "(-1 < this_operand) && (i.reloc[this_operand] == BFD_RELOC_NONE)" (parenthesized_expression "(-1 < this_operand)" ( (binary_expression "-1 < this_operand" number_literal < identifier) )) && (parenthesized_expression "(i.reloc[this_operand] == BFD_RELOC_NONE)" ( (binary_expression "i.reloc[this_operand] == BFD_RELOC_NONE" (subscript_expression "i.reloc[this_operand]" (field_expression "i.reloc" identifier . field_identifier) [ identifier ]) == identifier) ))) )) (compound_statement "{\n          adjust = 0;\n          pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n          if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }\n        }" { (expression_statement "adjust = 0;" (assignment_expression "adjust = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);" (assignment_expression "pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc)" identifier = (call_expression "lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc)" identifier (argument_list "(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc)" ( identifier , identifier , identifier )))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            oVar5 = O_add;\n            free(pcVar4);\n            pcVar4 = input_line_pointer + 1;\n            *input_line_pointer = '+';\n            input_line_pointer = pcVar4;\n            memset(input_line_pointer,0x30,adjust - 1);\n            input_line_pointer[adjust + -1] = ' ';\n          }" { (expression_statement "oVar5 = O_add;" (assignment_expression "oVar5 = O_add" identifier = identifier) ;) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "pcVar4 = input_line_pointer + 1;" (assignment_expression "pcVar4 = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (expression_statement "*input_line_pointer = '+';" (assignment_expression "*input_line_pointer = '+'" (pointer_expression "*input_line_pointer" * identifier) = (char_literal "'+'" ' character ')) ;) (expression_statement "input_line_pointer = pcVar4;" (assignment_expression "input_line_pointer = pcVar4" identifier = identifier) ;) (expression_statement "memset(input_line_pointer,0x30,adjust - 1);" (call_expression "memset(input_line_pointer,0x30,adjust - 1)" identifier (argument_list "(input_line_pointer,0x30,adjust - 1)" ( identifier , number_literal , (binary_expression "adjust - 1" identifier - number_literal) ))) ;) (expression_statement "input_line_pointer[adjust + -1] = ' ';" (assignment_expression "input_line_pointer[adjust + -1] = ' '" (subscript_expression "input_line_pointer[adjust + -1]" identifier [ (binary_expression "adjust + -1" identifier + number_literal) ]) = (char_literal "' '" ' character ')) ;) })) })) }) (else_clause "else if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }" else (if_statement "if (cVar1 == '[') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }\n      else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }" if (parenthesized_expression "(cVar1 == '[')" ( (binary_expression "cVar1 == '['" identifier == (char_literal "'['" ' character ')) )) (compound_statement "{\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_index;\n      }" { (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (expression_statement "oVar5 = O_index;" (assignment_expression "oVar5 = O_index" identifier = identifier) ;) }) (else_clause "else if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }" else (if_statement "if (cVar1 == ':') {\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n        input_line_pointer = input_line_pointer + 1;\n        oVar5 = O_md2;\n      }" { (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (expression_statement "oVar5 = O_md2;" (assignment_expression "oVar5 = O_md2" identifier = identifier) ;) })))))) })) })) (return_statement "return oVar5;" return identifier ;) })))
(translation_unit "undefined4 FUN_00050970(char *param_1,int param_2,char *param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  int iVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uVar4 = 1;\n  uStack_14 = 0x5097e;\n  if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_00050970(char *param_1,int param_2,char *param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  int iVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uVar4 = 1;\n  uStack_14 = 0x5097e;\n  if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00050970(char *param_1,int param_2,char *param_3)" identifier (parameter_list "(char *param_1,int param_2,char *param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  int iVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uVar4 = 1;\n  uStack_14 = 0x5097e;\n  if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }\n  return uVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x5097e;" (assignment_expression "uStack_14 = 0x5097e" identifier = number_literal) ;) (if_statement "if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }" if (parenthesized_expression "(DAT_00083ed0 != 0)" ( (binary_expression "DAT_00083ed0 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }" { (if_statement "if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }" if (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = "and";" (assignment_expression "pcVar3 = "and"" identifier = (string_literal ""and"" " string_content ")) ;) (expression_statement "ppuVar5 = &PTR_DAT_00078e6c;" (assignment_expression "ppuVar5 = &PTR_DAT_00078e6c" identifier = (pointer_expression "&PTR_DAT_00078e6c" & identifier)) ;) (do_statement "do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);" do (compound_statement "{\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      }" { (expression_statement "iVar2 = strcasecmp(pcVar3,param_1);" (assignment_expression "iVar2 = strcasecmp(pcVar3,param_1)" identifier = (call_expression "strcasecmp(pcVar3,param_1)" identifier (argument_list "(pcVar3,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }" { (if_statement "if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }" if (parenthesized_expression "(((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2))" ( (binary_expression "((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)" (parenthesized_expression "((&DAT_00078e68)[iVar6 * 3] != 0)" ( (binary_expression "(&DAT_00078e68)[iVar6 * 3] != 0" (subscript_expression "(&DAT_00078e68)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e68)" ( (pointer_expression "&DAT_00078e68" & identifier) )) [ (binary_expression "iVar6 * 3" identifier * number_literal) ]) != number_literal) )) && (parenthesized_expression "((&DAT_00078e68)[iVar6 * 3] != param_2)" ( (binary_expression "(&DAT_00078e68)[iVar6 * 3] != param_2" (subscript_expression "(&DAT_00078e68)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e68)" ( (pointer_expression "&DAT_00078e68" & identifier) )) [ (binary_expression "iVar6 * 3" identifier * number_literal) ]) != identifier) ))) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return (&DAT_00078e64)[iVar6 * 3];" return (subscript_expression "(&DAT_00078e64)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e64)" ( (pointer_expression "&DAT_00078e64" & identifier) )) [ (binary_expression "iVar6 * 3" identifier * number_literal) ]) ;) })) (expression_statement "pcVar3 = *ppuVar5;" (assignment_expression "pcVar3 = *ppuVar5" identifier = (pointer_expression "*ppuVar5" * identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 3;" (assignment_expression "ppuVar5 = ppuVar5 + 3" identifier = (binary_expression "ppuVar5 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = "byte";" (assignment_expression "pcVar3 = "byte"" identifier = (string_literal ""byte"" " string_content ")) ;) (expression_statement "ppuVar5 = &PTR_s_word_00078d90;" (assignment_expression "ppuVar5 = &PTR_s_word_00078d90" identifier = (pointer_expression "&PTR_s_word_00078d90" & identifier)) ;) (while_statement "while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }" while (parenthesized_expression "(iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0)" ( (comma_expression "iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0" (assignment_expression "iVar2 = strcasecmp(pcVar3,param_1)" identifier = (call_expression "strcasecmp(pcVar3,param_1)" identifier (argument_list "(pcVar3,param_1)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }" { (expression_statement "pcVar3 = *ppuVar5;" (assignment_expression "pcVar3 = *ppuVar5" identifier = (pointer_expression "*ppuVar5" * identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 4;" (assignment_expression "ppuVar5 = ppuVar5 + 4" identifier = (binary_expression "ppuVar5 + 4" identifier + number_literal)) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n          return 1;\n        }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) (if_statement "if (*param_3 != ' ') {\n        return 1;\n      }" if (parenthesized_expression "(*param_3 != ' ')" ( (binary_expression "*param_3 != ' '" (pointer_expression "*param_3" * identifier) != (char_literal "' '" ' character ')) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = FUN_00021370(local_20);" (assignment_expression "cVar1 = FUN_00021370(local_20)" identifier = (call_expression "FUN_00021370(local_20)" identifier (argument_list "(local_20)" ( identifier )))) ;) (expression_statement "pcVar3 = local_20[0];" (assignment_expression "pcVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = strcasecmp(local_20[0],"ptr");" (assignment_expression "iVar2 = strcasecmp(local_20[0],"ptr")" identifier = (call_expression "strcasecmp(local_20[0],"ptr")" identifier (argument_list "(local_20[0],"ptr")" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) , (string_literal ""ptr"" " string_content ") )))) ;) (if_statement "if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }" { (expression_statement "pcVar3[-1] = *param_3;" (assignment_expression "pcVar3[-1] = *param_3" (subscript_expression "pcVar3[-1]" identifier [ number_literal ]) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = cVar1;" (assignment_expression "*param_3 = cVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (if_statement "if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }" if (parenthesized_expression "((DAT_00083ed0 < 1) && (param_2 == 1))" ( (binary_expression "(DAT_00083ed0 < 1) && (param_2 == 1)" (parenthesized_expression "(DAT_00083ed0 < 1)" ( (binary_expression "DAT_00083ed0 < 1" identifier < number_literal) )) && (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) ))) )) (compound_statement "{\n          return (&DAT_00078d84)[iVar6 * 4];\n        }" { (return_statement "return (&DAT_00078d84)[iVar6 * 4];" return (subscript_expression "(&DAT_00078d84)[iVar6 * 4]" (parenthesized_expression "(&DAT_00078d84)" ( (pointer_expression "&DAT_00078d84" & identifier) )) [ (binary_expression "iVar6 * 4" identifier * number_literal) ]) ;) })) (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_000230a0((int)cVar1);" (call_expression "FUN_000230a0((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "DAT_000848f0 = local_20[0] + -1;" (assignment_expression "DAT_000848f0 = local_20[0] + -1" identifier = (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }" { (expression_statement "cVar1 = *DAT_000848f0;" (assignment_expression "cVar1 = *DAT_000848f0" identifier = (pointer_expression "*DAT_000848f0" * identifier)) ;) (if_statement "if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" if (parenthesized_expression "(cVar1 == '@')" ( (binary_expression "cVar1 == '@'" identifier == (char_literal "'@'" ' character ')) )) (compound_statement "{\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }" { (if_statement "if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }" if (parenthesized_expression "((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47))" ( (binary_expression "(-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)" (parenthesized_expression "(-1 < DAT_0007b558)" ( (binary_expression "-1 < DAT_0007b558" number_literal < identifier) )) && (parenthesized_expression "((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)" ( (binary_expression "(&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47" (subscript_expression "(&DAT_00083f60)[DAT_0007b558 + 0x30]" (parenthesized_expression "(&DAT_00083f60)" ( (pointer_expression "&DAT_00083f60" & identifier) )) [ (binary_expression "DAT_0007b558 + 0x30" identifier + number_literal) ]) == number_literal) ))) )) (compound_statement "{\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }" { (expression_statement "local_20[0] = (char *)0x0;" (assignment_expression "local_20[0] = (char *)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = (void *)FUN_00042a00();" (assignment_expression "__ptr = (void *)FUN_00042a00()" identifier = (cast_expression "(void *)FUN_00042a00()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00042a00()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }" { (expression_statement "uVar4 = 0x13;" (assignment_expression "uVar4 = 0x13" identifier = number_literal) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "pcVar3 = DAT_000848f0 + 1;" (assignment_expression "pcVar3 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (expression_statement "*DAT_000848f0 = '+';" (assignment_expression "*DAT_000848f0 = '+'" (pointer_expression "*DAT_000848f0" * identifier) = (char_literal "'+'" ' character ')) ;) (expression_statement "DAT_000848f0 = pcVar3;" (assignment_expression "DAT_000848f0 = pcVar3" identifier = identifier) ;) (expression_statement "memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));" (call_expression "memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1))" identifier (argument_list "(DAT_000848f0,0x30,(size_t)(local_20[0] + -1))" ( identifier , number_literal , (cast_expression "(size_t)(local_20[0] + -1)" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(local_20[0] + -1)" ( (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))) ))) ;) (expression_statement "DAT_000848f0[(int)(local_20[0] + -1)] = ' ';" (assignment_expression "DAT_000848f0[(int)(local_20[0] + -1)] = ' '" (subscript_expression "DAT_000848f0[(int)(local_20[0] + -1)]" identifier [ (cast_expression "(int)(local_20[0] + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_20[0] + -1)" ( (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))) ]) = (char_literal "' '" ' character ')) ;) })) })) }) (else_clause "else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" else (if_statement "if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" if (parenthesized_expression "(cVar1 == '[')" ( (binary_expression "cVar1 == '['" identifier == (char_literal "'['" ' character ')) )) (compound_statement "{\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }" { (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = 0x1d;" (assignment_expression "uVar4 = 0x1d" identifier = number_literal) ;) }) (else_clause "else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" else (if_statement "if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" { (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" identifier = (binary_expression "DAT_000848f0 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = 0x1f;" (assignment_expression "uVar4 = 0x1f" identifier = number_literal) ;) })))))) })) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) != IDENT) ))) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (return_statement return (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) ;) })) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT + LIT) ]) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))) ]) = (char_literal ' character ')) ;) })) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })))))) })) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00050970(char *param_1,int param_2,char *param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  int iVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uVar4 = 1;\n  uStack_14 = 0x5097e;\n  if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "FUN_00050970(char *param_1,int param_2,char *param_3)" (identifier "FUN_00050970") (parameter_list "(char *param_1,int param_2,char *param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  int iVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uVar4 = 1;\n  uStack_14 = 0x5097e;\n  if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }\n  return uVar4;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined **ppuVar5;" (type_identifier "undefined") (pointer_declarator "**ppuVar5" (* "*") (pointer_declarator "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char *local_20 [3];" (primitive_type "char") (pointer_declarator "*local_20 [3]" (* "*") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]"))) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "uStack_14 = 0x5097e;" (assignment_expression "uStack_14 = 0x5097e" (identifier "uStack_14") (= "=") (number_literal "0x5097e")) (; ";")) (if_statement "if (DAT_00083ed0 != 0) {\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(DAT_00083ed0 != 0)" (( "(") (binary_expression "DAT_00083ed0 != 0" (identifier "DAT_00083ed0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }\n    uVar4 = 0;\n    if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }\n  }" ({ "{") (if_statement "if (param_1 != (char *)0x0) {\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }" (if "if") (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar6 = 0;\n      pcVar3 = "and";\n      ppuVar5 = &PTR_DAT_00078e6c;\n      do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);\n      iVar6 = 0;\n      pcVar3 = "byte";\n      ppuVar5 = &PTR_s_word_00078d90;\n      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }\n      if (*param_3 != ' ') {\n        return 1;\n      }\n      DAT_000848f0 = DAT_000848f0 + 1;\n      cVar1 = FUN_00021370(local_20);\n      pcVar3 = local_20[0];\n      iVar2 = strcasecmp(local_20[0],"ptr");\n      if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }\n      FUN_000230a0((int)cVar1);\n      DAT_000848f0 = local_20[0] + -1;\n      return 1;\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar3 = "and";" (assignment_expression "pcVar3 = "and"" (identifier "pcVar3") (= "=") (string_literal ""and"" (" """) (string_content "and") (" """))) (; ";")) (expression_statement "ppuVar5 = &PTR_DAT_00078e6c;" (assignment_expression "ppuVar5 = &PTR_DAT_00078e6c" (identifier "ppuVar5") (= "=") (pointer_expression "&PTR_DAT_00078e6c" (& "&") (identifier "PTR_DAT_00078e6c"))) (; ";")) (do_statement "do {\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      } while (pcVar3 != (char *)0x0);" (do "do") (compound_statement "{\n        iVar2 = strcasecmp(pcVar3,param_1);\n        if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 3;\n      }" ({ "{") (expression_statement "iVar2 = strcasecmp(pcVar3,param_1);" (assignment_expression "iVar2 = strcasecmp(pcVar3,param_1)" (identifier "iVar2") (= "=") (call_expression "strcasecmp(pcVar3,param_1)" (identifier "strcasecmp") (argument_list "(pcVar3,param_1)" (( "(") (identifier "pcVar3") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }\n          return (&DAT_00078e64)[iVar6 * 3];\n        }" ({ "{") (if_statement "if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {\n            return 0;\n          }" (if "if") (parenthesized_expression "(((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2))" (( "(") (binary_expression "((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)" (parenthesized_expression "((&DAT_00078e68)[iVar6 * 3] != 0)" (( "(") (binary_expression "(&DAT_00078e68)[iVar6 * 3] != 0" (subscript_expression "(&DAT_00078e68)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e68)" (( "(") (pointer_expression "&DAT_00078e68" (& "&") (identifier "DAT_00078e68")) () ")")) ([ "[") (binary_expression "iVar6 * 3" (identifier "iVar6") (* "*") (number_literal "3")) (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((&DAT_00078e68)[iVar6 * 3] != param_2)" (( "(") (binary_expression "(&DAT_00078e68)[iVar6 * 3] != param_2" (subscript_expression "(&DAT_00078e68)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e68)" (( "(") (pointer_expression "&DAT_00078e68" (& "&") (identifier "DAT_00078e68")) () ")")) ([ "[") (binary_expression "iVar6 * 3" (identifier "iVar6") (* "*") (number_literal "3")) (] "]")) (!= "!=") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return (&DAT_00078e64)[iVar6 * 3];" (return "return") (subscript_expression "(&DAT_00078e64)[iVar6 * 3]" (parenthesized_expression "(&DAT_00078e64)" (( "(") (pointer_expression "&DAT_00078e64" (& "&") (identifier "DAT_00078e64")) () ")")) ([ "[") (binary_expression "iVar6 * 3" (identifier "iVar6") (* "*") (number_literal "3")) (] "]")) (; ";")) (} "}"))) (expression_statement "pcVar3 = *ppuVar5;" (assignment_expression "pcVar3 = *ppuVar5" (identifier "pcVar3") (= "=") (pointer_expression "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "ppuVar5 = ppuVar5 + 3;" (assignment_expression "ppuVar5 = ppuVar5 + 3" (identifier "ppuVar5") (= "=") (binary_expression "ppuVar5 + 3" (identifier "ppuVar5") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar3 = "byte";" (assignment_expression "pcVar3 = "byte"" (identifier "pcVar3") (= "=") (string_literal ""byte"" (" """) (string_content "byte") (" """))) (; ";")) (expression_statement "ppuVar5 = &PTR_s_word_00078d90;" (assignment_expression "ppuVar5 = &PTR_s_word_00078d90" (identifier "ppuVar5") (= "=") (pointer_expression "&PTR_s_word_00078d90" (& "&") (identifier "PTR_s_word_00078d90"))) (; ";")) (while_statement "while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }" (while "while") (parenthesized_expression "(iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0)" (( "(") (comma_expression "iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0" (assignment_expression "iVar2 = strcasecmp(pcVar3,param_1)" (identifier "iVar2") (= "=") (call_expression "strcasecmp(pcVar3,param_1)" (identifier "strcasecmp") (argument_list "(pcVar3,param_1)" (( "(") (identifier "pcVar3") (, ",") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        pcVar3 = *ppuVar5;\n        iVar6 = iVar6 + 1;\n        ppuVar5 = ppuVar5 + 4;\n        if (pcVar3 == (char *)0x0) {\n          return 1;\n        }\n      }" ({ "{") (expression_statement "pcVar3 = *ppuVar5;" (assignment_expression "pcVar3 = *ppuVar5" (identifier "pcVar3") (= "=") (pointer_expression "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "ppuVar5 = ppuVar5 + 4;" (assignment_expression "ppuVar5 = ppuVar5 + 4" (identifier "ppuVar5") (= "=") (binary_expression "ppuVar5 + 4" (identifier "ppuVar5") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (pcVar3 == (char *)0x0) {\n          return 1;\n        }" (if "if") (parenthesized_expression "(pcVar3 == (char *)0x0)" (( "(") (binary_expression "pcVar3 == (char *)0x0" (identifier "pcVar3") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (if_statement "if (*param_3 != ' ') {\n        return 1;\n      }" (if "if") (parenthesized_expression "(*param_3 != ' ')" (( "(") (binary_expression "*param_3 != ' '" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (!= "!=") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" (identifier "DAT_000848f0") (= "=") (binary_expression "DAT_000848f0 + 1" (identifier "DAT_000848f0") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = FUN_00021370(local_20);" (assignment_expression "cVar1 = FUN_00021370(local_20)" (identifier "cVar1") (= "=") (call_expression "FUN_00021370(local_20)" (identifier "FUN_00021370") (argument_list "(local_20)" (( "(") (identifier "local_20") () ")")))) (; ";")) (expression_statement "pcVar3 = local_20[0];" (assignment_expression "pcVar3 = local_20[0]" (identifier "pcVar3") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "iVar2 = strcasecmp(local_20[0],"ptr");" (assignment_expression "iVar2 = strcasecmp(local_20[0],"ptr")" (identifier "iVar2") (= "=") (call_expression "strcasecmp(local_20[0],"ptr")" (identifier "strcasecmp") (argument_list "(local_20[0],"ptr")" (( "(") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (, ",") (string_literal ""ptr"" (" """) (string_content "ptr") (" """)) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar3[-1] = *param_3;\n        *param_3 = cVar1;\n        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }\n        return 0;\n      }" ({ "{") (expression_statement "pcVar3[-1] = *param_3;" (assignment_expression "pcVar3[-1] = *param_3" (subscript_expression "pcVar3[-1]" (identifier "pcVar3") ([ "[") (number_literal "-1") (] "]")) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*param_3 = cVar1;" (assignment_expression "*param_3 = cVar1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "cVar1")) (; ";")) (if_statement "if ((DAT_00083ed0 < 1) && (param_2 == 1)) {\n          return (&DAT_00078d84)[iVar6 * 4];\n        }" (if "if") (parenthesized_expression "((DAT_00083ed0 < 1) && (param_2 == 1))" (( "(") (binary_expression "(DAT_00083ed0 < 1) && (param_2 == 1)" (parenthesized_expression "(DAT_00083ed0 < 1)" (( "(") (binary_expression "DAT_00083ed0 < 1" (identifier "DAT_00083ed0") (< "<") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n          return (&DAT_00078d84)[iVar6 * 4];\n        }" ({ "{") (return_statement "return (&DAT_00078d84)[iVar6 * 4];" (return "return") (subscript_expression "(&DAT_00078d84)[iVar6 * 4]" (parenthesized_expression "(&DAT_00078d84)" (( "(") (pointer_expression "&DAT_00078d84" (& "&") (identifier "DAT_00078d84")) () ")")) ([ "[") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4")) (] "]")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "FUN_000230a0((int)cVar1);" (call_expression "FUN_000230a0((int)cVar1)" (identifier "FUN_000230a0") (argument_list "((int)cVar1)" (( "(") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) () ")"))) (; ";")) (expression_statement "DAT_000848f0 = local_20[0] + -1;" (assignment_expression "DAT_000848f0 = local_20[0] + -1" (identifier "DAT_000848f0") (= "=") (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_2 == 2) {\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }" (if "if") (parenthesized_expression "(param_2 == 2)" (( "(") (binary_expression "param_2 == 2" (identifier "param_2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      cVar1 = *DAT_000848f0;\n      if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }\n    }" ({ "{") (expression_statement "cVar1 = *DAT_000848f0;" (assignment_expression "cVar1 = *DAT_000848f0" (identifier "cVar1") (= "=") (pointer_expression "*DAT_000848f0" (* "*") (identifier "DAT_000848f0"))) (; ";")) (if_statement "if (cVar1 == '@') {\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }\n      else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" (if "if") (parenthesized_expression "(cVar1 == '@')" (( "(") (binary_expression "cVar1 == '@'" (identifier "cVar1") (== "==") (char_literal "'@'" (' "'") (character "@") (' "'"))) () ")")) (compound_statement "{\n        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }\n      }" ({ "{") (if_statement "if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }" (if "if") (parenthesized_expression "((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47))" (( "(") (binary_expression "(-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)" (parenthesized_expression "(-1 < DAT_0007b558)" (( "(") (binary_expression "-1 < DAT_0007b558" (number_literal "-1") (< "<") (identifier "DAT_0007b558")) () ")")) (&& "&&") (parenthesized_expression "((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)" (( "(") (binary_expression "(&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47" (subscript_expression "(&DAT_00083f60)[DAT_0007b558 + 0x30]" (parenthesized_expression "(&DAT_00083f60)" (( "(") (pointer_expression "&DAT_00083f60" (& "&") (identifier "DAT_00083f60")) () ")")) ([ "[") (binary_expression "DAT_0007b558 + 0x30" (identifier "DAT_0007b558") (+ "+") (number_literal "0x30")) (] "]")) (== "==") (number_literal "0x47")) () ")"))) () ")")) (compound_statement "{\n          local_20[0] = (char *)0x0;\n          __ptr = (void *)FUN_00042a00();\n          if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }\n        }" ({ "{") (expression_statement "local_20[0] = (char *)0x0;" (assignment_expression "local_20[0] = (char *)0x0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "__ptr = (void *)FUN_00042a00();" (assignment_expression "__ptr = (void *)FUN_00042a00()" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_00042a00()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00042a00()" (identifier "FUN_00042a00") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (__ptr != (void *)0x0) {\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }" (if "if") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            uVar4 = 0x13;\n            free(__ptr);\n            pcVar3 = DAT_000848f0 + 1;\n            *DAT_000848f0 = '+';\n            DAT_000848f0 = pcVar3;\n            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));\n            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';\n          }" ({ "{") (expression_statement "uVar4 = 0x13;" (assignment_expression "uVar4 = 0x13" (identifier "uVar4") (= "=") (number_literal "0x13")) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "pcVar3 = DAT_000848f0 + 1;" (assignment_expression "pcVar3 = DAT_000848f0 + 1" (identifier "pcVar3") (= "=") (binary_expression "DAT_000848f0 + 1" (identifier "DAT_000848f0") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*DAT_000848f0 = '+';" (assignment_expression "*DAT_000848f0 = '+'" (pointer_expression "*DAT_000848f0" (* "*") (identifier "DAT_000848f0")) (= "=") (char_literal "'+'" (' "'") (character "+") (' "'"))) (; ";")) (expression_statement "DAT_000848f0 = pcVar3;" (assignment_expression "DAT_000848f0 = pcVar3" (identifier "DAT_000848f0") (= "=") (identifier "pcVar3")) (; ";")) (expression_statement "memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));" (call_expression "memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1))" (identifier "memset") (argument_list "(DAT_000848f0,0x30,(size_t)(local_20[0] + -1))" (( "(") (identifier "DAT_000848f0") (, ",") (number_literal "0x30") (, ",") (cast_expression "(size_t)(local_20[0] + -1)" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (parenthesized_expression "(local_20[0] + -1)" (( "(") (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "-1")) () ")"))) () ")"))) (; ";")) (expression_statement "DAT_000848f0[(int)(local_20[0] + -1)] = ' ';" (assignment_expression "DAT_000848f0[(int)(local_20[0] + -1)] = ' '" (subscript_expression "DAT_000848f0[(int)(local_20[0] + -1)]" (identifier "DAT_000848f0") ([ "[") (cast_expression "(int)(local_20[0] + -1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_20[0] + -1)" (( "(") (binary_expression "local_20[0] + -1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "-1")) () ")"))) (] "]")) (= "=") (char_literal "' '" (' "'") (character " ") (' "'"))) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" (else "else") (if_statement "if (cVar1 == '[') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }\n      else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" (if "if") (parenthesized_expression "(cVar1 == '[')" (( "(") (binary_expression "cVar1 == '['" (identifier "cVar1") (== "==") (char_literal "'['" (' "'") (character "[") (' "'"))) () ")")) (compound_statement "{\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1d;\n      }" ({ "{") (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" (identifier "DAT_000848f0") (= "=") (binary_expression "DAT_000848f0 + 1" (identifier "DAT_000848f0") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = 0x1d;" (assignment_expression "uVar4 = 0x1d" (identifier "uVar4") (= "=") (number_literal "0x1d")) (; ";")) (} "}")) (else_clause "else if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" (else "else") (if_statement "if (cVar1 == ':') {\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" (if "if") (parenthesized_expression "(cVar1 == ':')" (( "(") (binary_expression "cVar1 == ':'" (identifier "cVar1") (== "==") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n        DAT_000848f0 = DAT_000848f0 + 1;\n        uVar4 = 0x1f;\n      }" ({ "{") (expression_statement "DAT_000848f0 = DAT_000848f0 + 1;" (assignment_expression "DAT_000848f0 = DAT_000848f0 + 1" (identifier "DAT_000848f0") (= "=") (binary_expression "DAT_000848f0 + 1" (identifier "DAT_000848f0") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = 0x1f;" (assignment_expression "uVar4 = 0x1f" (identifier "uVar4") (= "=") (number_literal "0x1f")) (; ";")) (} "}"))))))) (} "}"))) (} "}"))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 function_1(char *var_2,type_2 var_6,char *pc)

{
  char var_15;
  int var_5;
  int var_12;
  char *var_8;
  type_1 oVar5;
  type_3 *var_3;
  type_4 *var_9;
  int var_7;
  type_5 *in_stack_ffffffc4;
  int *in_stack_ffffffc8;
  type_6 *in_stack_ffffffcc;
  int var_14;
  type_7 uStack_14;
  
  oVar5 = O_absent;
  uStack_14 = 0x5097e;
  if (var_1 != 0) {
    if (var_2 != (char *)0x0) {
      var_3 = i386_operators;
      var_7 = 0;
      var_8 = "and";
      do {
        var_3 = var_3 + 1;
        var_5 = var_4(var_8,var_2);
        if (var_5 == 0) {
          if ((i386_operators[var_7].var_6 != 0) && (i386_operators[var_7].var_6 != var_6))
          {
            return O_illegal;
          }
          return i386_operators[var_7].op;
        }
        var_8 = var_3->var_2;
        var_7 = var_7 + 1;
      } while (var_8 != (char *)0x0);
      var_9 = i386_types;
      var_7 = 0;
      var_8 = "byte";
      while (var_9 = var_9 + 1, var_5 = var_4(var_8,var_2), var_5 != 0) {
        var_8 = var_9->var_2;
        var_7 = var_7 + 1;
        if (var_8 == (char *)0x0) {
          return O_absent;
        }
      }
      if (*pc != ' ') {
        return O_absent;
      }
      var_10 = var_10 + 1;
      var_15 = var_11((char **)&var_14);
      var_5 = var_14;
      var_12 = var_4((char *)var_14,"ptr");
      if (var_12 == 0) {
        *(char *)(var_5 + -1) = *pc;
        *pc = var_15;
        if ((var_1 < 1) && (var_6 == 1)) {
          return i386_types[var_7].op;
        }
        return O_illegal;
      }
      var_13(var_15);
      var_10 = (char *)(var_14 + -1);
      return O_absent;
    }
    oVar5 = O_illegal;
    if (var_6 == 2) {
      var_15 = *var_10;
      if (var_15 == '@') {
        if ((-1 < var_16) && (i.reloc[var_16] == var_17)) {
          var_14 = 0;
          var_8 = var_18(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);
          if (var_8 != (char *)0x0) {
            oVar5 = O_add;
            var_19(var_8);
            var_8 = var_10 + 1;
            *var_10 = '+';
            var_10 = var_8;
            var_20(var_10,0x30,var_14 - 1);
            var_10[var_14 + -1] = ' ';
          }
        }
      }
      else if (var_15 == '[') {
        var_10 = var_10 + 1;
        oVar5 = O_index;
      }
      else if (var_15 == ':') {
        var_10 = var_10 + 1;
        oVar5 = O_md2;
      }
    }
  }
  return oVar5;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))) right: (identifier))))) consequence: (compound_statement (return_statement (number_literal)))) (return_statement (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (return_statement (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (char_literal (character))))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(char *param_1,int param_2,char *param_3)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  void *__ptr;
  undefined4 uVar4;
  undefined **ppuVar5;
  int iVar6;
  char *local_20 [3];
  undefined4 uStack_14;
  
  uVar4 = 1;
  uStack_14 = 0x5097e;
  if (DAT_00083ed0 != 0) {
    if (param_1 != (char *)0x0) {
      iVar6 = 0;
      pcVar3 = "and";
      ppuVar5 = &PTR_DAT_00078e6c;
      do {
        iVar2 = strcasecmp(pcVar3,param_1);
        if (iVar2 == 0) {
          if (((&DAT_00078e68)[iVar6 * 3] != 0) && ((&DAT_00078e68)[iVar6 * 3] != param_2)) {
            return 0;
          }
          return (&DAT_00078e64)[iVar6 * 3];
        }
        pcVar3 = *ppuVar5;
        iVar6 = iVar6 + 1;
        ppuVar5 = ppuVar5 + 3;
      } while (pcVar3 != (char *)0x0);
      iVar6 = 0;
      pcVar3 = "byte";
      ppuVar5 = &PTR_s_word_00078d90;
      while (iVar2 = strcasecmp(pcVar3,param_1), iVar2 != 0) {
        pcVar3 = *ppuVar5;
        iVar6 = iVar6 + 1;
        ppuVar5 = ppuVar5 + 4;
        if (pcVar3 == (char *)0x0) {
          return 1;
        }
      }
      if (*param_3 != ' ') {
        return 1;
      }
      DAT_000848f0 = DAT_000848f0 + 1;
      cVar1 = FUN_00021370(local_20);
      pcVar3 = local_20[0];
      iVar2 = strcasecmp(local_20[0],"ptr");
      if (iVar2 == 0) {
        pcVar3[-1] = *param_3;
        *param_3 = cVar1;
        if ((DAT_00083ed0 < 1) && (param_2 == 1)) {
          return (&DAT_00078d84)[iVar6 * 4];
        }
        return 0;
      }
      FUN_000230a0((int)cVar1);
      DAT_000848f0 = local_20[0] + -1;
      return 1;
    }
    uVar4 = 0;
    if (param_2 == 2) {
      cVar1 = *DAT_000848f0;
      if (cVar1 == '@') {
        if ((-1 < DAT_0007b558) && ((&DAT_00083f60)[DAT_0007b558 + 0x30] == 0x47)) {
          local_20[0] = (char *)0x0;
          __ptr = (void *)FUN_00042a00();
          if (__ptr != (void *)0x0) {
            uVar4 = 0x13;
            free(__ptr);
            pcVar3 = DAT_000848f0 + 1;
            *DAT_000848f0 = '+';
            DAT_000848f0 = pcVar3;
            memset(DAT_000848f0,0x30,(size_t)(local_20[0] + -1));
            DAT_000848f0[(int)(local_20[0] + -1)] = ' ';
          }
        }
      }
      else if (cVar1 == '[') {
        DAT_000848f0 = DAT_000848f0 + 1;
        uVar4 = 0x1d;
      }
      else if (cVar1 == ':') {
        DAT_000848f0 = DAT_000848f0 + 1;
        uVar4 = 0x1f;
      }
    }
  }
  return uVar4;
}

