
debug_visibility debug_get_field_visibility(void *handle,debug_field field)

{
  if (field != (debug_field)0x0) {
    return field->visibility;
  }
  return DEBUG_VISIBILITY_IGNORE;
}



undefined4 FUN_000206b0(undefined4 param_1,int param_2)

{
  if (param_2 != 0) {
    return *(undefined4 *)(param_2 + 8);
  }
  return 3;
}


MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x000206c0
MOV EAX,dword ptr [EAX + 0x8]
RET
MOV EAX,0x3
RET
(translation_unit "undefined4 FUN_000206b0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }\n  return 3;\n}\n\n" (function_definition "undefined4 FUN_000206b0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }\n  return 3;\n}" type_identifier (function_declarator "FUN_000206b0(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 identifier) ))) (compound_statement "{\n  if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }\n  return 3;\n}" { (if_statement "if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined4 *)(param_2 + 8);\n  }" { (return_statement "return *(undefined4 *)(param_2 + 8);" return (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) ;) })) (return_statement "return 3;" return number_literal ;) })))
(translation_unit "debug_visibility debug_get_field_visibility(void *handle,debug_field field)\n\n{\n  if (field != (debug_field)0x0) {\n    return field->visibility;\n  }\n  return DEBUG_VISIBILITY_IGNORE;\n}\n\n" (function_definition "debug_visibility debug_get_field_visibility(void *handle,debug_field field)\n\n{\n  if (field != (debug_field)0x0) {\n    return field->visibility;\n  }\n  return DEBUG_VISIBILITY_IGNORE;\n}" type_identifier (function_declarator "debug_get_field_visibility(void *handle,debug_field field)" identifier (parameter_list "(void *handle,debug_field field)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "debug_field field" type_identifier identifier) ))) (compound_statement "{\n  if (field != (debug_field)0x0) {\n    return field->visibility;\n  }\n  return DEBUG_VISIBILITY_IGNORE;\n}" { (if_statement "if (field != (debug_field)0x0) {\n    return field->visibility;\n  }" if (parenthesized_expression "(field != (debug_field)0x0)" ( (binary_expression "field != (debug_field)0x0" identifier != (cast_expression "(debug_field)0x0" ( (type_descriptor "debug_field" type_identifier) ) number_literal)) )) (compound_statement "{\n    return field->visibility;\n  }" { (return_statement "return field->visibility;" return (field_expression "field->visibility" identifier -> field_identifier) ;) })) (return_statement "return DEBUG_VISIBILITY_IGNORE;" return identifier ;) })))
(translation_unit "undefined4 FUN_000206b0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }\n  return 3;\n}\n\n" (function_definition "undefined4 FUN_000206b0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }\n  return 3;\n}" type_identifier (function_declarator "FUN_000206b0(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 identifier) ))) (compound_statement "{\n  if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }\n  return 3;\n}" { (if_statement "if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined4 *)(param_2 + 8);\n  }" { (return_statement "return *(undefined4 *)(param_2 + 8);" return (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) ;) })) (return_statement "return 3;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000206b0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }\n  return 3;\n}" (type_identifier "undefined4") (function_declarator "FUN_000206b0(undefined4 param_1,int param_2)" (identifier "FUN_000206b0") (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") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }\n  return 3;\n}" ({ "{") (if_statement "if (param_2 != 0) {\n    return *(undefined4 *)(param_2 + 8);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined4 *)(param_2 + 8);\n  }" ({ "{") (return_statement "return *(undefined4 *)(param_2 + 8);" (return "return") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (return_statement "return 3;" (return "return") (number_literal "3") (; ";")) (} "}")))

type_1 function_1(void *handle,type_2 var_1)

{
  if (var_1 != (type_2)0x0) {
    return var_1->visibility;
  }
  return DEBUG_VISIBILITY_IGNORE;
}


(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)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (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 (number_literal)))))

undefined4 MASKED(undefined4 param_1,int param_2)

{
  if (param_2 != 0) {
    return *(undefined4 *)(param_2 + 8);
  }
  return 3;
}

