
/* DWARF original prototype: bool has_dynamic_reloc_list(Output_segment * this, Output_data_list *
   pdl) */

bool __thiscall
gold::Output_segment::has_dynamic_reloc_list(Output_segment *this,Output_data_list *pdl)

{
  pointer ppOVar1;
  byte bVar2;
  pointer ppOVar3;
  byte bVar4;
  
  ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).
            _M_impl._M_start;
  ppOVar1 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).
            _M_impl._M_finish;
  if (ppOVar3 == ppOVar1) {
    return false;
  }
  bVar2 = (byte)(*ppOVar3)->field_0x1c >> 4;
  if ((bVar2 & 1) == 0) {
    while (ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1) {
      bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;
      if ((bVar4 & 1) != 0) {
        return (bool)(bVar4 & 1);
      }
    }
  }
  return (bool)(bVar2 & 1);
}



byte FUN_000effa0(undefined4 param_1,int *param_2)

{
  byte bVar1;
  int *piVar2;
  byte bVar3;
  
  piVar2 = (int *)*param_2;
  if (piVar2 == (int *)param_2[1]) {
    return 0;
  }
  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;
  if ((bVar1 & 1) == 0) {
    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {
      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;
      if ((bVar3 & 1) != 0) {
        return bVar3 & 1;
      }
    }
  }
  return bVar1 & 1;
}


PUSH EBX
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EAX]
MOV EBX,dword ptr [EAX + 0x4]
CMP ECX,EBX
JZ 0x000effe4
MOV EAX,dword ptr [ECX]
MOVZX EAX,byte ptr [EAX + 0x1c]
SHR AL,0x4
AND EAX,0x1
JNZ 0x000effdd
ADD ECX,0x4
JMP 0x000effd9
MOV EDX,dword ptr [ECX]
ADD ECX,0x4
MOVZX EDX,byte ptr [EDX + 0x1c]
SHR DL,0x4
AND EDX,0x1
JNZ 0x000effe0
CMP ECX,EBX
JNZ 0x000effc8
POP EBX
RET
MOV EAX,EDX
POP EBX
RET
XOR EAX,EAX
POP EBX
RET
(translation_unit "byte FUN_000effa0(undefined4 param_1,int *param_2)\n\n{\n  byte bVar1;\n  int *piVar2;\n  byte bVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }\n  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;\n  if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }\n  return bVar1 & 1;\n}\n\n" (function_definition "byte FUN_000effa0(undefined4 param_1,int *param_2)\n\n{\n  byte bVar1;\n  int *piVar2;\n  byte bVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }\n  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;\n  if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }\n  return bVar1 & 1;\n}" type_identifier (function_declarator "FUN_000effa0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  byte bVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }\n  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;\n  if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }\n  return bVar1 & 1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }" if (parenthesized_expression "(piVar2 == (int *)param_2[1])" ( (binary_expression "piVar2 == (int *)param_2[1]" identifier == (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;" (assignment_expression "bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4" identifier = (binary_expression "*(byte *)(*piVar2 + 0x1c) >> 4" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" * (cast_expression "(byte *)(*piVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) >> number_literal)) ;) (if_statement "if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }" if (parenthesized_expression "((bVar1 & 1) == 0)" ( (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }" { (while_statement "while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }" while (parenthesized_expression "(piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1])" ( (comma_expression "piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) , (binary_expression "piVar2 != (int *)param_2[1]" identifier != (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])))) )) (compound_statement "{\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }" { (expression_statement "bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;" (assignment_expression "bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4" identifier = (binary_expression "*(byte *)(*piVar2 + 0x1c) >> 4" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" * (cast_expression "(byte *)(*piVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) >> number_literal)) ;) (if_statement "if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }" if (parenthesized_expression "((bVar3 & 1) != 0)" ( (binary_expression "(bVar3 & 1) != 0" (parenthesized_expression "(bVar3 & 1)" ( (binary_expression "bVar3 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        return bVar3 & 1;\n      }" { (return_statement "return bVar3 & 1;" return (binary_expression "bVar3 & 1" identifier & number_literal) ;) })) })) })) (return_statement "return bVar1 & 1;" return (binary_expression "bVar1 & 1" identifier & number_literal) ;) })))
(translation_unit "/* DWARF original prototype: bool has_dynamic_reloc_list(Output_segment * this, Output_data_list *\n   pdl) */\n\nbool __thiscall\ngold::Output_segment::has_dynamic_reloc_list(Output_segment *this,Output_data_list *pdl)\n\n{\n  pointer ppOVar1;\n  byte bVar2;\n  pointer ppOVar3;\n  byte bVar4;\n  \n  ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  ppOVar1 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_finish;\n  if (ppOVar3 == ppOVar1) {\n    return false;\n  }\n  bVar2 = (byte)(*ppOVar3)->field_0x1c >> 4;\n  if ((bVar2 & 1) == 0) {\n    while (ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1) {\n      bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;\n      if ((bVar4 & 1) != 0) {\n        return (bool)(bVar4 & 1);\n      }\n    }\n  }\n  return (bool)(bVar2 & 1);\n}\n\n" comment (function_definition "bool __thiscall\ngold::Output_segment::has_dynamic_reloc_list(Output_segment *this,Output_data_list *pdl)\n\n{\n  pointer ppOVar1;\n  byte bVar2;\n  pointer ppOVar3;\n  byte bVar4;\n  \n  ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  ppOVar1 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_finish;\n  if (ppOVar3 == ppOVar1) {\n    return false;\n  }\n  bVar2 = (byte)(*ppOVar3)->field_0x1c >> 4;\n  if ((bVar2 & 1) == 0) {\n    while (ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1) {\n      bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;\n      if ((bVar4 & 1) != 0) {\n        return (bool)(bVar4 & 1);\n      }\n    }\n  }\n  return (bool)(bVar2 & 1);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "has_dynamic_reloc_list(Output_segment *this,Output_data_list *pdl)" identifier (parameter_list "(Output_segment *this,Output_data_list *pdl)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_data_list *pdl" type_identifier (pointer_declarator "*pdl" * identifier)) ))) (compound_statement "{\n  pointer ppOVar1;\n  byte bVar2;\n  pointer ppOVar3;\n  byte bVar4;\n  \n  ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  ppOVar1 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_finish;\n  if (ppOVar3 == ppOVar1) {\n    return false;\n  }\n  bVar2 = (byte)(*ppOVar3)->field_0x1c >> 4;\n  if ((bVar2 & 1) == 0) {\n    while (ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1) {\n      bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;\n      if ((bVar4 & 1) != 0) {\n        return (bool)(bVar4 & 1);\n      }\n    }\n  }\n  return (bool)(bVar2 & 1);\n}" { (declaration "pointer ppOVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "pointer ppOVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;" (assignment_expression "ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start" identifier = (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (ERROR "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::" (comma_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold::Output_data*" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Output_data*>_>" (binary_expression "Output_data*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "ppOVar1 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_finish;" (assignment_expression "ppOVar1 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_finish" identifier = (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_finish" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (ERROR "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::" (comma_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold::Output_data*" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Output_data*>_>" (binary_expression "Output_data*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (ppOVar3 == ppOVar1) {\n    return false;\n  }" if (parenthesized_expression "(ppOVar3 == ppOVar1)" ( (binary_expression "ppOVar3 == ppOVar1" identifier == identifier) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "bVar2 = (byte)(*ppOVar3)->field_0x1c >> 4;" (assignment_expression "bVar2 = (byte)(*ppOVar3)->field_0x1c >> 4" identifier = (binary_expression "(byte)(*ppOVar3)->field_0x1c >> 4" (field_expression "(byte)(*ppOVar3)->field_0x1c" (call_expression "(byte)(*ppOVar3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*ppOVar3)" ( (pointer_expression "*ppOVar3" * identifier) ))) -> field_identifier) >> number_literal)) ;) (if_statement "if ((bVar2 & 1) == 0) {\n    while (ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1) {\n      bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;\n      if ((bVar4 & 1) != 0) {\n        return (bool)(bVar4 & 1);\n      }\n    }\n  }" if (parenthesized_expression "((bVar2 & 1) == 0)" ( (binary_expression "(bVar2 & 1) == 0" (parenthesized_expression "(bVar2 & 1)" ( (binary_expression "bVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    while (ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1) {\n      bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;\n      if ((bVar4 & 1) != 0) {\n        return (bool)(bVar4 & 1);\n      }\n    }\n  }" { (while_statement "while (ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1) {\n      bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;\n      if ((bVar4 & 1) != 0) {\n        return (bool)(bVar4 & 1);\n      }\n    }" while (parenthesized_expression "(ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1)" ( (comma_expression "ppOVar3 = ppOVar3 + 1, ppOVar3 != ppOVar1" (assignment_expression "ppOVar3 = ppOVar3 + 1" identifier = (binary_expression "ppOVar3 + 1" identifier + number_literal)) , (binary_expression "ppOVar3 != ppOVar1" identifier != identifier)) )) (compound_statement "{\n      bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;\n      if ((bVar4 & 1) != 0) {\n        return (bool)(bVar4 & 1);\n      }\n    }" { (expression_statement "bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4;" (assignment_expression "bVar4 = (byte)(*ppOVar3)->field_0x1c >> 4" identifier = (binary_expression "(byte)(*ppOVar3)->field_0x1c >> 4" (field_expression "(byte)(*ppOVar3)->field_0x1c" (call_expression "(byte)(*ppOVar3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*ppOVar3)" ( (pointer_expression "*ppOVar3" * identifier) ))) -> field_identifier) >> number_literal)) ;) (if_statement "if ((bVar4 & 1) != 0) {\n        return (bool)(bVar4 & 1);\n      }" if (parenthesized_expression "((bVar4 & 1) != 0)" ( (binary_expression "(bVar4 & 1) != 0" (parenthesized_expression "(bVar4 & 1)" ( (binary_expression "bVar4 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        return (bool)(bVar4 & 1);\n      }" { (return_statement "return (bool)(bVar4 & 1);" return (cast_expression "(bool)(bVar4 & 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar4 & 1)" ( (binary_expression "bVar4 & 1" identifier & number_literal) ))) ;) })) })) })) (return_statement "return (bool)(bVar2 & 1);" return (cast_expression "(bool)(bVar2 & 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar2 & 1)" ( (binary_expression "bVar2 & 1" identifier & number_literal) ))) ;) })))
(translation_unit "byte FUN_000effa0(undefined4 param_1,int *param_2)\n\n{\n  byte bVar1;\n  int *piVar2;\n  byte bVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }\n  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;\n  if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }\n  return bVar1 & 1;\n}\n\n" (function_definition "byte FUN_000effa0(undefined4 param_1,int *param_2)\n\n{\n  byte bVar1;\n  int *piVar2;\n  byte bVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }\n  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;\n  if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }\n  return bVar1 & 1;\n}" type_identifier (function_declarator "FUN_000effa0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  byte bVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }\n  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;\n  if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }\n  return bVar1 & 1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }" if (parenthesized_expression "(piVar2 == (int *)param_2[1])" ( (binary_expression "piVar2 == (int *)param_2[1]" identifier == (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;" (assignment_expression "bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4" identifier = (binary_expression "*(byte *)(*piVar2 + 0x1c) >> 4" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" * (cast_expression "(byte *)(*piVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) >> number_literal)) ;) (if_statement "if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }" if (parenthesized_expression "((bVar1 & 1) == 0)" ( (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }" { (while_statement "while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }" while (parenthesized_expression "(piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1])" ( (comma_expression "piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) , (binary_expression "piVar2 != (int *)param_2[1]" identifier != (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])))) )) (compound_statement "{\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }" { (expression_statement "bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;" (assignment_expression "bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4" identifier = (binary_expression "*(byte *)(*piVar2 + 0x1c) >> 4" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" * (cast_expression "(byte *)(*piVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) >> number_literal)) ;) (if_statement "if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }" if (parenthesized_expression "((bVar3 & 1) != 0)" ( (binary_expression "(bVar3 & 1) != 0" (parenthesized_expression "(bVar3 & 1)" ( (binary_expression "bVar3 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        return bVar3 & 1;\n      }" { (return_statement "return bVar3 & 1;" return (binary_expression "bVar3 & 1" identifier & number_literal) ;) })) })) })) (return_statement "return bVar1 & 1;" return (binary_expression "bVar1 & 1" identifier & number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (return_statement return (binary_expression IDENT & LIT) ;) })) })) })) (return_statement return (binary_expression IDENT & LIT) ;) })))
(function_definition "byte FUN_000effa0(undefined4 param_1,int *param_2)\n\n{\n  byte bVar1;\n  int *piVar2;\n  byte bVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }\n  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;\n  if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }\n  return bVar1 & 1;\n}" (type_identifier "byte") (function_declarator "FUN_000effa0(undefined4 param_1,int *param_2)" (identifier "FUN_000effa0") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  byte bVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }\n  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;\n  if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }\n  return bVar1 & 1;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (piVar2 == (int *)param_2[1]) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(piVar2 == (int *)param_2[1])" (( "(") (binary_expression "piVar2 == (int *)param_2[1]" (identifier "piVar2") (== "==") (cast_expression "(int *)param_2[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;" (assignment_expression "bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4" (identifier "bVar1") (= "=") (binary_expression "*(byte *)(*piVar2 + 0x1c) >> 4" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" (* "*") (cast_expression "(byte *)(*piVar2 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 0x1c)" (( "(") (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x1c")) () ")")))) (>> ">>") (number_literal "4"))) (; ";")) (if_statement "if ((bVar1 & 1) == 0) {\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((bVar1 & 1) == 0)" (( "(") (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" (( "(") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }\n  }" ({ "{") (while_statement "while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }" (while "while") (parenthesized_expression "(piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1])" (( "(") (comma_expression "piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (, ",") (binary_expression "piVar2 != (int *)param_2[1]" (identifier "piVar2") (!= "!=") (cast_expression "(int *)param_2[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))))) () ")")) (compound_statement "{\n      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;\n      if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }\n    }" ({ "{") (expression_statement "bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;" (assignment_expression "bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4" (identifier "bVar3") (= "=") (binary_expression "*(byte *)(*piVar2 + 0x1c) >> 4" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" (* "*") (cast_expression "(byte *)(*piVar2 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 0x1c)" (( "(") (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x1c")) () ")")))) (>> ">>") (number_literal "4"))) (; ";")) (if_statement "if ((bVar3 & 1) != 0) {\n        return bVar3 & 1;\n      }" (if "if") (parenthesized_expression "((bVar3 & 1) != 0)" (( "(") (binary_expression "(bVar3 & 1) != 0" (parenthesized_expression "(bVar3 & 1)" (( "(") (binary_expression "bVar3 & 1" (identifier "bVar3") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return bVar3 & 1;\n      }" ({ "{") (return_statement "return bVar3 & 1;" (return "return") (binary_expression "bVar3 & 1" (identifier "bVar3") (& "&") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return bVar1 & 1;" (return "return") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1")) (; ";")) (} "}")))

/* DWARF original prototype: bool has_dynamic_reloc_list(Output_segment * this, Output_data_list *
   pdl) */

bool __thiscall
gold::type_1::function_1(type_1 *this,type_2 *pdl)

{
  type_3 var_5;
  type_4 var_6;
  type_3 var_4;
  type_4 var_7;
  
  var_4 = (pdl->super__Vector_base<gold::var_1*var_3,_std::allocator<gold::var_1*>var_2>var_3).
            _M_impl._M_start;
  var_5 = (pdl->super__Vector_base<gold::var_1*var_3,_std::allocator<gold::var_1*>var_2>var_3).
            _M_impl._M_finish;
  if (var_4 == var_5) {
    return false;
  }
  var_6 = (type_4)(*var_4)->field_0x1c >> 4;
  if ((var_6 & 1) == 0) {
    while (var_4 = var_4 + 1, var_4 != var_5) {
      var_7 = (type_4)(*var_4)->field_0x1c >> 4;
      if ((var_7 & 1) != 0) {
        return (bool)(var_7 & 1);
      }
    }
  }
  return (bool)(var_6 & 1);
}


(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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

byte MASKED(undefined4 param_1,int *param_2)

{
  byte bVar1;
  int *piVar2;
  byte bVar3;
  
  piVar2 = (int *)*param_2;
  if (piVar2 == (int *)param_2[1]) {
    return 0;
  }
  bVar1 = *(byte *)(*piVar2 + 0x1c) >> 4;
  if ((bVar1 & 1) == 0) {
    while (piVar2 = piVar2 + 1, piVar2 != (int *)param_2[1]) {
      bVar3 = *(byte *)(*piVar2 + 0x1c) >> 4;
      if ((bVar3 & 1) != 0) {
        return bVar3 & 1;
      }
    }
  }
  return bVar1 & 1;
}

