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

void __regparm3 cons_worker(int nbytes,int rva)

{
  bool bVar1;
  byte bVar2;
  char cVar3;
  char *pcVar4;
  int iVar5;
  uint uVar6;
  int iVar7;
  byte *local_44;
  byte local_3d;
  expressionS exp;
  
  bVar2 = *input_line_pointer;
  uVar6 = (uint)bVar2;
  if (flag_mri == 0) {
    local_3d = 0;
    local_44 = (byte *)0x0;
  }
  else {
    cVar3 = is_end_of_line[uVar6];
    local_3d = bVar2;
    local_44 = (byte *)input_line_pointer;
    while (cVar3 == '\0') {
      local_44 = local_44 + 1;
      local_3d = *local_44;
      cVar3 = is_end_of_line[local_3d];
    }
    *local_44 = 0;
    bVar2 = *input_line_pointer;
    uVar6 = (uint)bVar2;
  }
  if (bVar2 == 0x20) {
    uVar6 = (uint)(byte)input_line_pointer[1];
    input_line_pointer = input_line_pointer + 1;
  }
  if (is_end_of_line[uVar6] == '\0') {
    if (nbytes == 0) {
      iVar5 = stdoutput->arch_info->bits_per_address;
      iVar7 = iVar5 + -1;
      iVar5 = iVar5 + 6;
      if (-1 < iVar7) {
        iVar5 = iVar7;
      }
      uVar6 = iVar5 >> 3 | iVar5 >> 4;
      nbytes = (uVar6 | (int)uVar6 >> 2) + 1;
    }
    sparc_cons_align(nbytes);
    bVar1 = false;
    pcVar4 = input_line_pointer;
    do {
      input_line_pointer = pcVar4;
      pcVar4 = sparc_cons(&exp,nbytes);
      if (rva != 0) {
        if (exp._16_1_ != '\x03') {
          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);
                    /* WARNING: Subroutine does not return */
          as_fatal(pcVar4);
        }
        exp._16_1_ = 4;
      }
      emit_expr_with_reloc(&exp,nbytes,pcVar4);
      bVar1 = (bool)(bVar1 ^ 1);
      pcVar4 = input_line_pointer + 1;
    } while (*input_line_pointer == ',');
    if (((flag_mri != 0) && (nbytes == 1)) && (bVar1)) {
      mri_pending_align = 1;
    }
  }
  demand_empty_rest_of_line();
  if (flag_mri != 0) {
    mri_comment_end((char *)local_44,(int)(char)local_3d);
    return;
  }
  return;
}



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

void __regparm3 FUN_000317b0(int param_1,int param_2)

{
  bool bVar1;
  byte bVar2;
  char cVar3;
  byte *pbVar4;
  undefined4 uVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  byte *local_44;
  byte local_3d;
  undefined1 local_30 [16];
  char local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x317bb;
  bVar2 = *DAT_00077838;
  uVar7 = (uint)bVar2;
  if (DAT_00077768 == 0) {
    local_3d = 0;
    local_44 = (byte *)0x0;
  }
  else {
    cVar3 = (&DAT_0006e2e0)[uVar7];
    local_3d = bVar2;
    local_44 = DAT_00077838;
    while (cVar3 == '\0') {
      local_44 = local_44 + 1;
      local_3d = *local_44;
      cVar3 = (&DAT_0006e2e0)[local_3d];
    }
    *local_44 = 0;
    bVar2 = *DAT_00077838;
    uVar7 = (uint)bVar2;
  }
  if (bVar2 == 0x20) {
    uVar7 = (uint)DAT_00077838[1];
    DAT_00077838 = DAT_00077838 + 1;
  }
  if ((&DAT_0006e2e0)[uVar7] == '\0') {
    if (param_1 == 0) {
      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);
      iVar8 = iVar6 + -1;
      iVar6 = iVar6 + 6;
      if (-1 < iVar8) {
        iVar6 = iVar8;
      }
      uVar7 = iVar6 >> 3 | iVar6 >> 4;
      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;
    }
    FUN_00047870(param_1);
    bVar1 = false;
    pbVar4 = DAT_00077838;
    do {
      DAT_00077838 = pbVar4;
      uVar5 = FUN_00047b50(local_30,param_1);
      if (param_2 != 0) {
        if (local_20 != '\x03') {
          uVar5 = dcgettext(0,"rva without symbol",5);
                    /* WARNING: Subroutine does not return */
          FUN_0002bd90(uVar5);
        }
        local_20 = '\x04';
      }
      FUN_000306a0(local_30,param_1,uVar5);
      bVar1 = (bool)(bVar1 ^ 1);
      pbVar4 = DAT_00077838 + 1;
    } while (*DAT_00077838 == 0x2c);
    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {
      DAT_000772f0 = 1;
    }
  }
  FUN_0002e240();
  if (DAT_00077768 != 0) {
    FUN_0002d9f0(local_44,(int)(char)local_3d);
    return;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00016040
ADD EBX,0x3c845
SUB ESP,0x4c
MOV dword ptr [ESP + 0xc],EDX
LEA ECX,[EBX + 0x9768]
LEA EDI,[EBX + 0x9838]
MOV EBP,dword ptr [ECX]
MOV EAX,dword ptr [EDI]
MOV dword ptr [ESP + 0x14],ECX
MOVZX EDX,byte ptr [EAX]
TEST EBP,EBP
JZ 0x000318d0
MOVZX ECX,DL
CMP byte ptr [EBX + ECX*0x1 + 0x2e0],0x0
JNZ 0x0003180e
LEA ECX,[EBX + 0x2e0]
LEA ESI,[ESI]
ADD EAX,0x1
MOVZX EBP,byte ptr [EAX]
CMP byte ptr [ECX + EBP*0x1],0x0
MOV EDX,EBP
JZ 0x00031800
MOV byte ptr [EAX],0x0
MOV ECX,dword ptr [EDI]
MOV byte ptr [ESP + 0x1f],DL
MOVZX EDX,byte ptr [ECX]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,ECX
CMP DL,0x20
JZ 0x000318e6
CMP byte ptr [EBX + EDX*0x1 + 0x2e0],0x0
JNZ 0x000318b1
TEST ESI,ESI
JZ 0x000318f8
SUB ESP,0xc
PUSH ESI
CALL 0x00047870
ADD ESP,0x10
MOV dword ptr [ESP + 0x10],0x0
LEA EBP,[ESP + 0x2c]
LEA ESI,[ESI]
NOP
SUB ESP,0x8
PUSH ESI
PUSH EBP
CALL 0x00047b50
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
TEST ECX,ECX
JZ 0x0003187d
CMP byte ptr [ESP + 0x3c],0x3
JNZ 0x00031967
MOV byte ptr [ESP + 0x3c],0x4
SUB ESP,0x4
PUSH EAX
PUSH ESI
PUSH EBP
CALL 0x000306a0
MOV EAX,dword ptr [EDI]
ADD dword ptr [ESP + 0x20],0x1
ADD ESP,0x10
LEA EDX,[EAX + 0x1]
MOV dword ptr [EDI],EDX
CMP byte ptr [EAX],0x2c
JZ 0x00031858
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ECX]
TEST EDX,EDX
JZ 0x000318af
CMP ESI,0x1
JZ 0x0003194d
MOV dword ptr [EDI],EAX
CALL 0x0002e240
MOV EAX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JNZ 0x00031930
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV byte ptr [ESP + 0x1f],0x0
MOV dword ptr [ESP + 0x18],0x0
CMP DL,0x20
JNZ 0x00031829
LEA EDX,[EAX + 0x1]
MOV dword ptr [EDI],EDX
MOVZX EDX,byte ptr [EAX + 0x1]
JMP 0x00031829
LEA EAX,[EBX + 0x9804]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x84]
MOV EDX,dword ptr [EAX + 0x4]
LEA EAX,[EDX + 0x6]
SUB EDX,0x1
CMOVNS EAX,EDX
MOV ESI,EAX
SAR EAX,0x4
SAR ESI,0x3
OR ESI,EAX
MOV EAX,ESI
SAR EAX,0x2
OR ESI,EAX
ADD ESI,0x1
JMP 0x0003183b
SUB ESP,0x8
MOVSX EAX,byte ptr [ESP + 0x27]
PUSH EAX
PUSH dword ptr [ESP + 0x24]
CALL 0x0002d9f0
ADD ESP,0x10
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST byte ptr [ESP + 0x10],0x1
JZ 0x000318af
MOV dword ptr [EBX + 0x92f0],0x1
JMP 0x000318af
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe635b]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
MOV dword ptr [ESP],EAX
CALL 0x0002bd90
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000317b0(int param_1,int param_2)\n\n{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *local_44;\n  byte local_3d;\n  undefined1 local_30 [16];\n  char local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x317bb;\n  bVar2 = *DAT_00077838;\n  uVar7 = (uint)bVar2;\n  if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }\n  FUN_0002e240();\n  if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000317b0(int param_1,int param_2)\n\n{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *local_44;\n  byte local_3d;\n  undefined1 local_30 [16];\n  char local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x317bb;\n  bVar2 = *DAT_00077838;\n  uVar7 = (uint)bVar2;\n  if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }\n  FUN_0002e240();\n  if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000317b0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *local_44;\n  byte local_3d;\n  undefined1 local_30 [16];\n  char local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x317bb;\n  bVar2 = *DAT_00077838;\n  uVar7 = (uint)bVar2;\n  if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }\n  FUN_0002e240();\n  if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "byte local_3d;" type_identifier identifier ;) (declaration "undefined1 local_30 [16];" type_identifier (array_declarator "local_30 [16]" identifier [ number_literal ]) ;) (declaration "char local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x317bb;" (assignment_expression "uStack_14 = 0x317bb" identifier = number_literal) ;) (expression_statement "bVar2 = *DAT_00077838;" (assignment_expression "bVar2 = *DAT_00077838" identifier = (pointer_expression "*DAT_00077838" * identifier)) ;) (expression_statement "uVar7 = (uint)bVar2;" (assignment_expression "uVar7 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" if (parenthesized_expression "(DAT_00077768 == 0)" ( (binary_expression "DAT_00077768 == 0" identifier == number_literal) )) (compound_statement "{\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }" { (expression_statement "local_3d = 0;" (assignment_expression "local_3d = 0" identifier = number_literal) ;) (expression_statement "local_44 = (byte *)0x0;" (assignment_expression "local_44 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" else (compound_statement "{\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" { (expression_statement "cVar3 = (&DAT_0006e2e0)[uVar7];" (assignment_expression "cVar3 = (&DAT_0006e2e0)[uVar7]" identifier = (subscript_expression "(&DAT_0006e2e0)[uVar7]" (parenthesized_expression "(&DAT_0006e2e0)" ( (pointer_expression "&DAT_0006e2e0" & identifier) )) [ identifier ])) ;) (expression_statement "local_3d = bVar2;" (assignment_expression "local_3d = bVar2" identifier = identifier) ;) (expression_statement "local_44 = DAT_00077838;" (assignment_expression "local_44 = DAT_00077838" identifier = identifier) ;) (while_statement "while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }" while (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }" { (expression_statement "local_44 = local_44 + 1;" (assignment_expression "local_44 = local_44 + 1" identifier = (binary_expression "local_44 + 1" identifier + number_literal)) ;) (expression_statement "local_3d = *local_44;" (assignment_expression "local_3d = *local_44" identifier = (pointer_expression "*local_44" * identifier)) ;) (expression_statement "cVar3 = (&DAT_0006e2e0)[local_3d];" (assignment_expression "cVar3 = (&DAT_0006e2e0)[local_3d]" identifier = (subscript_expression "(&DAT_0006e2e0)[local_3d]" (parenthesized_expression "(&DAT_0006e2e0)" ( (pointer_expression "&DAT_0006e2e0" & identifier) )) [ identifier ])) ;) })) (expression_statement "*local_44 = 0;" (assignment_expression "*local_44 = 0" (pointer_expression "*local_44" * identifier) = number_literal) ;) (expression_statement "bVar2 = *DAT_00077838;" (assignment_expression "bVar2 = *DAT_00077838" identifier = (pointer_expression "*DAT_00077838" * identifier)) ;) (expression_statement "uVar7 = (uint)bVar2;" (assignment_expression "uVar7 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (if_statement "if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" { (expression_statement "uVar7 = (uint)DAT_00077838[1];" (assignment_expression "uVar7 = (uint)DAT_00077838[1]" identifier = (cast_expression "(uint)DAT_00077838[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "DAT_00077838[1]" identifier [ number_literal ]))) ;) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) })) (if_statement "if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }" if (parenthesized_expression "((&DAT_0006e2e0)[uVar7] == '\0')" ( (binary_expression "(&DAT_0006e2e0)[uVar7] == '\0'" (subscript_expression "(&DAT_0006e2e0)[uVar7]" (parenthesized_expression "(&DAT_0006e2e0)" ( (pointer_expression "&DAT_0006e2e0" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }" { (if_statement "if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }" { (expression_statement "iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);" (assignment_expression "iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" identifier = (pointer_expression "*(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" * (cast_expression "(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00077804 + 0x84) + 4)" ( (binary_expression "*(int *)(DAT_00077804 + 0x84) + 4" (pointer_expression "*(int *)(DAT_00077804 + 0x84)" * (cast_expression "(int *)(DAT_00077804 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00077804 + 0x84)" ( (binary_expression "DAT_00077804 + 0x84" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar8 = iVar6 + -1;" (assignment_expression "iVar8 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 6;" (assignment_expression "iVar6 = iVar6 + 6" identifier = (binary_expression "iVar6 + 6" identifier + number_literal)) ;) (if_statement "if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n        iVar6 = iVar8;\n      }" { (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" identifier = identifier) ;) })) (expression_statement "uVar7 = iVar6 >> 3 | iVar6 >> 4;" (assignment_expression "uVar7 = iVar6 >> 3 | iVar6 >> 4" identifier = (binary_expression "iVar6 >> 3 | iVar6 >> 4" (binary_expression "iVar6 >> 3" identifier >> number_literal) | (binary_expression "iVar6 >> 4" identifier >> number_literal))) ;) (expression_statement "param_1 = (uVar7 | (int)uVar7 >> 2) + 1;" (assignment_expression "param_1 = (uVar7 | (int)uVar7 >> 2) + 1" identifier = (binary_expression "(uVar7 | (int)uVar7 >> 2) + 1" (parenthesized_expression "(uVar7 | (int)uVar7 >> 2)" ( (binary_expression "uVar7 | (int)uVar7 >> 2" identifier | (binary_expression "(int)uVar7 >> 2" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) + number_literal)) ;) })) (expression_statement "FUN_00047870(param_1);" (call_expression "FUN_00047870(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pbVar4 = DAT_00077838;" (assignment_expression "pbVar4 = DAT_00077838" identifier = identifier) ;) (do_statement "do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);" do (compound_statement "{\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    }" { (expression_statement "DAT_00077838 = pbVar4;" (assignment_expression "DAT_00077838 = pbVar4" identifier = identifier) ;) (expression_statement "uVar5 = FUN_00047b50(local_30,param_1);" (assignment_expression "uVar5 = FUN_00047b50(local_30,param_1)" identifier = (call_expression "FUN_00047b50(local_30,param_1)" identifier (argument_list "(local_30,param_1)" ( identifier , identifier )))) ;) (if_statement "if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }" { (if_statement "if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }" if (parenthesized_expression "(local_20 != '\x03')" ( (binary_expression "local_20 != '\x03'" identifier != (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_0002bd90(uVar5);\n        }" { (expression_statement "uVar5 = dcgettext(0,"rva without symbol",5);" (assignment_expression "uVar5 = dcgettext(0,"rva without symbol",5)" identifier = (call_expression "dcgettext(0,"rva without symbol",5)" identifier (argument_list "(0,"rva without symbol",5)" ( number_literal , (string_literal ""rva without symbol"" " string_content ") , number_literal )))) ;) comment (expression_statement "FUN_0002bd90(uVar5);" (call_expression "FUN_0002bd90(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) })) (expression_statement "local_20 = '\x04';" (assignment_expression "local_20 = '\x04'" identifier = (char_literal "'\x04'" ' escape_sequence ')) ;) })) (expression_statement "FUN_000306a0(local_30,param_1,uVar5);" (call_expression "FUN_000306a0(local_30,param_1,uVar5)" identifier (argument_list "(local_30,param_1,uVar5)" ( identifier , identifier , identifier ))) ;) (expression_statement "bVar1 = (bool)(bVar1 ^ 1);" (assignment_expression "bVar1 = (bool)(bVar1 ^ 1)" identifier = (cast_expression "(bool)(bVar1 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 ^ 1)" ( (binary_expression "bVar1 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "pbVar4 = DAT_00077838 + 1;" (assignment_expression "pbVar4 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*DAT_00077838 == 0x2c)" ( (binary_expression "*DAT_00077838 == 0x2c" (pointer_expression "*DAT_00077838" * identifier) == number_literal) )) ;) (if_statement "if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }" if (parenthesized_expression "(((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1))" ( (binary_expression "((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)" (parenthesized_expression "((DAT_00077768 != 0) && (param_1 == 1))" ( (binary_expression "(DAT_00077768 != 0) && (param_1 == 1)" (parenthesized_expression "(DAT_00077768 != 0)" ( (binary_expression "DAT_00077768 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) ))) )) && (parenthesized_expression "(bVar1)" ( identifier ))) )) (compound_statement "{\n      DAT_000772f0 = 1;\n    }" { (expression_statement "DAT_000772f0 = 1;" (assignment_expression "DAT_000772f0 = 1" identifier = number_literal) ;) })) })) (expression_statement "FUN_0002e240();" (call_expression "FUN_0002e240()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }" if (parenthesized_expression "(DAT_00077768 != 0)" ( (binary_expression "DAT_00077768 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }" { (expression_statement "FUN_0002d9f0(local_44,(int)(char)local_3d);" (call_expression "FUN_0002d9f0(local_44,(int)(char)local_3d)" identifier (argument_list "(local_44,(int)(char)local_3d)" ( identifier , (cast_expression "(int)(char)local_3d" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)local_3d" ( (type_descriptor "char" primitive_type) ) identifier)) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 cons_worker(int nbytes,int rva)\n\n{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  char *pcVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  byte *local_44;\n  byte local_3d;\n  expressionS exp;\n  \n  bVar2 = *input_line_pointer;\n  uVar6 = (uint)bVar2;\n  if (flag_mri == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = is_end_of_line[uVar6];\n    local_3d = bVar2;\n    local_44 = (byte *)input_line_pointer;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = is_end_of_line[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *input_line_pointer;\n    uVar6 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar6 = (uint)(byte)input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  if (is_end_of_line[uVar6] == '\0') {\n    if (nbytes == 0) {\n      iVar5 = stdoutput->arch_info->bits_per_address;\n      iVar7 = iVar5 + -1;\n      iVar5 = iVar5 + 6;\n      if (-1 < iVar7) {\n        iVar5 = iVar7;\n      }\n      uVar6 = iVar5 >> 3 | iVar5 >> 4;\n      nbytes = (uVar6 | (int)uVar6 >> 2) + 1;\n    }\n    sparc_cons_align(nbytes);\n    bVar1 = false;\n    pcVar4 = input_line_pointer;\n    do {\n      input_line_pointer = pcVar4;\n      pcVar4 = sparc_cons(&exp,nbytes);\n      if (rva != 0) {\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }\n      emit_expr_with_reloc(&exp,nbytes,pcVar4);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pcVar4 = input_line_pointer + 1;\n    } while (*input_line_pointer == ',');\n    if (((flag_mri != 0) && (nbytes == 1)) && (bVar1)) {\n      mri_pending_align = 1;\n    }\n  }\n  demand_empty_rest_of_line();\n  if (flag_mri != 0) {\n    mri_comment_end((char *)local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 cons_worker(int nbytes,int rva)\n\n{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  char *pcVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  byte *local_44;\n  byte local_3d;\n  expressionS exp;\n  \n  bVar2 = *input_line_pointer;\n  uVar6 = (uint)bVar2;\n  if (flag_mri == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = is_end_of_line[uVar6];\n    local_3d = bVar2;\n    local_44 = (byte *)input_line_pointer;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = is_end_of_line[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *input_line_pointer;\n    uVar6 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar6 = (uint)(byte)input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  if (is_end_of_line[uVar6] == '\0') {\n    if (nbytes == 0) {\n      iVar5 = stdoutput->arch_info->bits_per_address;\n      iVar7 = iVar5 + -1;\n      iVar5 = iVar5 + 6;\n      if (-1 < iVar7) {\n        iVar5 = iVar7;\n      }\n      uVar6 = iVar5 >> 3 | iVar5 >> 4;\n      nbytes = (uVar6 | (int)uVar6 >> 2) + 1;\n    }\n    sparc_cons_align(nbytes);\n    bVar1 = false;\n    pcVar4 = input_line_pointer;\n    do {\n      input_line_pointer = pcVar4;\n      pcVar4 = sparc_cons(&exp,nbytes);\n      if (rva != 0) {\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }\n      emit_expr_with_reloc(&exp,nbytes,pcVar4);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pcVar4 = input_line_pointer + 1;\n    } while (*input_line_pointer == ',');\n    if (((flag_mri != 0) && (nbytes == 1)) && (bVar1)) {\n      mri_pending_align = 1;\n    }\n  }\n  demand_empty_rest_of_line();\n  if (flag_mri != 0) {\n    mri_comment_end((char *)local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "cons_worker(int nbytes,int rva)" identifier (parameter_list "(int nbytes,int rva)" ( (parameter_declaration "int nbytes" primitive_type identifier) , (parameter_declaration "int rva" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  char *pcVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  byte *local_44;\n  byte local_3d;\n  expressionS exp;\n  \n  bVar2 = *input_line_pointer;\n  uVar6 = (uint)bVar2;\n  if (flag_mri == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = is_end_of_line[uVar6];\n    local_3d = bVar2;\n    local_44 = (byte *)input_line_pointer;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = is_end_of_line[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *input_line_pointer;\n    uVar6 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar6 = (uint)(byte)input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  if (is_end_of_line[uVar6] == '\0') {\n    if (nbytes == 0) {\n      iVar5 = stdoutput->arch_info->bits_per_address;\n      iVar7 = iVar5 + -1;\n      iVar5 = iVar5 + 6;\n      if (-1 < iVar7) {\n        iVar5 = iVar7;\n      }\n      uVar6 = iVar5 >> 3 | iVar5 >> 4;\n      nbytes = (uVar6 | (int)uVar6 >> 2) + 1;\n    }\n    sparc_cons_align(nbytes);\n    bVar1 = false;\n    pcVar4 = input_line_pointer;\n    do {\n      input_line_pointer = pcVar4;\n      pcVar4 = sparc_cons(&exp,nbytes);\n      if (rva != 0) {\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }\n      emit_expr_with_reloc(&exp,nbytes,pcVar4);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pcVar4 = input_line_pointer + 1;\n    } while (*input_line_pointer == ',');\n    if (((flag_mri != 0) && (nbytes == 1)) && (bVar1)) {\n      mri_pending_align = 1;\n    }\n  }\n  demand_empty_rest_of_line();\n  if (flag_mri != 0) {\n    mri_comment_end((char *)local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "byte local_3d;" type_identifier identifier ;) (declaration "expressionS exp;" type_identifier identifier ;) (expression_statement "bVar2 = *input_line_pointer;" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (expression_statement "uVar6 = (uint)bVar2;" (assignment_expression "uVar6 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (flag_mri == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = is_end_of_line[uVar6];\n    local_3d = bVar2;\n    local_44 = (byte *)input_line_pointer;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = is_end_of_line[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *input_line_pointer;\n    uVar6 = (uint)bVar2;\n  }" if (parenthesized_expression "(flag_mri == 0)" ( (binary_expression "flag_mri == 0" identifier == number_literal) )) (compound_statement "{\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }" { (expression_statement "local_3d = 0;" (assignment_expression "local_3d = 0" identifier = number_literal) ;) (expression_statement "local_44 = (byte *)0x0;" (assignment_expression "local_44 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    cVar3 = is_end_of_line[uVar6];\n    local_3d = bVar2;\n    local_44 = (byte *)input_line_pointer;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = is_end_of_line[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *input_line_pointer;\n    uVar6 = (uint)bVar2;\n  }" else (compound_statement "{\n    cVar3 = is_end_of_line[uVar6];\n    local_3d = bVar2;\n    local_44 = (byte *)input_line_pointer;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = is_end_of_line[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *input_line_pointer;\n    uVar6 = (uint)bVar2;\n  }" { (expression_statement "cVar3 = is_end_of_line[uVar6];" (assignment_expression "cVar3 = is_end_of_line[uVar6]" identifier = (subscript_expression "is_end_of_line[uVar6]" identifier [ identifier ])) ;) (expression_statement "local_3d = bVar2;" (assignment_expression "local_3d = bVar2" identifier = identifier) ;) (expression_statement "local_44 = (byte *)input_line_pointer;" (assignment_expression "local_44 = (byte *)input_line_pointer" identifier = (cast_expression "(byte *)input_line_pointer" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = is_end_of_line[local_3d];\n    }" while (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = is_end_of_line[local_3d];\n    }" { (expression_statement "local_44 = local_44 + 1;" (assignment_expression "local_44 = local_44 + 1" identifier = (binary_expression "local_44 + 1" identifier + number_literal)) ;) (expression_statement "local_3d = *local_44;" (assignment_expression "local_3d = *local_44" identifier = (pointer_expression "*local_44" * identifier)) ;) (expression_statement "cVar3 = is_end_of_line[local_3d];" (assignment_expression "cVar3 = is_end_of_line[local_3d]" identifier = (subscript_expression "is_end_of_line[local_3d]" identifier [ identifier ])) ;) })) (expression_statement "*local_44 = 0;" (assignment_expression "*local_44 = 0" (pointer_expression "*local_44" * identifier) = number_literal) ;) (expression_statement "bVar2 = *input_line_pointer;" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (expression_statement "uVar6 = (uint)bVar2;" (assignment_expression "uVar6 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (if_statement "if (bVar2 == 0x20) {\n    uVar6 = (uint)(byte)input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n    uVar6 = (uint)(byte)input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" { (expression_statement "uVar6 = (uint)(byte)input_line_pointer[1];" (assignment_expression "uVar6 = (uint)(byte)input_line_pointer[1]" identifier = (cast_expression "(uint)(byte)input_line_pointer[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)input_line_pointer[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "input_line_pointer[1]" identifier [ number_literal ])))) ;) (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)) ;) })) (if_statement "if (is_end_of_line[uVar6] == '\0') {\n    if (nbytes == 0) {\n      iVar5 = stdoutput->arch_info->bits_per_address;\n      iVar7 = iVar5 + -1;\n      iVar5 = iVar5 + 6;\n      if (-1 < iVar7) {\n        iVar5 = iVar7;\n      }\n      uVar6 = iVar5 >> 3 | iVar5 >> 4;\n      nbytes = (uVar6 | (int)uVar6 >> 2) + 1;\n    }\n    sparc_cons_align(nbytes);\n    bVar1 = false;\n    pcVar4 = input_line_pointer;\n    do {\n      input_line_pointer = pcVar4;\n      pcVar4 = sparc_cons(&exp,nbytes);\n      if (rva != 0) {\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }\n      emit_expr_with_reloc(&exp,nbytes,pcVar4);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pcVar4 = input_line_pointer + 1;\n    } while (*input_line_pointer == ',');\n    if (((flag_mri != 0) && (nbytes == 1)) && (bVar1)) {\n      mri_pending_align = 1;\n    }\n  }" if (parenthesized_expression "(is_end_of_line[uVar6] == '\0')" ( (binary_expression "is_end_of_line[uVar6] == '\0'" (subscript_expression "is_end_of_line[uVar6]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (nbytes == 0) {\n      iVar5 = stdoutput->arch_info->bits_per_address;\n      iVar7 = iVar5 + -1;\n      iVar5 = iVar5 + 6;\n      if (-1 < iVar7) {\n        iVar5 = iVar7;\n      }\n      uVar6 = iVar5 >> 3 | iVar5 >> 4;\n      nbytes = (uVar6 | (int)uVar6 >> 2) + 1;\n    }\n    sparc_cons_align(nbytes);\n    bVar1 = false;\n    pcVar4 = input_line_pointer;\n    do {\n      input_line_pointer = pcVar4;\n      pcVar4 = sparc_cons(&exp,nbytes);\n      if (rva != 0) {\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }\n      emit_expr_with_reloc(&exp,nbytes,pcVar4);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pcVar4 = input_line_pointer + 1;\n    } while (*input_line_pointer == ',');\n    if (((flag_mri != 0) && (nbytes == 1)) && (bVar1)) {\n      mri_pending_align = 1;\n    }\n  }" { (if_statement "if (nbytes == 0) {\n      iVar5 = stdoutput->arch_info->bits_per_address;\n      iVar7 = iVar5 + -1;\n      iVar5 = iVar5 + 6;\n      if (-1 < iVar7) {\n        iVar5 = iVar7;\n      }\n      uVar6 = iVar5 >> 3 | iVar5 >> 4;\n      nbytes = (uVar6 | (int)uVar6 >> 2) + 1;\n    }" if (parenthesized_expression "(nbytes == 0)" ( (binary_expression "nbytes == 0" identifier == number_literal) )) (compound_statement "{\n      iVar5 = stdoutput->arch_info->bits_per_address;\n      iVar7 = iVar5 + -1;\n      iVar5 = iVar5 + 6;\n      if (-1 < iVar7) {\n        iVar5 = iVar7;\n      }\n      uVar6 = iVar5 >> 3 | iVar5 >> 4;\n      nbytes = (uVar6 | (int)uVar6 >> 2) + 1;\n    }" { (expression_statement "iVar5 = stdoutput->arch_info->bits_per_address;" (assignment_expression "iVar5 = stdoutput->arch_info->bits_per_address" identifier = (field_expression "stdoutput->arch_info->bits_per_address" (field_expression "stdoutput->arch_info" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "iVar7 = iVar5 + -1;" (assignment_expression "iVar7 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar5 + 6;" (assignment_expression "iVar5 = iVar5 + 6" identifier = (binary_expression "iVar5 + 6" identifier + number_literal)) ;) (if_statement "if (-1 < iVar7) {\n        iVar5 = iVar7;\n      }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n        iVar5 = iVar7;\n      }" { (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) })) (expression_statement "uVar6 = iVar5 >> 3 | iVar5 >> 4;" (assignment_expression "uVar6 = iVar5 >> 3 | iVar5 >> 4" identifier = (binary_expression "iVar5 >> 3 | iVar5 >> 4" (binary_expression "iVar5 >> 3" identifier >> number_literal) | (binary_expression "iVar5 >> 4" identifier >> number_literal))) ;) (expression_statement "nbytes = (uVar6 | (int)uVar6 >> 2) + 1;" (assignment_expression "nbytes = (uVar6 | (int)uVar6 >> 2) + 1" identifier = (binary_expression "(uVar6 | (int)uVar6 >> 2) + 1" (parenthesized_expression "(uVar6 | (int)uVar6 >> 2)" ( (binary_expression "uVar6 | (int)uVar6 >> 2" identifier | (binary_expression "(int)uVar6 >> 2" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) + number_literal)) ;) })) (expression_statement "sparc_cons_align(nbytes);" (call_expression "sparc_cons_align(nbytes)" identifier (argument_list "(nbytes)" ( identifier ))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pcVar4 = input_line_pointer;" (assignment_expression "pcVar4 = input_line_pointer" identifier = identifier) ;) (do_statement "do {\n      input_line_pointer = pcVar4;\n      pcVar4 = sparc_cons(&exp,nbytes);\n      if (rva != 0) {\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }\n      emit_expr_with_reloc(&exp,nbytes,pcVar4);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pcVar4 = input_line_pointer + 1;\n    } while (*input_line_pointer == ',');" do (compound_statement "{\n      input_line_pointer = pcVar4;\n      pcVar4 = sparc_cons(&exp,nbytes);\n      if (rva != 0) {\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }\n      emit_expr_with_reloc(&exp,nbytes,pcVar4);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pcVar4 = input_line_pointer + 1;\n    }" { (expression_statement "input_line_pointer = pcVar4;" (assignment_expression "input_line_pointer = pcVar4" identifier = identifier) ;) (expression_statement "pcVar4 = sparc_cons(&exp,nbytes);" (assignment_expression "pcVar4 = sparc_cons(&exp,nbytes)" identifier = (call_expression "sparc_cons(&exp,nbytes)" identifier (argument_list "(&exp,nbytes)" ( (pointer_expression "&exp" & identifier) , identifier )))) ;) (if_statement "if (rva != 0) {\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }" if (parenthesized_expression "(rva != 0)" ( (binary_expression "rva != 0" identifier != number_literal) )) (compound_statement "{\n        if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }\n        exp._16_1_ = 4;\n      }" { (if_statement "if (exp._16_1_ != '\x03') {\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }" if (parenthesized_expression "(exp._16_1_ != '\x03')" ( (binary_expression "exp._16_1_ != '\x03'" (field_expression "exp._16_1_" identifier . field_identifier) != (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar4 = (char *)dcgettext(0,"rva without symbol",5);\n                    /* WARNING: Subroutine does not return */\n          as_fatal(pcVar4);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext(0,"rva without symbol",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"rva without symbol",5)" identifier = (cast_expression "(char *)dcgettext(0,"rva without symbol",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"rva without symbol",5)" identifier (argument_list "(0,"rva without symbol",5)" ( number_literal , (string_literal ""rva without symbol"" " string_content ") , number_literal ))))) ;) comment (expression_statement "as_fatal(pcVar4);" (call_expression "as_fatal(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "exp._16_1_ = 4;" (assignment_expression "exp._16_1_ = 4" (field_expression "exp._16_1_" identifier . field_identifier) = number_literal) ;) })) (expression_statement "emit_expr_with_reloc(&exp,nbytes,pcVar4);" (call_expression "emit_expr_with_reloc(&exp,nbytes,pcVar4)" identifier (argument_list "(&exp,nbytes,pcVar4)" ( (pointer_expression "&exp" & identifier) , identifier , identifier ))) ;) (expression_statement "bVar1 = (bool)(bVar1 ^ 1);" (assignment_expression "bVar1 = (bool)(bVar1 ^ 1)" identifier = (cast_expression "(bool)(bVar1 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 ^ 1)" ( (binary_expression "bVar1 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "pcVar4 = input_line_pointer + 1;" (assignment_expression "pcVar4 = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*input_line_pointer == ',')" ( (binary_expression "*input_line_pointer == ','" (pointer_expression "*input_line_pointer" * identifier) == (char_literal "','" ' character ')) )) ;) (if_statement "if (((flag_mri != 0) && (nbytes == 1)) && (bVar1)) {\n      mri_pending_align = 1;\n    }" if (parenthesized_expression "(((flag_mri != 0) && (nbytes == 1)) && (bVar1))" ( (binary_expression "((flag_mri != 0) && (nbytes == 1)) && (bVar1)" (parenthesized_expression "((flag_mri != 0) && (nbytes == 1))" ( (binary_expression "(flag_mri != 0) && (nbytes == 1)" (parenthesized_expression "(flag_mri != 0)" ( (binary_expression "flag_mri != 0" identifier != number_literal) )) && (parenthesized_expression "(nbytes == 1)" ( (binary_expression "nbytes == 1" identifier == number_literal) ))) )) && (parenthesized_expression "(bVar1)" ( identifier ))) )) (compound_statement "{\n      mri_pending_align = 1;\n    }" { (expression_statement "mri_pending_align = 1;" (assignment_expression "mri_pending_align = 1" identifier = number_literal) ;) })) })) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (if_statement "if (flag_mri != 0) {\n    mri_comment_end((char *)local_44,(int)(char)local_3d);\n    return;\n  }" if (parenthesized_expression "(flag_mri != 0)" ( (binary_expression "flag_mri != 0" identifier != number_literal) )) (compound_statement "{\n    mri_comment_end((char *)local_44,(int)(char)local_3d);\n    return;\n  }" { (expression_statement "mri_comment_end((char *)local_44,(int)(char)local_3d);" (call_expression "mri_comment_end((char *)local_44,(int)(char)local_3d)" identifier (argument_list "((char *)local_44,(int)(char)local_3d)" ( (cast_expression "(char *)local_44" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(int)(char)local_3d" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)local_3d" ( (type_descriptor "char" primitive_type) ) identifier)) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000317b0(int param_1,int param_2)\n\n{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *local_44;\n  byte local_3d;\n  undefined1 local_30 [16];\n  char local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x317bb;\n  bVar2 = *DAT_00077838;\n  uVar7 = (uint)bVar2;\n  if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }\n  FUN_0002e240();\n  if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000317b0(int param_1,int param_2)\n\n{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *local_44;\n  byte local_3d;\n  undefined1 local_30 [16];\n  char local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x317bb;\n  bVar2 = *DAT_00077838;\n  uVar7 = (uint)bVar2;\n  if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }\n  FUN_0002e240();\n  if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000317b0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *local_44;\n  byte local_3d;\n  undefined1 local_30 [16];\n  char local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x317bb;\n  bVar2 = *DAT_00077838;\n  uVar7 = (uint)bVar2;\n  if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }\n  FUN_0002e240();\n  if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "byte local_3d;" type_identifier identifier ;) (declaration "undefined1 local_30 [16];" type_identifier (array_declarator "local_30 [16]" identifier [ number_literal ]) ;) (declaration "char local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x317bb;" (assignment_expression "uStack_14 = 0x317bb" identifier = number_literal) ;) (expression_statement "bVar2 = *DAT_00077838;" (assignment_expression "bVar2 = *DAT_00077838" identifier = (pointer_expression "*DAT_00077838" * identifier)) ;) (expression_statement "uVar7 = (uint)bVar2;" (assignment_expression "uVar7 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" if (parenthesized_expression "(DAT_00077768 == 0)" ( (binary_expression "DAT_00077768 == 0" identifier == number_literal) )) (compound_statement "{\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }" { (expression_statement "local_3d = 0;" (assignment_expression "local_3d = 0" identifier = number_literal) ;) (expression_statement "local_44 = (byte *)0x0;" (assignment_expression "local_44 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" else (compound_statement "{\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" { (expression_statement "cVar3 = (&DAT_0006e2e0)[uVar7];" (assignment_expression "cVar3 = (&DAT_0006e2e0)[uVar7]" identifier = (subscript_expression "(&DAT_0006e2e0)[uVar7]" (parenthesized_expression "(&DAT_0006e2e0)" ( (pointer_expression "&DAT_0006e2e0" & identifier) )) [ identifier ])) ;) (expression_statement "local_3d = bVar2;" (assignment_expression "local_3d = bVar2" identifier = identifier) ;) (expression_statement "local_44 = DAT_00077838;" (assignment_expression "local_44 = DAT_00077838" identifier = identifier) ;) (while_statement "while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }" while (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }" { (expression_statement "local_44 = local_44 + 1;" (assignment_expression "local_44 = local_44 + 1" identifier = (binary_expression "local_44 + 1" identifier + number_literal)) ;) (expression_statement "local_3d = *local_44;" (assignment_expression "local_3d = *local_44" identifier = (pointer_expression "*local_44" * identifier)) ;) (expression_statement "cVar3 = (&DAT_0006e2e0)[local_3d];" (assignment_expression "cVar3 = (&DAT_0006e2e0)[local_3d]" identifier = (subscript_expression "(&DAT_0006e2e0)[local_3d]" (parenthesized_expression "(&DAT_0006e2e0)" ( (pointer_expression "&DAT_0006e2e0" & identifier) )) [ identifier ])) ;) })) (expression_statement "*local_44 = 0;" (assignment_expression "*local_44 = 0" (pointer_expression "*local_44" * identifier) = number_literal) ;) (expression_statement "bVar2 = *DAT_00077838;" (assignment_expression "bVar2 = *DAT_00077838" identifier = (pointer_expression "*DAT_00077838" * identifier)) ;) (expression_statement "uVar7 = (uint)bVar2;" (assignment_expression "uVar7 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (if_statement "if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" { (expression_statement "uVar7 = (uint)DAT_00077838[1];" (assignment_expression "uVar7 = (uint)DAT_00077838[1]" identifier = (cast_expression "(uint)DAT_00077838[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "DAT_00077838[1]" identifier [ number_literal ]))) ;) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) })) (if_statement "if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }" if (parenthesized_expression "((&DAT_0006e2e0)[uVar7] == '\0')" ( (binary_expression "(&DAT_0006e2e0)[uVar7] == '\0'" (subscript_expression "(&DAT_0006e2e0)[uVar7]" (parenthesized_expression "(&DAT_0006e2e0)" ( (pointer_expression "&DAT_0006e2e0" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }" { (if_statement "if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }" { (expression_statement "iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);" (assignment_expression "iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" identifier = (pointer_expression "*(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" * (cast_expression "(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00077804 + 0x84) + 4)" ( (binary_expression "*(int *)(DAT_00077804 + 0x84) + 4" (pointer_expression "*(int *)(DAT_00077804 + 0x84)" * (cast_expression "(int *)(DAT_00077804 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00077804 + 0x84)" ( (binary_expression "DAT_00077804 + 0x84" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar8 = iVar6 + -1;" (assignment_expression "iVar8 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 6;" (assignment_expression "iVar6 = iVar6 + 6" identifier = (binary_expression "iVar6 + 6" identifier + number_literal)) ;) (if_statement "if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n        iVar6 = iVar8;\n      }" { (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" identifier = identifier) ;) })) (expression_statement "uVar7 = iVar6 >> 3 | iVar6 >> 4;" (assignment_expression "uVar7 = iVar6 >> 3 | iVar6 >> 4" identifier = (binary_expression "iVar6 >> 3 | iVar6 >> 4" (binary_expression "iVar6 >> 3" identifier >> number_literal) | (binary_expression "iVar6 >> 4" identifier >> number_literal))) ;) (expression_statement "param_1 = (uVar7 | (int)uVar7 >> 2) + 1;" (assignment_expression "param_1 = (uVar7 | (int)uVar7 >> 2) + 1" identifier = (binary_expression "(uVar7 | (int)uVar7 >> 2) + 1" (parenthesized_expression "(uVar7 | (int)uVar7 >> 2)" ( (binary_expression "uVar7 | (int)uVar7 >> 2" identifier | (binary_expression "(int)uVar7 >> 2" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) + number_literal)) ;) })) (expression_statement "FUN_00047870(param_1);" (call_expression "FUN_00047870(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pbVar4 = DAT_00077838;" (assignment_expression "pbVar4 = DAT_00077838" identifier = identifier) ;) (do_statement "do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);" do (compound_statement "{\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    }" { (expression_statement "DAT_00077838 = pbVar4;" (assignment_expression "DAT_00077838 = pbVar4" identifier = identifier) ;) (expression_statement "uVar5 = FUN_00047b50(local_30,param_1);" (assignment_expression "uVar5 = FUN_00047b50(local_30,param_1)" identifier = (call_expression "FUN_00047b50(local_30,param_1)" identifier (argument_list "(local_30,param_1)" ( identifier , identifier )))) ;) (if_statement "if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }" { (if_statement "if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }" if (parenthesized_expression "(local_20 != '\x03')" ( (binary_expression "local_20 != '\x03'" identifier != (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }" { (expression_statement "uVar5 = dcgettext(0,"rva without symbol",5);" (assignment_expression "uVar5 = dcgettext(0,"rva without symbol",5)" identifier = (call_expression "dcgettext(0,"rva without symbol",5)" identifier (argument_list "(0,"rva without symbol",5)" ( number_literal , (string_literal ""rva without symbol"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bd90(uVar5);" (call_expression "FUN_0002bd90(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) })) (expression_statement "local_20 = '\x04';" (assignment_expression "local_20 = '\x04'" identifier = (char_literal "'\x04'" ' escape_sequence ')) ;) })) (expression_statement "FUN_000306a0(local_30,param_1,uVar5);" (call_expression "FUN_000306a0(local_30,param_1,uVar5)" identifier (argument_list "(local_30,param_1,uVar5)" ( identifier , identifier , identifier ))) ;) (expression_statement "bVar1 = (bool)(bVar1 ^ 1);" (assignment_expression "bVar1 = (bool)(bVar1 ^ 1)" identifier = (cast_expression "(bool)(bVar1 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 ^ 1)" ( (binary_expression "bVar1 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "pbVar4 = DAT_00077838 + 1;" (assignment_expression "pbVar4 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*DAT_00077838 == 0x2c)" ( (binary_expression "*DAT_00077838 == 0x2c" (pointer_expression "*DAT_00077838" * identifier) == number_literal) )) ;) (if_statement "if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }" if (parenthesized_expression "(((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1))" ( (binary_expression "((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)" (parenthesized_expression "((DAT_00077768 != 0) && (param_1 == 1))" ( (binary_expression "(DAT_00077768 != 0) && (param_1 == 1)" (parenthesized_expression "(DAT_00077768 != 0)" ( (binary_expression "DAT_00077768 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) ))) )) && (parenthesized_expression "(bVar1)" ( identifier ))) )) (compound_statement "{\n      DAT_000772f0 = 1;\n    }" { (expression_statement "DAT_000772f0 = 1;" (assignment_expression "DAT_000772f0 = 1" identifier = number_literal) ;) })) })) (expression_statement "FUN_0002e240();" (call_expression "FUN_0002e240()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }" if (parenthesized_expression "(DAT_00077768 != 0)" ( (binary_expression "DAT_00077768 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }" { (expression_statement "FUN_0002d9f0(local_44,(int)(char)local_3d);" (call_expression "FUN_0002d9f0(local_44,(int)(char)local_3d)" identifier (argument_list "(local_44,(int)(char)local_3d)" ( identifier , (cast_expression "(int)(char)local_3d" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)local_3d" ( (type_descriptor "char" primitive_type) ) identifier)) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (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 LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) )) + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (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 IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT ^ LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) && (parenthesized_expression ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000317b0(int param_1,int param_2)\n\n{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *local_44;\n  byte local_3d;\n  undefined1 local_30 [16];\n  char local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x317bb;\n  bVar2 = *DAT_00077838;\n  uVar7 = (uint)bVar2;\n  if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }\n  FUN_0002e240();\n  if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000317b0(int param_1,int param_2)" (identifier "FUN_000317b0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  bool bVar1;\n  byte bVar2;\n  char cVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *local_44;\n  byte local_3d;\n  undefined1 local_30 [16];\n  char local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x317bb;\n  bVar2 = *DAT_00077838;\n  uVar7 = (uint)bVar2;\n  if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }\n  if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }\n  FUN_0002e240();\n  if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "byte *local_44;" (type_identifier "byte") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "byte local_3d;" (type_identifier "byte") (identifier "local_3d") (; ";")) (declaration "undefined1 local_30 [16];" (type_identifier "undefined1") (array_declarator "local_30 [16]" (identifier "local_30") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "char local_20;" (primitive_type "char") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x317bb;" (assignment_expression "uStack_14 = 0x317bb" (identifier "uStack_14") (= "=") (number_literal "0x317bb")) (; ";")) (expression_statement "bVar2 = *DAT_00077838;" (assignment_expression "bVar2 = *DAT_00077838" (identifier "bVar2") (= "=") (pointer_expression "*DAT_00077838" (* "*") (identifier "DAT_00077838"))) (; ";")) (expression_statement "uVar7 = (uint)bVar2;" (assignment_expression "uVar7 = (uint)bVar2" (identifier "uVar7") (= "=") (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2"))) (; ";")) (if_statement "if (DAT_00077768 == 0) {\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }\n  else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" (if "if") (parenthesized_expression "(DAT_00077768 == 0)" (( "(") (binary_expression "DAT_00077768 == 0" (identifier "DAT_00077768") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_3d = 0;\n    local_44 = (byte *)0x0;\n  }" ({ "{") (expression_statement "local_3d = 0;" (assignment_expression "local_3d = 0" (identifier "local_3d") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44 = (byte *)0x0;" (assignment_expression "local_44 = (byte *)0x0" (identifier "local_44") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" (else "else") (compound_statement "{\n    cVar3 = (&DAT_0006e2e0)[uVar7];\n    local_3d = bVar2;\n    local_44 = DAT_00077838;\n    while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }\n    *local_44 = 0;\n    bVar2 = *DAT_00077838;\n    uVar7 = (uint)bVar2;\n  }" ({ "{") (expression_statement "cVar3 = (&DAT_0006e2e0)[uVar7];" (assignment_expression "cVar3 = (&DAT_0006e2e0)[uVar7]" (identifier "cVar3") (= "=") (subscript_expression "(&DAT_0006e2e0)[uVar7]" (parenthesized_expression "(&DAT_0006e2e0)" (( "(") (pointer_expression "&DAT_0006e2e0" (& "&") (identifier "DAT_0006e2e0")) () ")")) ([ "[") (identifier "uVar7") (] "]"))) (; ";")) (expression_statement "local_3d = bVar2;" (assignment_expression "local_3d = bVar2" (identifier "local_3d") (= "=") (identifier "bVar2")) (; ";")) (expression_statement "local_44 = DAT_00077838;" (assignment_expression "local_44 = DAT_00077838" (identifier "local_44") (= "=") (identifier "DAT_00077838")) (; ";")) (while_statement "while (cVar3 == '\0') {\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }" (while "while") (parenthesized_expression "(cVar3 == '\0')" (( "(") (binary_expression "cVar3 == '\0'" (identifier "cVar3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      local_44 = local_44 + 1;\n      local_3d = *local_44;\n      cVar3 = (&DAT_0006e2e0)[local_3d];\n    }" ({ "{") (expression_statement "local_44 = local_44 + 1;" (assignment_expression "local_44 = local_44 + 1" (identifier "local_44") (= "=") (binary_expression "local_44 + 1" (identifier "local_44") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_3d = *local_44;" (assignment_expression "local_3d = *local_44" (identifier "local_3d") (= "=") (pointer_expression "*local_44" (* "*") (identifier "local_44"))) (; ";")) (expression_statement "cVar3 = (&DAT_0006e2e0)[local_3d];" (assignment_expression "cVar3 = (&DAT_0006e2e0)[local_3d]" (identifier "cVar3") (= "=") (subscript_expression "(&DAT_0006e2e0)[local_3d]" (parenthesized_expression "(&DAT_0006e2e0)" (( "(") (pointer_expression "&DAT_0006e2e0" (& "&") (identifier "DAT_0006e2e0")) () ")")) ([ "[") (identifier "local_3d") (] "]"))) (; ";")) (} "}"))) (expression_statement "*local_44 = 0;" (assignment_expression "*local_44 = 0" (pointer_expression "*local_44" (* "*") (identifier "local_44")) (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar2 = *DAT_00077838;" (assignment_expression "bVar2 = *DAT_00077838" (identifier "bVar2") (= "=") (pointer_expression "*DAT_00077838" (* "*") (identifier "DAT_00077838"))) (; ";")) (expression_statement "uVar7 = (uint)bVar2;" (assignment_expression "uVar7 = (uint)bVar2" (identifier "uVar7") (= "=") (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2"))) (; ";")) (} "}")))) (if_statement "if (bVar2 == 0x20) {\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" (if "if") (parenthesized_expression "(bVar2 == 0x20)" (( "(") (binary_expression "bVar2 == 0x20" (identifier "bVar2") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n    uVar7 = (uint)DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" ({ "{") (expression_statement "uVar7 = (uint)DAT_00077838[1];" (assignment_expression "uVar7 = (uint)DAT_00077838[1]" (identifier "uVar7") (= "=") (cast_expression "(uint)DAT_00077838[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "DAT_00077838[1]" (identifier "DAT_00077838") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" (identifier "DAT_00077838") (= "=") (binary_expression "DAT_00077838 + 1" (identifier "DAT_00077838") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if ((&DAT_0006e2e0)[uVar7] == '\0') {\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }" (if "if") (parenthesized_expression "((&DAT_0006e2e0)[uVar7] == '\0')" (( "(") (binary_expression "(&DAT_0006e2e0)[uVar7] == '\0'" (subscript_expression "(&DAT_0006e2e0)[uVar7]" (parenthesized_expression "(&DAT_0006e2e0)" (( "(") (pointer_expression "&DAT_0006e2e0" (& "&") (identifier "DAT_0006e2e0")) () ")")) ([ "[") (identifier "uVar7") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }\n    FUN_00047870(param_1);\n    bVar1 = false;\n    pbVar4 = DAT_00077838;\n    do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);\n    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }\n  }" ({ "{") (if_statement "if (param_1 == 0) {\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);\n      iVar8 = iVar6 + -1;\n      iVar6 = iVar6 + 6;\n      if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }\n      uVar7 = iVar6 >> 3 | iVar6 >> 4;\n      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;\n    }" ({ "{") (expression_statement "iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);" (assignment_expression "iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" (* "*") (cast_expression "(int *)(*(int *)(DAT_00077804 + 0x84) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_00077804 + 0x84) + 4)" (( "(") (binary_expression "*(int *)(DAT_00077804 + 0x84) + 4" (pointer_expression "*(int *)(DAT_00077804 + 0x84)" (* "*") (cast_expression "(int *)(DAT_00077804 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00077804 + 0x84)" (( "(") (binary_expression "DAT_00077804 + 0x84" (identifier "DAT_00077804") (+ "+") (number_literal "0x84")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar8 = iVar6 + -1;" (assignment_expression "iVar8 = iVar6 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar6 = iVar6 + 6;" (assignment_expression "iVar6 = iVar6 + 6" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 6" (identifier "iVar6") (+ "+") (number_literal "6"))) (; ";")) (if_statement "if (-1 < iVar8) {\n        iVar6 = iVar8;\n      }" (if "if") (parenthesized_expression "(-1 < iVar8)" (( "(") (binary_expression "-1 < iVar8" (number_literal "-1") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n        iVar6 = iVar8;\n      }" ({ "{") (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" (identifier "iVar6") (= "=") (identifier "iVar8")) (; ";")) (} "}"))) (expression_statement "uVar7 = iVar6 >> 3 | iVar6 >> 4;" (assignment_expression "uVar7 = iVar6 >> 3 | iVar6 >> 4" (identifier "uVar7") (= "=") (binary_expression "iVar6 >> 3 | iVar6 >> 4" (binary_expression "iVar6 >> 3" (identifier "iVar6") (>> ">>") (number_literal "3")) (| "|") (binary_expression "iVar6 >> 4" (identifier "iVar6") (>> ">>") (number_literal "4")))) (; ";")) (expression_statement "param_1 = (uVar7 | (int)uVar7 >> 2) + 1;" (assignment_expression "param_1 = (uVar7 | (int)uVar7 >> 2) + 1" (identifier "param_1") (= "=") (binary_expression "(uVar7 | (int)uVar7 >> 2) + 1" (parenthesized_expression "(uVar7 | (int)uVar7 >> 2)" (( "(") (binary_expression "uVar7 | (int)uVar7 >> 2" (identifier "uVar7") (| "|") (binary_expression "(int)uVar7 >> 2" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (>> ">>") (number_literal "2"))) () ")")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_00047870(param_1);" (call_expression "FUN_00047870(param_1)" (identifier "FUN_00047870") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "pbVar4 = DAT_00077838;" (assignment_expression "pbVar4 = DAT_00077838" (identifier "pbVar4") (= "=") (identifier "DAT_00077838")) (; ";")) (do_statement "do {\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    } while (*DAT_00077838 == 0x2c);" (do "do") (compound_statement "{\n      DAT_00077838 = pbVar4;\n      uVar5 = FUN_00047b50(local_30,param_1);\n      if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }\n      FUN_000306a0(local_30,param_1,uVar5);\n      bVar1 = (bool)(bVar1 ^ 1);\n      pbVar4 = DAT_00077838 + 1;\n    }" ({ "{") (expression_statement "DAT_00077838 = pbVar4;" (assignment_expression "DAT_00077838 = pbVar4" (identifier "DAT_00077838") (= "=") (identifier "pbVar4")) (; ";")) (expression_statement "uVar5 = FUN_00047b50(local_30,param_1);" (assignment_expression "uVar5 = FUN_00047b50(local_30,param_1)" (identifier "uVar5") (= "=") (call_expression "FUN_00047b50(local_30,param_1)" (identifier "FUN_00047b50") (argument_list "(local_30,param_1)" (( "(") (identifier "local_30") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (param_2 != 0) {\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }\n        local_20 = '\x04';\n      }" ({ "{") (if_statement "if (local_20 != '\x03') {\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }" (if "if") (parenthesized_expression "(local_20 != '\x03')" (( "(") (binary_expression "local_20 != '\x03'" (identifier "local_20") (!= "!=") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) () ")")) (compound_statement "{\n          uVar5 = dcgettext(0,"rva without symbol",5);\n                    \n          FUN_0002bd90(uVar5);\n        }" ({ "{") (expression_statement "uVar5 = dcgettext(0,"rva without symbol",5);" (assignment_expression "uVar5 = dcgettext(0,"rva without symbol",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"rva without symbol",5)" (identifier "dcgettext") (argument_list "(0,"rva without symbol",5)" (( "(") (number_literal "0") (, ",") (string_literal ""rva without symbol"" (" """) (string_content "rva without symbol") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bd90(uVar5);" (call_expression "FUN_0002bd90(uVar5)" (identifier "FUN_0002bd90") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "local_20 = '\x04';" (assignment_expression "local_20 = '\x04'" (identifier "local_20") (= "=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) (; ";")) (} "}"))) (expression_statement "FUN_000306a0(local_30,param_1,uVar5);" (call_expression "FUN_000306a0(local_30,param_1,uVar5)" (identifier "FUN_000306a0") (argument_list "(local_30,param_1,uVar5)" (( "(") (identifier "local_30") (, ",") (identifier "param_1") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "bVar1 = (bool)(bVar1 ^ 1);" (assignment_expression "bVar1 = (bool)(bVar1 ^ 1)" (identifier "bVar1") (= "=") (cast_expression "(bool)(bVar1 ^ 1)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(bVar1 ^ 1)" (( "(") (binary_expression "bVar1 ^ 1" (identifier "bVar1") (^ "^") (number_literal "1")) () ")")))) (; ";")) (expression_statement "pbVar4 = DAT_00077838 + 1;" (assignment_expression "pbVar4 = DAT_00077838 + 1" (identifier "pbVar4") (= "=") (binary_expression "DAT_00077838 + 1" (identifier "DAT_00077838") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*DAT_00077838 == 0x2c)" (( "(") (binary_expression "*DAT_00077838 == 0x2c" (pointer_expression "*DAT_00077838" (* "*") (identifier "DAT_00077838")) (== "==") (number_literal "0x2c")) () ")")) (; ";")) (if_statement "if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {\n      DAT_000772f0 = 1;\n    }" (if "if") (parenthesized_expression "(((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1))" (( "(") (binary_expression "((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)" (parenthesized_expression "((DAT_00077768 != 0) && (param_1 == 1))" (( "(") (binary_expression "(DAT_00077768 != 0) && (param_1 == 1)" (parenthesized_expression "(DAT_00077768 != 0)" (( "(") (binary_expression "DAT_00077768 != 0" (identifier "DAT_00077768") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_1 == 1)" (( "(") (binary_expression "param_1 == 1" (identifier "param_1") (== "==") (number_literal "1")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")"))) () ")")) (compound_statement "{\n      DAT_000772f0 = 1;\n    }" ({ "{") (expression_statement "DAT_000772f0 = 1;" (assignment_expression "DAT_000772f0 = 1" (identifier "DAT_000772f0") (= "=") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_0002e240();" (call_expression "FUN_0002e240()" (identifier "FUN_0002e240") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (DAT_00077768 != 0) {\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_00077768 != 0)" (( "(") (binary_expression "DAT_00077768 != 0" (identifier "DAT_00077768") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0002d9f0(local_44,(int)(char)local_3d);\n    return;\n  }" ({ "{") (expression_statement "FUN_0002d9f0(local_44,(int)(char)local_3d);" (call_expression "FUN_0002d9f0(local_44,(int)(char)local_3d)" (identifier "FUN_0002d9f0") (argument_list "(local_44,(int)(char)local_3d)" (( "(") (identifier "local_44") (, ",") (cast_expression "(int)(char)local_3d" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)local_3d" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_3d"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(int var_6,int var_12)

{
  bool var_16;
  type_1 var_4;
  char var_2;
  char *pcVar4;
  int var_7;
  type_2 var_9;
  int var_8;
  type_1 *var_3;
  type_1 local_3d;
  type_3 exp;
  
  var_4 = *var_5;
  var_9 = (type_2)var_4;
  if (var_1 == 0) {
    local_3d = 0;
    var_3 = (type_1 *)0x0;
  }
  else {
    var_2 = is_end_of_line[var_9];
    local_3d = var_4;
    var_3 = (type_1 *)var_5;
    while (var_2 == '\0') {
      var_3 = var_3 + 1;
      local_3d = *var_3;
      var_2 = is_end_of_line[local_3d];
    }
    *var_3 = 0;
    var_4 = *var_5;
    var_9 = (type_2)var_4;
  }
  if (var_4 == 0x20) {
    var_9 = (type_2)(type_1)var_5[1];
    var_5 = var_5 + 1;
  }
  if (is_end_of_line[var_9] == '\0') {
    if (var_6 == 0) {
      var_7 = stdoutput->arch_info->bits_per_address;
      var_8 = var_7 + -1;
      var_7 = var_7 + 6;
      if (-1 < var_8) {
        var_7 = var_8;
      }
      var_9 = var_7 >> 3 | var_7 >> 4;
      var_6 = (var_9 | (int)var_9 >> 2) + 1;
    }
    var_10(var_6);
    var_16 = false;
    pcVar4 = var_5;
    do {
      var_5 = pcVar4;
      pcVar4 = var_11(&exp,var_6);
      if (var_12 != 0) {
        if (exp._16_1_ != '\x03') {
          pcVar4 = (char *)var_13(0,"rva without symbol",5);
                    /* WARNING: Subroutine does not return */
          var_14(pcVar4);
        }
        exp._16_1_ = 4;
      }
      var_15(&exp,var_6,pcVar4);
      var_16 = (bool)(var_16 ^ 1);
      pcVar4 = var_5 + 1;
    } while (*var_5 == ',');
    if (((var_1 != 0) && (var_6 == 1)) && (var_16)) {
      mri_pending_align = 1;
    }
  }
  var_17();
  if (var_1 != 0) {
    var_18((char *)var_3,(int)(char)local_3d);
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (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: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (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: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (return_statement))) (return_statement))))

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

void __regparm3 MASKED(int param_1,int param_2)

{
  bool bVar1;
  byte bVar2;
  char cVar3;
  byte *pbVar4;
  undefined4 uVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  byte *local_44;
  byte local_3d;
  undefined1 local_30 [16];
  char local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x317bb;
  bVar2 = *DAT_00077838;
  uVar7 = (uint)bVar2;
  if (DAT_00077768 == 0) {
    local_3d = 0;
    local_44 = (byte *)0x0;
  }
  else {
    cVar3 = (&DAT_0006e2e0)[uVar7];
    local_3d = bVar2;
    local_44 = DAT_00077838;
    while (cVar3 == '\0') {
      local_44 = local_44 + 1;
      local_3d = *local_44;
      cVar3 = (&DAT_0006e2e0)[local_3d];
    }
    *local_44 = 0;
    bVar2 = *DAT_00077838;
    uVar7 = (uint)bVar2;
  }
  if (bVar2 == 0x20) {
    uVar7 = (uint)DAT_00077838[1];
    DAT_00077838 = DAT_00077838 + 1;
  }
  if ((&DAT_0006e2e0)[uVar7] == '\0') {
    if (param_1 == 0) {
      iVar6 = *(int *)(*(int *)(DAT_00077804 + 0x84) + 4);
      iVar8 = iVar6 + -1;
      iVar6 = iVar6 + 6;
      if (-1 < iVar8) {
        iVar6 = iVar8;
      }
      uVar7 = iVar6 >> 3 | iVar6 >> 4;
      param_1 = (uVar7 | (int)uVar7 >> 2) + 1;
    }
    FUN_00047870(param_1);
    bVar1 = false;
    pbVar4 = DAT_00077838;
    do {
      DAT_00077838 = pbVar4;
      uVar5 = FUN_00047b50(local_30,param_1);
      if (param_2 != 0) {
        if (local_20 != '\x03') {
          uVar5 = dcgettext(0,"rva without symbol",5);
                    /* WARNING: Subroutine does not return */
          FUN_0002bd90(uVar5);
        }
        local_20 = '\x04';
      }
      FUN_000306a0(local_30,param_1,uVar5);
      bVar1 = (bool)(bVar1 ^ 1);
      pbVar4 = DAT_00077838 + 1;
    } while (*DAT_00077838 == 0x2c);
    if (((DAT_00077768 != 0) && (param_1 == 1)) && (bVar1)) {
      DAT_000772f0 = 1;
    }
  }
  FUN_0002e240();
  if (DAT_00077768 != 0) {
    FUN_0002d9f0(local_44,(int)(char)local_3d);
    return;
  }
  return;
}

