
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: bool resolve(Target_powerpc<64,_false> * this, Symbol * to,
   Sym<64,_false> * sym, Object * param_3, char * param_4) */

bool __thiscall
anon_unknown.dwarf_2af53c::Target_powerpc<64,_false>::resolve
          (Target_powerpc<64,_false> *this,Symbol *to,Sym<64,_false> *sym,Object *param_3,
          char *param_4)

{
  if ((sym->p_->st_other & 0xe0) != 0) {
    to->field_0x2c = to->field_0x2c | 0x10;
  }
  return false;
}



undefined4 FUN_0004d520(undefined4 param_1,int param_2,int *param_3)

{
  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {
    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;
  }
  return 0;
}


MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [EDX]
TEST byte ptr [EDX + 0x5],0xe0
JZ 0x0004d534
OR byte ptr [EAX + 0x2c],0x10
XOR EAX,EAX
RET
(translation_unit "undefined4 FUN_0004d520(undefined4 param_1,int param_2,int *param_3)\n\n{\n  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004d520(undefined4 param_1,int param_2,int *param_3)\n\n{\n  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004d520(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }\n  return 0;\n}" { (if_statement "if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }" if (parenthesized_expression "((*(byte *)(*param_3 + 5) & 0xe0) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 5) & 0xe0) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 5) & 0xe0)" ( (binary_expression "*(byte *)(*param_3 + 5) & 0xe0" (pointer_expression "*(byte *)(*param_3 + 5)" * (cast_expression "(byte *)(*param_3 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 5)" ( (binary_expression "*param_3 + 5" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }" { (expression_statement "*(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;" (assignment_expression "*(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10" (pointer_expression "*(byte *)(param_2 + 0x2c)" * (cast_expression "(byte *)(param_2 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_2 + 0x2c) | 0x10" (pointer_expression "*(byte *)(param_2 + 0x2c)" * (cast_expression "(byte *)(param_2 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) | number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: bool resolve(Target_powerpc<64,_false> * this, Symbol * to,\n   Sym<64,_false> * sym, Object * param_3, char * param_4) */\n\nbool __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<64,_false>::resolve\n          (Target_powerpc<64,_false> *this,Symbol *to,Sym<64,_false> *sym,Object *param_3,\n          char *param_4)\n\n{\n  if ((sym->p_->st_other & 0xe0) != 0) {\n    to->field_0x2c = to->field_0x2c | 0x10;\n  }\n  return false;\n}\n\n" comment comment (declaration "bool __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<64,_false>::resolve\n          (Target_powerpc<64,_false> *this,Symbol *to,Sym<64,_false> *sym,Object *param_3,\n          char *param_4)\n\n{\n  if ((sym->p_->st_other & 0xe0) != 0) {\n    to->field_0x2c = to->field_0x2c | 0x10;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_2af53c::" identifier . identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::" identifier > : :) (init_declarator "resolve\n          (Target_powerpc<64,_false> *this,Symbol *to,Sym<64,_false> *sym,Object *param_3,\n          char *param_4)\n\n{\n  if ((sym->p_->st_other & 0xe0) != 0) {\n    to->field_0x2c = to->field_0x2c | 0x10" (function_declarator "resolve\n          (Target_powerpc<64,_false> *this,Symbol *to,Sym<64,_false> *sym,Object *param_3,\n          char *param_4)\n\n{\n  if ((sym->p_->st_other & 0xe0) != 0) {\n    to->field_0x2c" (function_declarator "resolve\n          (Target_powerpc<64,_false> *this,Symbol *to,Sym<64,_false> *sym,Object *param_3,\n          char *param_4)" identifier (parameter_list "(Target_powerpc<64,_false> *this,Symbol *to,Sym<64,_false> *sym,Object *param_3,\n          char *param_4)" ( (parameter_declaration "Target_powerpc" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *to" type_identifier (pointer_declarator "*to" * identifier)) , (parameter_declaration "Sym" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *sym" type_identifier (ERROR ">" >) (pointer_declarator "*sym" * identifier)) , (parameter_declaration "Object *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (ERROR "{\n  if (" { if () (parameter_list "(sym->p_->st_other & 0xe0)" ( (parameter_declaration "sym->p_->st_other" type_identifier (ERROR "->p_->" -> identifier ->) identifier) (ERROR "& 0xe0" & number_literal) )) (ERROR "!= 0) {" != number_literal ) {) identifier (ERROR "->" ->) identifier) = (binary_expression "to->field_0x2c | 0x10" (field_expression "to->field_0x2c" identifier -> field_identifier) | number_literal)) ;) (ERROR "}" }) (return_statement "return false;" return false ;) (ERROR "}" }))
(translation_unit "undefined4 FUN_0004d520(undefined4 param_1,int param_2,int *param_3)\n\n{\n  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004d520(undefined4 param_1,int param_2,int *param_3)\n\n{\n  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004d520(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }\n  return 0;\n}" { (if_statement "if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }" if (parenthesized_expression "((*(byte *)(*param_3 + 5) & 0xe0) != 0)" ( (binary_expression "(*(byte *)(*param_3 + 5) & 0xe0) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 5) & 0xe0)" ( (binary_expression "*(byte *)(*param_3 + 5) & 0xe0" (pointer_expression "*(byte *)(*param_3 + 5)" * (cast_expression "(byte *)(*param_3 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 5)" ( (binary_expression "*param_3 + 5" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }" { (expression_statement "*(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;" (assignment_expression "*(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10" (pointer_expression "*(byte *)(param_2 + 0x2c)" * (cast_expression "(byte *)(param_2 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_2 + 0x2c) | 0x10" (pointer_expression "*(byte *)(param_2 + 0x2c)" * (cast_expression "(byte *)(param_2 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) | number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })))
(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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0004d520(undefined4 param_1,int param_2,int *param_3)\n\n{\n  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0004d520(undefined4 param_1,int param_2,int *param_3)" (identifier "FUN_0004d520") (parameter_list "(undefined4 param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }\n  return 0;\n}" ({ "{") (if_statement "if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }" (if "if") (parenthesized_expression "((*(byte *)(*param_3 + 5) & 0xe0) != 0)" (( "(") (binary_expression "(*(byte *)(*param_3 + 5) & 0xe0) != 0" (parenthesized_expression "(*(byte *)(*param_3 + 5) & 0xe0)" (( "(") (binary_expression "*(byte *)(*param_3 + 5) & 0xe0" (pointer_expression "*(byte *)(*param_3 + 5)" (* "*") (cast_expression "(byte *)(*param_3 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 5)" (( "(") (binary_expression "*param_3 + 5" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "5")) () ")")))) (& "&") (number_literal "0xe0")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;\n  }" ({ "{") (expression_statement "*(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;" (assignment_expression "*(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10" (pointer_expression "*(byte *)(param_2 + 0x2c)" (* "*") (cast_expression "(byte *)(param_2 + 0x2c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(byte *)(param_2 + 0x2c) | 0x10" (pointer_expression "*(byte *)(param_2 + 0x2c)" (* "*") (cast_expression "(byte *)(param_2 + 0x2c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))) (| "|") (number_literal "0x10"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: bool resolve(Target_powerpc<64,_false> * this, Symbol * to,
   Sym<64,_false> * sym, Object * param_3, char * param_4) */

bool __thiscall
anon_unknown.dwarf_2af53c::type_1<64,type_2>::function_1
          (type_1<64,type_2> *this,type_3 *function_2,type_4<64,type_2> *type_6,type_5 *param_3,
          char *param_4)

{
  if ((type_6->p_->st_other & 0xe0) != 0) {
    function_2->function_3 = function_2->function_3 | 0x10;
  }
  return false;
}


(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: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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))))) 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: (identifier) right: (number_literal))))) right: (number_literal)))))) (return_statement (number_literal)))))

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

{
  if ((*(byte *)(*param_3 + 5) & 0xe0) != 0) {
    *(byte *)(param_2 + 0x2c) = *(byte *)(param_2 + 0x2c) | 0x10;
  }
  return 0;
}

