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

fill_type * exp_get_fill(etree_type *tree,fill_type *def,char *name)

{
  size_t sVar1;
  fill_type *pfVar2;
  char *fmt;
  int iVar3;
  uint uVar4;
  uchar *puVar5;
  byte *pbVar6;
  byte *pbVar7;
  
  if (tree != (etree_type *)0x0) {
    expld.section = (asection *)(PTR__bfd_std_section_001befc4 + 0x180);
    expld.rel_from_abs = 0;
    expld.dot._0_4_ = 0;
    expld.dot._4_4_ = 0;
    expld.dotp = (bfd_vma *)0x0;
    exp_fold_tree_1(tree);
    if (expld.result.valid_p == 0) {
      if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {
        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);
        einfo(fmt,tree,name);
      }
    }
    else {
      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {
        pfVar2 = (fill_type *)xmalloc(0xb);
        uVar4 = (uint)expld.result.value;
        pfVar2->size = 4;
        *(uint *)pfVar2->data =
             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
        return pfVar2;
      }
      uVar4 = sVar1 + 1 >> 1;
      def = (fill_type *)xmalloc(uVar4 + 7);
      pbVar7 = (byte *)expld.result.str;
      iVar3 = 0;
      def->size = uVar4;
      puVar5 = def->data;
      while( true ) {
        do {
          pbVar6 = pbVar7 + 1;
          uVar4 = *pbVar7 - 0x30;
          if (9 < uVar4) {
            uVar4 = *pbVar7 - 0x37 & 0xf;
          }
          sVar1 = sVar1 - 1;
          iVar3 = iVar3 * 0x10 + uVar4;
          pbVar7 = pbVar6;
        } while ((sVar1 & 1) != 0);
        *puVar5 = (uchar)iVar3;
        if (sVar1 == 0) break;
        puVar5 = puVar5 + 1;
        iVar3 = 0;
      }
    }
  }
  return def;
}



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

uint * FUN_00033270(int param_1,uint *param_2,int param_3)

{
  size_t sVar1;
  uint *puVar2;
  undefined4 uVar3;
  int iVar4;
  uint uVar5;
  byte *pbVar6;
  byte *pbVar7;
  
  if (param_1 != 0) {
    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;
    DAT_001c0fc8 = 0;
    DAT_001c0fe8 = 0;
    DAT_001c0fec = 0;
    DAT_001c0ff0 = 0;
    FUN_00030b70();
    if (DAT_001c0fe4 == 0) {
      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {
        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);
        FUN_00034d60(uVar3,param_1,param_3);
      }
    }
    else {
      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {
        puVar2 = (uint *)xmalloc(0xb);
        uVar5 = DAT_001c0fd4;
        *puVar2 = 4;
        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
        return puVar2;
      }
      uVar5 = sVar1 + 1 >> 1;
      param_2 = (uint *)xmalloc(uVar5 + 7);
      pbVar7 = DAT_001c0fdc;
      iVar4 = 0;
      *param_2 = uVar5;
      puVar2 = param_2 + 1;
      while( true ) {
        do {
          pbVar6 = pbVar7 + 1;
          uVar5 = *pbVar7 - 0x30;
          if (9 < uVar5) {
            uVar5 = *pbVar7 - 0x37 & 0xf;
          }
          sVar1 = sVar1 - 1;
          iVar4 = iVar4 * 0x10 + uVar5;
          pbVar7 = pbVar6;
        } while ((sVar1 & 1) != 0);
        *(char *)puVar2 = (char)iVar4;
        if (sVar1 == 0) break;
        puVar2 = (uint *)((int)puVar2 + 1);
        iVar4 = 0;
      }
    }
  }
  return param_2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017bc0
ADD EBX,0x18bd87
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
TEST ESI,ESI
JZ 0x00033348
MOV EAX,dword ptr [EBX + 0xffffffc4]
LEA EDI,[EBX + 0x1fc0]
ADD EAX,0x180
MOV dword ptr [EDI + 0x8],0x0
MOV dword ptr [EDI + 0x34],EAX
MOV EAX,ESI
MOV dword ptr [EDI + 0x28],0x0
MOV dword ptr [EDI + 0x2c],0x0
MOV dword ptr [EDI + 0x30],0x0
CALL 0x00030b70
MOV EDX,dword ptr [EDI + 0x24]
TEST EDX,EDX
JZ 0x00033310
MOV EAX,dword ptr [EDI + 0x1c]
TEST EAX,EAX
JZ 0x000332e5
SUB ESP,0xc
PUSH EAX
CALL 0x000167b0
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JNZ 0x00033358
SUB ESP,0xc
PUSH 0xb
CALL 0x00016e08
MOV EDX,dword ptr [EDI + 0x14]
ADD ESP,0x10
MOV dword ptr [EAX],0x4
BSWAP EDX
MOV dword ptr [EAX + 0x4],EDX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x28]
TEST EAX,EAX
JZ 0x00033348
CMP dword ptr [EDI],0x1
JZ 0x00033348
SUB ESP,0x4
LEA EAX,[EBX + 0xffeb32d8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016360
ADD ESP,0xc
PUSH dword ptr [ESP + 0x2c]
PUSH ESI
PUSH EAX
CALL 0x00034d60
ADD ESP,0x10
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x24]
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBP,[EAX + 0x1]
SUB ESP,0xc
SHR EBP,0x1
LEA EAX,[EBP + 0x7]
PUSH EAX
CALL 0x00016e08
MOV EDI,dword ptr [EDI + 0x1c]
ADD ESP,0x10
XOR ECX,ECX
MOV dword ptr [EAX],EBP
LEA EBP,[EAX + 0x4]
LEA ESI,[ESI]
LEA ESI,[ESI]
ADD EDI,0x1
MOVZX EDX,byte ptr [EDI + -0x1]
LEA EBX,[EDX + -0x30]
SUB EDX,0x37
AND EDX,0xf
CMP EBX,0x9
CMOVA EBX,EDX
SHL ECX,0x4
SUB ESI,0x1
ADD ECX,EBX
TEST ESI,0x1
JNZ 0x00033380
MOV byte ptr [EBP],CL
TEST ESI,ESI
JZ 0x0003334c
ADD EBP,0x1
XOR ECX,ECX
JMP 0x00033380
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint * FUN_00033270(int param_1,uint *param_2,int param_3)\n\n{\n  size_t sVar1;\n  uint *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }\n  return param_2;\n}\n\n" comment (function_definition "uint * FUN_00033270(int param_1,uint *param_2,int param_3)\n\n{\n  size_t sVar1;\n  uint *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }\n  return param_2;\n}" type_identifier (pointer_declarator "* FUN_00033270(int param_1,uint *param_2,int param_3)" * (function_declarator "FUN_00033270(int param_1,uint *param_2,int param_3)" identifier (parameter_list "(int param_1,uint *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  size_t sVar1;\n  uint *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }\n  return param_2;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (if_statement "if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }" { (expression_statement "DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;" (assignment_expression "DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180" identifier = (binary_expression "PTR__bfd_std_section_001befc4 + 0x180" identifier + number_literal)) ;) (expression_statement "DAT_001c0fc8 = 0;" (assignment_expression "DAT_001c0fc8 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c0fe8 = 0;" (assignment_expression "DAT_001c0fe8 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c0fec = 0;" (assignment_expression "DAT_001c0fec = 0" identifier = number_literal) ;) (expression_statement "DAT_001c0ff0 = 0;" (assignment_expression "DAT_001c0ff0 = 0" identifier = number_literal) ;) (expression_statement "FUN_00030b70();" (call_expression "FUN_00030b70()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" if (parenthesized_expression "(DAT_001c0fe4 == 0)" ( (binary_expression "DAT_001c0fe4 == 0" identifier == number_literal) )) (compound_statement "{\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }" { (if_statement "if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }" if (parenthesized_expression "((param_3 != 0) && (DAT_001c0fc0 != 1))" ( (binary_expression "(param_3 != 0) && (DAT_001c0fc0 != 1)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(DAT_001c0fc0 != 1)" ( (binary_expression "DAT_001c0fc0 != 1" identifier != number_literal) ))) )) (compound_statement "{\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }" { (expression_statement "uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier = (call_expression "dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier (argument_list "(0,"%F%P:%pS: nonconstant expression for %s\n",5)" ( number_literal , (string_literal ""%F%P:%pS: nonconstant expression for %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d60(uVar3,param_1,param_3);" (call_expression "FUN_00034d60(uVar3,param_1,param_3)" identifier (argument_list "(uVar3,param_1,param_3)" ( identifier , identifier , identifier ))) ;) })) }) (else_clause "else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" else (compound_statement "{\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" { (if_statement "if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }" if (parenthesized_expression "((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0))" ( (binary_expression "(DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)" (parenthesized_expression "(DAT_001c0fdc == (byte *)0x0)" ( (binary_expression "DAT_001c0fdc == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)" ( (comma_expression "sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0" (assignment_expression "sVar1 = strlen((char *)DAT_001c0fdc)" identifier = (call_expression "strlen((char *)DAT_001c0fdc)" identifier (argument_list "((char *)DAT_001c0fdc)" ( (cast_expression "(char *)DAT_001c0fdc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) , (binary_expression "sVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }" { (expression_statement "puVar2 = (uint *)xmalloc(0xb);" (assignment_expression "puVar2 = (uint *)xmalloc(0xb)" identifier = (cast_expression "(uint *)xmalloc(0xb)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xb)" identifier (argument_list "(0xb)" ( number_literal ))))) ;) (expression_statement "uVar5 = DAT_001c0fd4;" (assignment_expression "uVar5 = DAT_001c0fd4" identifier = identifier) ;) (expression_statement "*puVar2 = 4;" (assignment_expression "*puVar2 = 4" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (return_statement "return puVar2;" return identifier ;) })) (expression_statement "uVar5 = sVar1 + 1 >> 1;" (assignment_expression "uVar5 = sVar1 + 1 >> 1" identifier = (binary_expression "sVar1 + 1 >> 1" (binary_expression "sVar1 + 1" identifier + number_literal) >> number_literal)) ;) (expression_statement "param_2 = (uint *)xmalloc(uVar5 + 7);" (assignment_expression "param_2 = (uint *)xmalloc(uVar5 + 7)" identifier = (cast_expression "(uint *)xmalloc(uVar5 + 7)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar5 + 7)" identifier (argument_list "(uVar5 + 7)" ( (binary_expression "uVar5 + 7" identifier + number_literal) ))))) ;) (expression_statement "pbVar7 = DAT_001c0fdc;" (assignment_expression "pbVar7 = DAT_001c0fdc" identifier = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = uVar5;" (assignment_expression "*param_2 = uVar5" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "puVar2 = param_2 + 1;" (assignment_expression "puVar2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }" { (do_statement "do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);" do (compound_statement "{\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        }" { (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = *pbVar7 - 0x30;" (assignment_expression "uVar5 = *pbVar7 - 0x30" identifier = (binary_expression "*pbVar7 - 0x30" (pointer_expression "*pbVar7" * identifier) - number_literal)) ;) (if_statement "if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }" if (parenthesized_expression "(9 < uVar5)" ( (binary_expression "9 < uVar5" number_literal < identifier) )) (compound_statement "{\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }" { (expression_statement "uVar5 = *pbVar7 - 0x37 & 0xf;" (assignment_expression "uVar5 = *pbVar7 - 0x37 & 0xf" identifier = (binary_expression "*pbVar7 - 0x37 & 0xf" (binary_expression "*pbVar7 - 0x37" (pointer_expression "*pbVar7" * identifier) - number_literal) & number_literal)) ;) })) (expression_statement "sVar1 = sVar1 - 1;" (assignment_expression "sVar1 = sVar1 - 1" identifier = (binary_expression "sVar1 - 1" identifier - number_literal)) ;) (expression_statement "iVar4 = iVar4 * 0x10 + uVar5;" (assignment_expression "iVar4 = iVar4 * 0x10 + uVar5" identifier = (binary_expression "iVar4 * 0x10 + uVar5" (binary_expression "iVar4 * 0x10" identifier * number_literal) + identifier)) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) }) while (parenthesized_expression "((sVar1 & 1) != 0)" ( (binary_expression "(sVar1 & 1) != 0" (parenthesized_expression "(sVar1 & 1)" ( (binary_expression "sVar1 & 1" identifier & number_literal) )) != number_literal) )) ;) (expression_statement "*(char *)puVar2 = (char)iVar4;" (assignment_expression "*(char *)puVar2 = (char)iVar4" (pointer_expression "*(char *)puVar2" * (cast_expression "(char *)puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)iVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (sVar1 == 0) break;" if (parenthesized_expression "(sVar1 == 0)" ( (binary_expression "sVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar2 = (uint *)((int)puVar2 + 1);" (assignment_expression "puVar2 = (uint *)((int)puVar2 + 1)" identifier = (cast_expression "(uint *)((int)puVar2 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 1)" ( (binary_expression "(int)puVar2 + 1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) }))) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nfill_type * exp_get_fill(etree_type *tree,fill_type *def,char *name)\n\n{\n  size_t sVar1;\n  fill_type *pfVar2;\n  char *fmt;\n  int iVar3;\n  uint uVar4;\n  uchar *puVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (tree != (etree_type *)0x0) {\n    expld.section = (asection *)(PTR__bfd_std_section_001befc4 + 0x180);\n    expld.rel_from_abs = 0;\n    expld.dot._0_4_ = 0;\n    expld.dot._4_4_ = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p == 0) {\n      if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }\n    }\n    else {\n      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }\n      uVar4 = sVar1 + 1 >> 1;\n      def = (fill_type *)xmalloc(uVar4 + 7);\n      pbVar7 = (byte *)expld.result.str;\n      iVar3 = 0;\n      def->size = uVar4;\n      puVar5 = def->data;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }\n    }\n  }\n  return def;\n}\n\n" comment comment (function_definition "fill_type * exp_get_fill(etree_type *tree,fill_type *def,char *name)\n\n{\n  size_t sVar1;\n  fill_type *pfVar2;\n  char *fmt;\n  int iVar3;\n  uint uVar4;\n  uchar *puVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (tree != (etree_type *)0x0) {\n    expld.section = (asection *)(PTR__bfd_std_section_001befc4 + 0x180);\n    expld.rel_from_abs = 0;\n    expld.dot._0_4_ = 0;\n    expld.dot._4_4_ = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p == 0) {\n      if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }\n    }\n    else {\n      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }\n      uVar4 = sVar1 + 1 >> 1;\n      def = (fill_type *)xmalloc(uVar4 + 7);\n      pbVar7 = (byte *)expld.result.str;\n      iVar3 = 0;\n      def->size = uVar4;\n      puVar5 = def->data;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }\n    }\n  }\n  return def;\n}" type_identifier (pointer_declarator "* exp_get_fill(etree_type *tree,fill_type *def,char *name)" * (function_declarator "exp_get_fill(etree_type *tree,fill_type *def,char *name)" identifier (parameter_list "(etree_type *tree,fill_type *def,char *name)" ( (parameter_declaration "etree_type *tree" type_identifier (pointer_declarator "*tree" * identifier)) , (parameter_declaration "fill_type *def" type_identifier (pointer_declarator "*def" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  size_t sVar1;\n  fill_type *pfVar2;\n  char *fmt;\n  int iVar3;\n  uint uVar4;\n  uchar *puVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (tree != (etree_type *)0x0) {\n    expld.section = (asection *)(PTR__bfd_std_section_001befc4 + 0x180);\n    expld.rel_from_abs = 0;\n    expld.dot._0_4_ = 0;\n    expld.dot._4_4_ = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p == 0) {\n      if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }\n    }\n    else {\n      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }\n      uVar4 = sVar1 + 1 >> 1;\n      def = (fill_type *)xmalloc(uVar4 + 7);\n      pbVar7 = (byte *)expld.result.str;\n      iVar3 = 0;\n      def->size = uVar4;\n      puVar5 = def->data;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }\n    }\n  }\n  return def;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "fill_type *pfVar2;" type_identifier (pointer_declarator "*pfVar2" * identifier) ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (if_statement "if (tree != (etree_type *)0x0) {\n    expld.section = (asection *)(PTR__bfd_std_section_001befc4 + 0x180);\n    expld.rel_from_abs = 0;\n    expld.dot._0_4_ = 0;\n    expld.dot._4_4_ = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p == 0) {\n      if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }\n    }\n    else {\n      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }\n      uVar4 = sVar1 + 1 >> 1;\n      def = (fill_type *)xmalloc(uVar4 + 7);\n      pbVar7 = (byte *)expld.result.str;\n      iVar3 = 0;\n      def->size = uVar4;\n      puVar5 = def->data;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }\n    }\n  }" if (parenthesized_expression "(tree != (etree_type *)0x0)" ( (binary_expression "tree != (etree_type *)0x0" identifier != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    expld.section = (asection *)(PTR__bfd_std_section_001befc4 + 0x180);\n    expld.rel_from_abs = 0;\n    expld.dot._0_4_ = 0;\n    expld.dot._4_4_ = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p == 0) {\n      if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }\n    }\n    else {\n      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }\n      uVar4 = sVar1 + 1 >> 1;\n      def = (fill_type *)xmalloc(uVar4 + 7);\n      pbVar7 = (byte *)expld.result.str;\n      iVar3 = 0;\n      def->size = uVar4;\n      puVar5 = def->data;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }\n    }\n  }" { (expression_statement "expld.section = (asection *)(PTR__bfd_std_section_001befc4 + 0x180);" (assignment_expression "expld.section = (asection *)(PTR__bfd_std_section_001befc4 + 0x180)" (field_expression "expld.section" identifier . field_identifier) = (cast_expression "(asection *)(PTR__bfd_std_section_001befc4 + 0x180)" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_001befc4 + 0x180)" ( (binary_expression "PTR__bfd_std_section_001befc4 + 0x180" identifier + number_literal) )))) ;) (expression_statement "expld.rel_from_abs = 0;" (assignment_expression "expld.rel_from_abs = 0" (field_expression "expld.rel_from_abs" identifier . field_identifier) = number_literal) ;) (expression_statement "expld.dot._0_4_ = 0;" (assignment_expression "expld.dot._0_4_ = 0" (field_expression "expld.dot._0_4_" (field_expression "expld.dot" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "expld.dot._4_4_ = 0;" (assignment_expression "expld.dot._4_4_ = 0" (field_expression "expld.dot._4_4_" (field_expression "expld.dot" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "expld.dotp = (bfd_vma *)0x0;" (assignment_expression "expld.dotp = (bfd_vma *)0x0" (field_expression "expld.dotp" identifier . field_identifier) = (cast_expression "(bfd_vma *)0x0" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "exp_fold_tree_1(tree);" (call_expression "exp_fold_tree_1(tree)" identifier (argument_list "(tree)" ( identifier ))) ;) (if_statement "if (expld.result.valid_p == 0) {\n      if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }\n    }\n    else {\n      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }\n      uVar4 = sVar1 + 1 >> 1;\n      def = (fill_type *)xmalloc(uVar4 + 7);\n      pbVar7 = (byte *)expld.result.str;\n      iVar3 = 0;\n      def->size = uVar4;\n      puVar5 = def->data;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }\n    }" if (parenthesized_expression "(expld.result.valid_p == 0)" ( (binary_expression "expld.result.valid_p == 0" (field_expression "expld.result.valid_p" (field_expression "expld.result" identifier . field_identifier) . field_identifier) == number_literal) )) (compound_statement "{\n      if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }\n    }" { (if_statement "if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }" if (parenthesized_expression "((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum))" ( (binary_expression "(name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)" (parenthesized_expression "(name != (char *)0x0)" ( (binary_expression "name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(expld.phase != lang_mark_phase_enum)" ( (binary_expression "expld.phase != lang_mark_phase_enum" (field_expression "expld.phase" identifier . field_identifier) != identifier) ))) )) (compound_statement "{\n        fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        einfo(fmt,tree,name);\n      }" { (expression_statement "fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier (argument_list "(0,"%F%P:%pS: nonconstant expression for %s\n",5)" ( number_literal , (string_literal ""%F%P:%pS: nonconstant expression for %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,tree,name);" (call_expression "einfo(fmt,tree,name)" identifier (argument_list "(fmt,tree,name)" ( identifier , identifier , identifier ))) ;) })) }) (else_clause "else {\n      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }\n      uVar4 = sVar1 + 1 >> 1;\n      def = (fill_type *)xmalloc(uVar4 + 7);\n      pbVar7 = (byte *)expld.result.str;\n      iVar3 = 0;\n      def->size = uVar4;\n      puVar5 = def->data;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }\n    }" else (compound_statement "{\n      if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }\n      uVar4 = sVar1 + 1 >> 1;\n      def = (fill_type *)xmalloc(uVar4 + 7);\n      pbVar7 = (byte *)expld.result.str;\n      iVar3 = 0;\n      def->size = uVar4;\n      puVar5 = def->data;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }\n    }" { (if_statement "if ((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)) {\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }" if (parenthesized_expression "((expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0))" ( (binary_expression "(expld.result.str == (char *)0x0) || (sVar1 = strlen(expld.result.str), sVar1 == 0)" (parenthesized_expression "(expld.result.str == (char *)0x0)" ( (binary_expression "expld.result.str == (char *)0x0" (field_expression "expld.result.str" (field_expression "expld.result" identifier . field_identifier) . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(sVar1 = strlen(expld.result.str), sVar1 == 0)" ( (comma_expression "sVar1 = strlen(expld.result.str), sVar1 == 0" (assignment_expression "sVar1 = strlen(expld.result.str)" identifier = (call_expression "strlen(expld.result.str)" identifier (argument_list "(expld.result.str)" ( (field_expression "expld.result.str" (field_expression "expld.result" identifier . field_identifier) . field_identifier) )))) , (binary_expression "sVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        pfVar2 = (fill_type *)xmalloc(0xb);\n        uVar4 = (uint)expld.result.value;\n        pfVar2->size = 4;\n        *(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n        return pfVar2;\n      }" { (expression_statement "pfVar2 = (fill_type *)xmalloc(0xb);" (assignment_expression "pfVar2 = (fill_type *)xmalloc(0xb)" identifier = (cast_expression "(fill_type *)xmalloc(0xb)" ( (type_descriptor "fill_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xb)" identifier (argument_list "(0xb)" ( number_literal ))))) ;) (expression_statement "uVar4 = (uint)expld.result.value;" (assignment_expression "uVar4 = (uint)expld.result.value" identifier = (cast_expression "(uint)expld.result.value" ( (type_descriptor "uint" type_identifier) ) (field_expression "expld.result.value" (field_expression "expld.result" identifier . field_identifier) . field_identifier))) ;) (expression_statement "pfVar2->size = 4;" (assignment_expression "pfVar2->size = 4" (field_expression "pfVar2->size" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "*(uint *)pfVar2->data =\n             uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (pointer_expression "*(uint *)pfVar2->data" * (cast_expression "(uint *)pfVar2->data" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pfVar2->data" identifier -> field_identifier))) = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) (return_statement "return pfVar2;" return identifier ;) })) (expression_statement "uVar4 = sVar1 + 1 >> 1;" (assignment_expression "uVar4 = sVar1 + 1 >> 1" identifier = (binary_expression "sVar1 + 1 >> 1" (binary_expression "sVar1 + 1" identifier + number_literal) >> number_literal)) ;) (expression_statement "def = (fill_type *)xmalloc(uVar4 + 7);" (assignment_expression "def = (fill_type *)xmalloc(uVar4 + 7)" identifier = (cast_expression "(fill_type *)xmalloc(uVar4 + 7)" ( (type_descriptor "fill_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar4 + 7)" identifier (argument_list "(uVar4 + 7)" ( (binary_expression "uVar4 + 7" identifier + number_literal) ))))) ;) (expression_statement "pbVar7 = (byte *)expld.result.str;" (assignment_expression "pbVar7 = (byte *)expld.result.str" identifier = (cast_expression "(byte *)expld.result.str" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "expld.result.str" (field_expression "expld.result" identifier . field_identifier) . field_identifier))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "def->size = uVar4;" (assignment_expression "def->size = uVar4" (field_expression "def->size" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar5 = def->data;" (assignment_expression "puVar5 = def->data" identifier = (field_expression "def->data" identifier -> field_identifier)) ;) (while_statement "while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *puVar5 = (uchar)iVar3;\n        if (sVar1 == 0) break;\n        puVar5 = puVar5 + 1;\n        iVar3 = 0;\n      }" { (do_statement "do {\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);" do (compound_statement "{\n          pbVar6 = pbVar7 + 1;\n          uVar4 = *pbVar7 - 0x30;\n          if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar3 = iVar3 * 0x10 + uVar4;\n          pbVar7 = pbVar6;\n        }" { (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = *pbVar7 - 0x30;" (assignment_expression "uVar4 = *pbVar7 - 0x30" identifier = (binary_expression "*pbVar7 - 0x30" (pointer_expression "*pbVar7" * identifier) - number_literal)) ;) (if_statement "if (9 < uVar4) {\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }" if (parenthesized_expression "(9 < uVar4)" ( (binary_expression "9 < uVar4" number_literal < identifier) )) (compound_statement "{\n            uVar4 = *pbVar7 - 0x37 & 0xf;\n          }" { (expression_statement "uVar4 = *pbVar7 - 0x37 & 0xf;" (assignment_expression "uVar4 = *pbVar7 - 0x37 & 0xf" identifier = (binary_expression "*pbVar7 - 0x37 & 0xf" (binary_expression "*pbVar7 - 0x37" (pointer_expression "*pbVar7" * identifier) - number_literal) & number_literal)) ;) })) (expression_statement "sVar1 = sVar1 - 1;" (assignment_expression "sVar1 = sVar1 - 1" identifier = (binary_expression "sVar1 - 1" identifier - number_literal)) ;) (expression_statement "iVar3 = iVar3 * 0x10 + uVar4;" (assignment_expression "iVar3 = iVar3 * 0x10 + uVar4" identifier = (binary_expression "iVar3 * 0x10 + uVar4" (binary_expression "iVar3 * 0x10" identifier * number_literal) + identifier)) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) }) while (parenthesized_expression "((sVar1 & 1) != 0)" ( (binary_expression "(sVar1 & 1) != 0" (parenthesized_expression "(sVar1 & 1)" ( (binary_expression "sVar1 & 1" identifier & number_literal) )) != number_literal) )) ;) (expression_statement "*puVar5 = (uchar)iVar3;" (assignment_expression "*puVar5 = (uchar)iVar3" (pointer_expression "*puVar5" * identifier) = (cast_expression "(uchar)iVar3" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (if_statement "if (sVar1 == 0) break;" if (parenthesized_expression "(sVar1 == 0)" ( (binary_expression "sVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) }))) })) (return_statement "return def;" return identifier ;) })))
(translation_unit "uint * FUN_00033270(int param_1,uint *param_2,int param_3)\n\n{\n  size_t sVar1;\n  uint *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }\n  return param_2;\n}\n\n" (function_definition "uint * FUN_00033270(int param_1,uint *param_2,int param_3)\n\n{\n  size_t sVar1;\n  uint *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }\n  return param_2;\n}" type_identifier (pointer_declarator "* FUN_00033270(int param_1,uint *param_2,int param_3)" * (function_declarator "FUN_00033270(int param_1,uint *param_2,int param_3)" identifier (parameter_list "(int param_1,uint *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  size_t sVar1;\n  uint *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }\n  return param_2;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (if_statement "if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }" { (expression_statement "DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;" (assignment_expression "DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180" identifier = (binary_expression "PTR__bfd_std_section_001befc4 + 0x180" identifier + number_literal)) ;) (expression_statement "DAT_001c0fc8 = 0;" (assignment_expression "DAT_001c0fc8 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c0fe8 = 0;" (assignment_expression "DAT_001c0fe8 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c0fec = 0;" (assignment_expression "DAT_001c0fec = 0" identifier = number_literal) ;) (expression_statement "DAT_001c0ff0 = 0;" (assignment_expression "DAT_001c0ff0 = 0" identifier = number_literal) ;) (expression_statement "FUN_00030b70();" (call_expression "FUN_00030b70()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" if (parenthesized_expression "(DAT_001c0fe4 == 0)" ( (binary_expression "DAT_001c0fe4 == 0" identifier == number_literal) )) (compound_statement "{\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }" { (if_statement "if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }" if (parenthesized_expression "((param_3 != 0) && (DAT_001c0fc0 != 1))" ( (binary_expression "(param_3 != 0) && (DAT_001c0fc0 != 1)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(DAT_001c0fc0 != 1)" ( (binary_expression "DAT_001c0fc0 != 1" identifier != number_literal) ))) )) (compound_statement "{\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }" { (expression_statement "uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier = (call_expression "dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier (argument_list "(0,"%F%P:%pS: nonconstant expression for %s\n",5)" ( number_literal , (string_literal ""%F%P:%pS: nonconstant expression for %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d60(uVar3,param_1,param_3);" (call_expression "FUN_00034d60(uVar3,param_1,param_3)" identifier (argument_list "(uVar3,param_1,param_3)" ( identifier , identifier , identifier ))) ;) })) }) (else_clause "else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" else (compound_statement "{\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" { (if_statement "if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }" if (parenthesized_expression "((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0))" ( (binary_expression "(DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)" (parenthesized_expression "(DAT_001c0fdc == (byte *)0x0)" ( (binary_expression "DAT_001c0fdc == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)" ( (comma_expression "sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0" (assignment_expression "sVar1 = strlen((char *)DAT_001c0fdc)" identifier = (call_expression "strlen((char *)DAT_001c0fdc)" identifier (argument_list "((char *)DAT_001c0fdc)" ( (cast_expression "(char *)DAT_001c0fdc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) , (binary_expression "sVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }" { (expression_statement "puVar2 = (uint *)xmalloc(0xb);" (assignment_expression "puVar2 = (uint *)xmalloc(0xb)" identifier = (cast_expression "(uint *)xmalloc(0xb)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xb)" identifier (argument_list "(0xb)" ( number_literal ))))) ;) (expression_statement "uVar5 = DAT_001c0fd4;" (assignment_expression "uVar5 = DAT_001c0fd4" identifier = identifier) ;) (expression_statement "*puVar2 = 4;" (assignment_expression "*puVar2 = 4" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (return_statement "return puVar2;" return identifier ;) })) (expression_statement "uVar5 = sVar1 + 1 >> 1;" (assignment_expression "uVar5 = sVar1 + 1 >> 1" identifier = (binary_expression "sVar1 + 1 >> 1" (binary_expression "sVar1 + 1" identifier + number_literal) >> number_literal)) ;) (expression_statement "param_2 = (uint *)xmalloc(uVar5 + 7);" (assignment_expression "param_2 = (uint *)xmalloc(uVar5 + 7)" identifier = (cast_expression "(uint *)xmalloc(uVar5 + 7)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar5 + 7)" identifier (argument_list "(uVar5 + 7)" ( (binary_expression "uVar5 + 7" identifier + number_literal) ))))) ;) (expression_statement "pbVar7 = DAT_001c0fdc;" (assignment_expression "pbVar7 = DAT_001c0fdc" identifier = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = uVar5;" (assignment_expression "*param_2 = uVar5" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "puVar2 = param_2 + 1;" (assignment_expression "puVar2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }" { (do_statement "do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);" do (compound_statement "{\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        }" { (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = *pbVar7 - 0x30;" (assignment_expression "uVar5 = *pbVar7 - 0x30" identifier = (binary_expression "*pbVar7 - 0x30" (pointer_expression "*pbVar7" * identifier) - number_literal)) ;) (if_statement "if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }" if (parenthesized_expression "(9 < uVar5)" ( (binary_expression "9 < uVar5" number_literal < identifier) )) (compound_statement "{\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }" { (expression_statement "uVar5 = *pbVar7 - 0x37 & 0xf;" (assignment_expression "uVar5 = *pbVar7 - 0x37 & 0xf" identifier = (binary_expression "*pbVar7 - 0x37 & 0xf" (binary_expression "*pbVar7 - 0x37" (pointer_expression "*pbVar7" * identifier) - number_literal) & number_literal)) ;) })) (expression_statement "sVar1 = sVar1 - 1;" (assignment_expression "sVar1 = sVar1 - 1" identifier = (binary_expression "sVar1 - 1" identifier - number_literal)) ;) (expression_statement "iVar4 = iVar4 * 0x10 + uVar5;" (assignment_expression "iVar4 = iVar4 * 0x10 + uVar5" identifier = (binary_expression "iVar4 * 0x10 + uVar5" (binary_expression "iVar4 * 0x10" identifier * number_literal) + identifier)) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) }) while (parenthesized_expression "((sVar1 & 1) != 0)" ( (binary_expression "(sVar1 & 1) != 0" (parenthesized_expression "(sVar1 & 1)" ( (binary_expression "sVar1 & 1" identifier & number_literal) )) != number_literal) )) ;) (expression_statement "*(char *)puVar2 = (char)iVar4;" (assignment_expression "*(char *)puVar2 = (char)iVar4" (pointer_expression "*(char *)puVar2" * (cast_expression "(char *)puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)iVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (sVar1 == 0) break;" if (parenthesized_expression "(sVar1 == 0)" ( (binary_expression "sVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar2 = (uint *)((int)puVar2 + 1);" (assignment_expression "puVar2 = (uint *)((int)puVar2 + 1)" identifier = (cast_expression "(uint *)((int)puVar2 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 1)" ( (binary_expression "(int)puVar2 + 1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) }))) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * IDENT) - LIT) & LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) })) (return_statement return IDENT ;) })))
(function_definition "uint * FUN_00033270(int param_1,uint *param_2,int param_3)\n\n{\n  size_t sVar1;\n  uint *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }\n  return param_2;\n}" (type_identifier "uint") (pointer_declarator "* FUN_00033270(int param_1,uint *param_2,int param_3)" (* "*") (function_declarator "FUN_00033270(int param_1,uint *param_2,int param_3)" (identifier "FUN_00033270") (parameter_list "(int param_1,uint *param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  size_t sVar1;\n  uint *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  \n  if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }\n  return param_2;\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (if_statement "if (param_1 != 0) {\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;\n    DAT_001c0fc8 = 0;\n    DAT_001c0fe8 = 0;\n    DAT_001c0fec = 0;\n    DAT_001c0ff0 = 0;\n    FUN_00030b70();\n    if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }\n  }" ({ "{") (expression_statement "DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;" (assignment_expression "DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180" (identifier "DAT_001c0ff4") (= "=") (binary_expression "PTR__bfd_std_section_001befc4 + 0x180" (identifier "PTR__bfd_std_section_001befc4") (+ "+") (number_literal "0x180"))) (; ";")) (expression_statement "DAT_001c0fc8 = 0;" (assignment_expression "DAT_001c0fc8 = 0" (identifier "DAT_001c0fc8") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001c0fe8 = 0;" (assignment_expression "DAT_001c0fe8 = 0" (identifier "DAT_001c0fe8") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001c0fec = 0;" (assignment_expression "DAT_001c0fec = 0" (identifier "DAT_001c0fec") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001c0ff0 = 0;" (assignment_expression "DAT_001c0ff0 = 0" (identifier "DAT_001c0ff0") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00030b70();" (call_expression "FUN_00030b70()" (identifier "FUN_00030b70") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (DAT_001c0fe4 == 0) {\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }\n    else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" (if "if") (parenthesized_expression "(DAT_001c0fe4 == 0)" (( "(") (binary_expression "DAT_001c0fe4 == 0" (identifier "DAT_001c0fe4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }\n    }" ({ "{") (if_statement "if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }" (if "if") (parenthesized_expression "((param_3 != 0) && (DAT_001c0fc0 != 1))" (( "(") (binary_expression "(param_3 != 0) && (DAT_001c0fc0 != 1)" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(DAT_001c0fc0 != 1)" (( "(") (binary_expression "DAT_001c0fc0 != 1" (identifier "DAT_001c0fc0") (!= "!=") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n        FUN_00034d60(uVar3,param_1,param_3);\n      }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P:%pS: nonconstant expression for %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P:%pS: nonconstant expression for %s\n"" (" """) (string_content "%F%P:%pS: nonconstant expression for %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d60(uVar3,param_1,param_3);" (call_expression "FUN_00034d60(uVar3,param_1,param_3)" (identifier "FUN_00034d60") (argument_list "(uVar3,param_1,param_3)" (( "(") (identifier "uVar3") (, ",") (identifier "param_1") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" (else "else") (compound_statement "{\n      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }\n      uVar5 = sVar1 + 1 >> 1;\n      param_2 = (uint *)xmalloc(uVar5 + 7);\n      pbVar7 = DAT_001c0fdc;\n      iVar4 = 0;\n      *param_2 = uVar5;\n      puVar2 = param_2 + 1;\n      while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }\n    }" ({ "{") (if_statement "if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }" (if "if") (parenthesized_expression "((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0))" (( "(") (binary_expression "(DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)" (parenthesized_expression "(DAT_001c0fdc == (byte *)0x0)" (( "(") (binary_expression "DAT_001c0fdc == (byte *)0x0" (identifier "DAT_001c0fdc") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)" (( "(") (comma_expression "sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0" (assignment_expression "sVar1 = strlen((char *)DAT_001c0fdc)" (identifier "sVar1") (= "=") (call_expression "strlen((char *)DAT_001c0fdc)" (identifier "strlen") (argument_list "((char *)DAT_001c0fdc)" (( "(") (cast_expression "(char *)DAT_001c0fdc" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "DAT_001c0fdc")) () ")")))) (, ",") (binary_expression "sVar1 == 0" (identifier "sVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        puVar2 = (uint *)xmalloc(0xb);\n        uVar5 = DAT_001c0fd4;\n        *puVar2 = 4;\n        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n        return puVar2;\n      }" ({ "{") (expression_statement "puVar2 = (uint *)xmalloc(0xb);" (assignment_expression "puVar2 = (uint *)xmalloc(0xb)" (identifier "puVar2") (= "=") (cast_expression "(uint *)xmalloc(0xb)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0xb)" (identifier "xmalloc") (argument_list "(0xb)" (( "(") (number_literal "0xb") () ")"))))) (; ";")) (expression_statement "uVar5 = DAT_001c0fd4;" (assignment_expression "uVar5 = DAT_001c0fd4" (identifier "uVar5") (= "=") (identifier "DAT_001c0fd4")) (; ";")) (expression_statement "*puVar2 = 4;" (assignment_expression "*puVar2 = 4" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "4")) (; ";")) (expression_statement "puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" (identifier "uVar5") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" (( "(") (binary_expression "uVar5 & 0xff0000" (identifier "uVar5") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" (( "(") (binary_expression "uVar5 & 0xff00" (identifier "uVar5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar5 << 0x18" (identifier "uVar5") (<< "<<") (number_literal "0x18")))) (; ";")) (return_statement "return puVar2;" (return "return") (identifier "puVar2") (; ";")) (} "}"))) (expression_statement "uVar5 = sVar1 + 1 >> 1;" (assignment_expression "uVar5 = sVar1 + 1 >> 1" (identifier "uVar5") (= "=") (binary_expression "sVar1 + 1 >> 1" (binary_expression "sVar1 + 1" (identifier "sVar1") (+ "+") (number_literal "1")) (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "param_2 = (uint *)xmalloc(uVar5 + 7);" (assignment_expression "param_2 = (uint *)xmalloc(uVar5 + 7)" (identifier "param_2") (= "=") (cast_expression "(uint *)xmalloc(uVar5 + 7)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(uVar5 + 7)" (identifier "xmalloc") (argument_list "(uVar5 + 7)" (( "(") (binary_expression "uVar5 + 7" (identifier "uVar5") (+ "+") (number_literal "7")) () ")"))))) (; ";")) (expression_statement "pbVar7 = DAT_001c0fdc;" (assignment_expression "pbVar7 = DAT_001c0fdc" (identifier "pbVar7") (= "=") (identifier "DAT_001c0fdc")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = uVar5;" (assignment_expression "*param_2 = uVar5" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "puVar2 = param_2 + 1;" (assignment_expression "puVar2 = param_2 + 1" (identifier "puVar2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (while_statement "while( true ) {\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);\n        *(char *)puVar2 = (char)iVar4;\n        if (sVar1 == 0) break;\n        puVar2 = (uint *)((int)puVar2 + 1);\n        iVar4 = 0;\n      }" ({ "{") (do_statement "do {\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        } while ((sVar1 & 1) != 0);" (do "do") (compound_statement "{\n          pbVar6 = pbVar7 + 1;\n          uVar5 = *pbVar7 - 0x30;\n          if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }\n          sVar1 = sVar1 - 1;\n          iVar4 = iVar4 * 0x10 + uVar5;\n          pbVar7 = pbVar6;\n        }" ({ "{") (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = *pbVar7 - 0x30;" (assignment_expression "uVar5 = *pbVar7 - 0x30" (identifier "uVar5") (= "=") (binary_expression "*pbVar7 - 0x30" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (- "-") (number_literal "0x30"))) (; ";")) (if_statement "if (9 < uVar5) {\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }" (if "if") (parenthesized_expression "(9 < uVar5)" (( "(") (binary_expression "9 < uVar5" (number_literal "9") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n            uVar5 = *pbVar7 - 0x37 & 0xf;\n          }" ({ "{") (expression_statement "uVar5 = *pbVar7 - 0x37 & 0xf;" (assignment_expression "uVar5 = *pbVar7 - 0x37 & 0xf" (identifier "uVar5") (= "=") (binary_expression "*pbVar7 - 0x37 & 0xf" (binary_expression "*pbVar7 - 0x37" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (- "-") (number_literal "0x37")) (& "&") (number_literal "0xf"))) (; ";")) (} "}"))) (expression_statement "sVar1 = sVar1 - 1;" (assignment_expression "sVar1 = sVar1 - 1" (identifier "sVar1") (= "=") (binary_expression "sVar1 - 1" (identifier "sVar1") (- "-") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = iVar4 * 0x10 + uVar5;" (assignment_expression "iVar4 = iVar4 * 0x10 + uVar5" (identifier "iVar4") (= "=") (binary_expression "iVar4 * 0x10 + uVar5" (binary_expression "iVar4 * 0x10" (identifier "iVar4") (* "*") (number_literal "0x10")) (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" (identifier "pbVar7") (= "=") (identifier "pbVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((sVar1 & 1) != 0)" (( "(") (binary_expression "(sVar1 & 1) != 0" (parenthesized_expression "(sVar1 & 1)" (( "(") (binary_expression "sVar1 & 1" (identifier "sVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "*(char *)puVar2 = (char)iVar4;" (assignment_expression "*(char *)puVar2 = (char)iVar4" (pointer_expression "*(char *)puVar2" (* "*") (cast_expression "(char *)puVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (= "=") (cast_expression "(char)iVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar4"))) (; ";")) (if_statement "if (sVar1 == 0) break;" (if "if") (parenthesized_expression "(sVar1 == 0)" (( "(") (binary_expression "sVar1 == 0" (identifier "sVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar2 = (uint *)((int)puVar2 + 1);" (assignment_expression "puVar2 = (uint *)((int)puVar2 + 1)" (identifier "puVar2") (= "=") (cast_expression "(uint *)((int)puVar2 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 1)" (( "(") (binary_expression "(int)puVar2 + 1" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")))) (} "}"))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

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

type_1 * function_1(type_2 *var_1,type_1 *def,char *var_4)

{
  size_t var_9;
  type_1 *pfVar2;
  char *fmt;
  int var_13;
  type_3 var_11;
  type_4 *var_14;
  type_5 *pbVar6;
  type_5 *var_12;
  
  if (var_1 != (type_2 *)0x0) {
    expld.section = (type_6 *)(var_2 + 0x180);
    expld.rel_from_abs = 0;
    expld.dot._0_4_ = 0;
    expld.dot._4_4_ = 0;
    expld.dotp = (type_7 *)0x0;
    var_3(var_1);
    if (expld.result.valid_p == 0) {
      if ((var_4 != (char *)0x0) && (expld.phase != var_5)) {
        fmt = (char *)var_6(0,"%F%P:%pS: nonconstant expression for %s\n",5);
        var_7(fmt,var_1,var_4);
      }
    }
    else {
      if ((expld.result.str == (char *)0x0) || (var_9 = var_8(expld.result.str), var_9 == 0)) {
        pfVar2 = (type_1 *)var_10(0xb);
        var_11 = (type_3)expld.result.value;
        pfVar2->size = 4;
        *(type_3 *)pfVar2->data =
             var_11 >> 0x18 | (var_11 & 0xff0000) >> 8 | (var_11 & 0xff00) << 8 | var_11 << 0x18;
        return pfVar2;
      }
      var_11 = var_9 + 1 >> 1;
      def = (type_1 *)var_10(var_11 + 7);
      var_12 = (type_5 *)expld.result.str;
      var_13 = 0;
      def->size = var_11;
      var_14 = def->data;
      while( true ) {
        do {
          pbVar6 = var_12 + 1;
          var_11 = *var_12 - 0x30;
          if (9 < var_11) {
            var_11 = *var_12 - 0x37 & 0xf;
          }
          var_9 = var_9 - 1;
          var_13 = var_13 * 0x10 + var_11;
          var_12 = pbVar6;
        } while ((var_9 & 1) != 0);
        *var_14 = (type_4)var_13;
        if (var_9 == 0) break;
        var_14 = var_14 + 1;
        var_13 = 0;
      }
    }
  }
  return def;
}


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

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

uint * MASKED(int param_1,uint *param_2,int param_3)

{
  size_t sVar1;
  uint *puVar2;
  undefined4 uVar3;
  int iVar4;
  uint uVar5;
  byte *pbVar6;
  byte *pbVar7;
  
  if (param_1 != 0) {
    DAT_001c0ff4 = PTR__bfd_std_section_001befc4 + 0x180;
    DAT_001c0fc8 = 0;
    DAT_001c0fe8 = 0;
    DAT_001c0fec = 0;
    DAT_001c0ff0 = 0;
    FUN_00030b70();
    if (DAT_001c0fe4 == 0) {
      if ((param_3 != 0) && (DAT_001c0fc0 != 1)) {
        uVar3 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);
        FUN_00034d60(uVar3,param_1,param_3);
      }
    }
    else {
      if ((DAT_001c0fdc == (byte *)0x0) || (sVar1 = strlen((char *)DAT_001c0fdc), sVar1 == 0)) {
        puVar2 = (uint *)xmalloc(0xb);
        uVar5 = DAT_001c0fd4;
        *puVar2 = 4;
        puVar2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
        return puVar2;
      }
      uVar5 = sVar1 + 1 >> 1;
      param_2 = (uint *)xmalloc(uVar5 + 7);
      pbVar7 = DAT_001c0fdc;
      iVar4 = 0;
      *param_2 = uVar5;
      puVar2 = param_2 + 1;
      while( true ) {
        do {
          pbVar6 = pbVar7 + 1;
          uVar5 = *pbVar7 - 0x30;
          if (9 < uVar5) {
            uVar5 = *pbVar7 - 0x37 & 0xf;
          }
          sVar1 = sVar1 - 1;
          iVar4 = iVar4 * 0x10 + uVar5;
          pbVar7 = pbVar6;
        } while ((sVar1 & 1) != 0);
        *(char *)puVar2 = (char)iVar4;
        if (sVar1 == 0) break;
        puVar2 = (uint *)((int)puVar2 + 1);
        iVar4 = 0;
      }
    }
  }
  return param_2;
}

