
/* DWARF original prototype: off_t address_attribute(Dwarf_die * this, uint attr, uint * shndx) */

off_t __thiscall gold::Dwarf_die::address_attribute(Dwarf_die *this,uint attr,uint *shndx)

{
  Attribute_value *pAVar1;
  char *pcVar2;
  undefined4 uVar3;
  
  pAVar1 = attribute(this,attr);
  if ((pAVar1 == (Attribute_value *)0x0) || (pAVar1->form != 1)) {
    pcVar2 = (char *)0xffffffff;
    uVar3 = 0xffffffff;
  }
  else {
    *shndx = (uint)pAVar1->aux;
    uVar3 = *(undefined4 *)((int)&pAVar1->val + 4);
    pcVar2 = (pAVar1->val).stringval;
  }
  return CONCAT44(uVar3,pcVar2);
}



undefined8 FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  iVar1 = FUN_0020e530(param_1,param_2);
  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {
    uVar2 = 0xffffffff;
    uVar3 = 0xffffffff;
  }
  else {
    *param_3 = *(undefined4 *)(iVar1 + 0x10);
    uVar3 = *(undefined4 *)(iVar1 + 0xc);
    uVar2 = *(undefined4 *)(iVar1 + 8);
  }
  return CONCAT44(uVar3,uVar2);
}


SUB ESP,0x14
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x0020e530
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0020e740
CMP dword ptr [EAX + 0x4],0x1
JNZ 0x0020e740
MOV ECX,dword ptr [EAX + 0x10]
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [EDX],ECX
MOV EDX,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [EAX + 0x8]
ADD ESP,0xc
RET
MOV EAX,0xffffffff
MOV EDX,0xffffffff
JMP 0x0020e73c
(translation_unit "undefined8 FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_0020e530(param_1,param_2);\n  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }\n  return CONCAT44(uVar3,uVar2);\n}\n\n" (function_definition "undefined8 FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_0020e530(param_1,param_2);\n  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }\n  return CONCAT44(uVar3,uVar2);\n}" type_identifier (function_declarator "FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_0020e530(param_1,param_2);\n  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }\n  return CONCAT44(uVar3,uVar2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_0020e530(param_1,param_2);" (assignment_expression "iVar1 = FUN_0020e530(param_1,param_2)" identifier = (call_expression "FUN_0020e530(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" if (parenthesized_expression "((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1))" ( (binary_expression "(iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(iVar1 + 4) != 1)" ( (binary_expression "*(int *)(iVar1 + 4) != 1" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" else (compound_statement "{\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" { (expression_statement "*param_3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "*param_3 = *(undefined4 *)(iVar1 + 0x10)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(iVar1 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) }))) (return_statement "return CONCAT44(uVar3,uVar2);" return (call_expression "CONCAT44(uVar3,uVar2)" identifier (argument_list "(uVar3,uVar2)" ( identifier , identifier ))) ;) })))
(translation_unit "/* DWARF original prototype: off_t address_attribute(Dwarf_die * this, uint attr, uint * shndx) */\n\noff_t __thiscall gold::Dwarf_die::address_attribute(Dwarf_die *this,uint attr,uint *shndx)\n\n{\n  Attribute_value *pAVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  \n  pAVar1 = attribute(this,attr);\n  if ((pAVar1 == (Attribute_value *)0x0) || (pAVar1->form != 1)) {\n    pcVar2 = (char *)0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *shndx = (uint)pAVar1->aux;\n    uVar3 = *(undefined4 *)((int)&pAVar1->val + 4);\n    pcVar2 = (pAVar1->val).stringval;\n  }\n  return CONCAT44(uVar3,pcVar2);\n}\n\n" comment (function_definition "off_t __thiscall gold::Dwarf_die::address_attribute(Dwarf_die *this,uint attr,uint *shndx)\n\n{\n  Attribute_value *pAVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  \n  pAVar1 = attribute(this,attr);\n  if ((pAVar1 == (Attribute_value *)0x0) || (pAVar1->form != 1)) {\n    pcVar2 = (char *)0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *shndx = (uint)pAVar1->aux;\n    uVar3 = *(undefined4 *)((int)&pAVar1->val + 4);\n    pcVar2 = (pAVar1->val).stringval;\n  }\n  return CONCAT44(uVar3,pcVar2);\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwarf_die::" identifier : : identifier : :) (function_declarator "address_attribute(Dwarf_die *this,uint attr,uint *shndx)" identifier (parameter_list "(Dwarf_die *this,uint attr,uint *shndx)" ( (parameter_declaration "Dwarf_die *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint attr" type_identifier identifier) , (parameter_declaration "uint *shndx" type_identifier (pointer_declarator "*shndx" * identifier)) ))) (compound_statement "{\n  Attribute_value *pAVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  \n  pAVar1 = attribute(this,attr);\n  if ((pAVar1 == (Attribute_value *)0x0) || (pAVar1->form != 1)) {\n    pcVar2 = (char *)0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *shndx = (uint)pAVar1->aux;\n    uVar3 = *(undefined4 *)((int)&pAVar1->val + 4);\n    pcVar2 = (pAVar1->val).stringval;\n  }\n  return CONCAT44(uVar3,pcVar2);\n}" { (declaration "Attribute_value *pAVar1;" type_identifier (pointer_declarator "*pAVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "pAVar1 = attribute(this,attr);" (assignment_expression "pAVar1 = attribute(this,attr)" identifier = (call_expression "attribute(this,attr)" identifier (argument_list "(this,attr)" ( identifier , identifier )))) ;) (if_statement "if ((pAVar1 == (Attribute_value *)0x0) || (pAVar1->form != 1)) {\n    pcVar2 = (char *)0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *shndx = (uint)pAVar1->aux;\n    uVar3 = *(undefined4 *)((int)&pAVar1->val + 4);\n    pcVar2 = (pAVar1->val).stringval;\n  }" if (parenthesized_expression "((pAVar1 == (Attribute_value *)0x0) || (pAVar1->form != 1))" ( (binary_expression "(pAVar1 == (Attribute_value *)0x0) || (pAVar1->form != 1)" (parenthesized_expression "(pAVar1 == (Attribute_value *)0x0)" ( (binary_expression "pAVar1 == (Attribute_value *)0x0" identifier == (cast_expression "(Attribute_value *)0x0" ( (type_descriptor "Attribute_value *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pAVar1->form != 1)" ( (binary_expression "pAVar1->form != 1" (field_expression "pAVar1->form" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n    pcVar2 = (char *)0xffffffff;\n    uVar3 = 0xffffffff;\n  }" { (expression_statement "pcVar2 = (char *)0xffffffff;" (assignment_expression "pcVar2 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    *shndx = (uint)pAVar1->aux;\n    uVar3 = *(undefined4 *)((int)&pAVar1->val + 4);\n    pcVar2 = (pAVar1->val).stringval;\n  }" else (compound_statement "{\n    *shndx = (uint)pAVar1->aux;\n    uVar3 = *(undefined4 *)((int)&pAVar1->val + 4);\n    pcVar2 = (pAVar1->val).stringval;\n  }" { (expression_statement "*shndx = (uint)pAVar1->aux;" (assignment_expression "*shndx = (uint)pAVar1->aux" (pointer_expression "*shndx" * identifier) = (cast_expression "(uint)pAVar1->aux" ( (type_descriptor "uint" type_identifier) ) (field_expression "pAVar1->aux" identifier -> field_identifier))) ;) (expression_statement "uVar3 = *(undefined4 *)((int)&pAVar1->val + 4);" (assignment_expression "uVar3 = *(undefined4 *)((int)&pAVar1->val + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pAVar1->val + 4)" * (cast_expression "(undefined4 *)((int)&pAVar1->val + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pAVar1->val + 4)" ( (binary_expression "(int)&pAVar1->val + 4" (cast_expression "(int)&pAVar1->val" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pAVar1->val" & (field_expression "pAVar1->val" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "pcVar2 = (pAVar1->val).stringval;" (assignment_expression "pcVar2 = (pAVar1->val).stringval" identifier = (field_expression "(pAVar1->val).stringval" (parenthesized_expression "(pAVar1->val)" ( (field_expression "pAVar1->val" identifier -> field_identifier) )) . field_identifier)) ;) }))) (return_statement "return CONCAT44(uVar3,pcVar2);" return (call_expression "CONCAT44(uVar3,pcVar2)" identifier (argument_list "(uVar3,pcVar2)" ( identifier , identifier ))) ;) })))
(translation_unit "undefined8 FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_0020e530(param_1,param_2);\n  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }\n  return CONCAT44(uVar3,uVar2);\n}\n\n" (function_definition "undefined8 FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_0020e530(param_1,param_2);\n  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }\n  return CONCAT44(uVar3,uVar2);\n}" type_identifier (function_declarator "FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_0020e530(param_1,param_2);\n  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }\n  return CONCAT44(uVar3,uVar2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_0020e530(param_1,param_2);" (assignment_expression "iVar1 = FUN_0020e530(param_1,param_2)" identifier = (call_expression "FUN_0020e530(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" if (parenthesized_expression "((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1))" ( (binary_expression "(iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(iVar1 + 4) != 1)" ( (binary_expression "*(int *)(iVar1 + 4) != 1" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" else (compound_statement "{\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" { (expression_statement "*param_3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "*param_3 = *(undefined4 *)(iVar1 + 0x10)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(iVar1 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) }))) (return_statement "return CONCAT44(uVar3,uVar2);" return (call_expression "CONCAT44(uVar3,uVar2)" identifier (argument_list "(uVar3,uVar2)" ( identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (return_statement return (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })))
(function_definition "undefined8 FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_0020e530(param_1,param_2);\n  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }\n  return CONCAT44(uVar3,uVar2);\n}" (type_identifier "undefined8") (function_declarator "FUN_0020e710(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" (identifier "FUN_0020e710") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_0020e530(param_1,param_2);\n  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }\n  return CONCAT44(uVar3,uVar2);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "iVar1 = FUN_0020e530(param_1,param_2);" (assignment_expression "iVar1 = FUN_0020e530(param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_0020e530(param_1,param_2)" (identifier "FUN_0020e530") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }\n  else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" (if "if") (parenthesized_expression "((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1))" (( "(") (binary_expression "(iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar1 + 4) != 1)" (( "(") (binary_expression "*(int *)(iVar1 + 4) != 1" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n    uVar2 = 0xffffffff;\n    uVar3 = 0xffffffff;\n  }" ({ "{") (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" (else "else") (compound_statement "{\n    *param_3 = *(undefined4 *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0xc);\n    uVar2 = *(undefined4 *)(iVar1 + 8);\n  }" ({ "{") (expression_statement "*param_3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "*param_3 = *(undefined4 *)(iVar1 + 0x10)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(iVar1 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")))) (return_statement "return CONCAT44(uVar3,uVar2);" (return "return") (call_expression "CONCAT44(uVar3,uVar2)" (identifier "CONCAT44") (argument_list "(uVar3,uVar2)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: off_t address_attribute(Dwarf_die * this, uint attr, uint * shndx) */

type_1 __thiscall gold::type_2::function_1(type_2 *this,type_3 attr,type_3 *shndx)

{
  type_4 *var_2;
  char *pcVar2;
  type_5 uVar3;
  
  var_2 = var_1(this,attr);
  if ((var_2 == (type_4 *)0x0) || (var_2->form != 1)) {
    pcVar2 = (char *)0xffffffff;
    uVar3 = 0xffffffff;
  }
  else {
    *shndx = (type_3)var_2->aux;
    uVar3 = *(type_5 *)((int)&var_2->val + 4);
    pcVar2 = (var_2->val).stringval;
  }
  return var_3(uVar3,pcVar2);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))))

undefined8 MASKED(undefined4 param_1,undefined4 param_2,undefined4 *param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  iVar1 = FUN_0020e530(param_1,param_2);
  if ((iVar1 == 0) || (*(int *)(iVar1 + 4) != 1)) {
    uVar2 = 0xffffffff;
    uVar3 = 0xffffffff;
  }
  else {
    *param_3 = *(undefined4 *)(iVar1 + 0x10);
    uVar3 = *(undefined4 *)(iVar1 + 0xc);
    uVar2 = *(undefined4 *)(iVar1 + 8);
  }
  return CONCAT44(uVar3,uVar2);
}

