
/* WARNING: Unknown calling convention */

bfd_boolean section_iterator_callback(bfd *abfd,asection *s,void *data)

{
  section_iterator_callback_data *d;
  
                    /* WARNING: Load size is inaccurate */
  if (*data != 0) {
    *(undefined4 *)((long)data + 8) = 1;
    return 1;
  }
  *(asection **)data = s;
  return 0;
}



undefined8 FUN_00112260(undefined8 param_1,long param_2,long *param_3)

{
  if (*param_3 != 0) {
    *(undefined4 *)(param_3 + 1) = 1;
    return 1;
  }
  *param_3 = param_2;
  return 0;
}


CMP qword ptr [RDX],0x0
JZ 0x00112278
MOV dword ptr [RDX + 0x8],0x1
MOV EAX,0x1
RET
MOV qword ptr [RDX],RSI
XOR EAX,EAX
RET
(translation_unit "undefined8 FUN_00112260(undefined8 param_1,long param_2,long *param_3)\n\n{\n  if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }\n  *param_3 = param_2;\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00112260(undefined8 param_1,long param_2,long *param_3)\n\n{\n  if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }\n  *param_3 = param_2;\n  return 0;\n}" type_identifier (function_declarator "FUN_00112260(undefined8 param_1,long param_2,long *param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,long *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }\n  *param_3 = param_2;\n  return 0;\n}" { (if_statement "if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }" if (parenthesized_expression "(*param_3 != 0)" ( (binary_expression "*param_3 != 0" (pointer_expression "*param_3" * identifier) != number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }" { (expression_statement "*(undefined4 *)(param_3 + 1) = 1;" (assignment_expression "*(undefined4 *)(param_3 + 1) = 1" (pointer_expression "*(undefined4 *)(param_3 + 1)" * (cast_expression "(undefined4 *)(param_3 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nbfd_boolean section_iterator_callback(bfd *abfd,asection *s,void *data)\n\n{\n  section_iterator_callback_data *d;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*data != 0) {\n    *(undefined4 *)((long)data + 8) = 1;\n    return 1;\n  }\n  *(asection **)data = s;\n  return 0;\n}\n\n" comment (function_definition "bfd_boolean section_iterator_callback(bfd *abfd,asection *s,void *data)\n\n{\n  section_iterator_callback_data *d;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*data != 0) {\n    *(undefined4 *)((long)data + 8) = 1;\n    return 1;\n  }\n  *(asection **)data = s;\n  return 0;\n}" type_identifier (function_declarator "section_iterator_callback(bfd *abfd,asection *s,void *data)" identifier (parameter_list "(bfd *abfd,asection *s,void *data)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  section_iterator_callback_data *d;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*data != 0) {\n    *(undefined4 *)((long)data + 8) = 1;\n    return 1;\n  }\n  *(asection **)data = s;\n  return 0;\n}" { (declaration "section_iterator_callback_data *d;" type_identifier (pointer_declarator "*d" * identifier) ;) comment (if_statement "if (*data != 0) {\n    *(undefined4 *)((long)data + 8) = 1;\n    return 1;\n  }" if (parenthesized_expression "(*data != 0)" ( (binary_expression "*data != 0" (pointer_expression "*data" * identifier) != number_literal) )) (compound_statement "{\n    *(undefined4 *)((long)data + 8) = 1;\n    return 1;\n  }" { (expression_statement "*(undefined4 *)((long)data + 8) = 1;" (assignment_expression "*(undefined4 *)((long)data + 8) = 1" (pointer_expression "*(undefined4 *)((long)data + 8)" * (cast_expression "(undefined4 *)((long)data + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)data + 8)" ( (binary_expression "(long)data + 8" (cast_expression "(long)data" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*(asection **)data = s;" (assignment_expression "*(asection **)data = s" (pointer_expression "*(asection **)data" * (cast_expression "(asection **)data" ( (type_descriptor "asection **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00112260(undefined8 param_1,long param_2,long *param_3)\n\n{\n  if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }\n  *param_3 = param_2;\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00112260(undefined8 param_1,long param_2,long *param_3)\n\n{\n  if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }\n  *param_3 = param_2;\n  return 0;\n}" type_identifier (function_declarator "FUN_00112260(undefined8 param_1,long param_2,long *param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,long *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }\n  *param_3 = param_2;\n  return 0;\n}" { (if_statement "if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }" if (parenthesized_expression "(*param_3 != 0)" ( (binary_expression "*param_3 != 0" (pointer_expression "*param_3" * identifier) != number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }" { (expression_statement "*(undefined4 *)(param_3 + 1) = 1;" (assignment_expression "*(undefined4 *)(param_3 + 1) = 1" (pointer_expression "*(undefined4 *)(param_3 + 1)" * (cast_expression "(undefined4 *)(param_3 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00112260(undefined8 param_1,long param_2,long *param_3)\n\n{\n  if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }\n  *param_3 = param_2;\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00112260(undefined8 param_1,long param_2,long *param_3)" (identifier "FUN_00112260") (parameter_list "(undefined8 param_1,long param_2,long *param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long *param_3" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }\n  *param_3 = param_2;\n  return 0;\n}" ({ "{") (if_statement "if (*param_3 != 0) {\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }" (if "if") (parenthesized_expression "(*param_3 != 0)" (( "(") (binary_expression "*param_3 != 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_3 + 1) = 1;\n    return 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_3 + 1) = 1;" (assignment_expression "*(undefined4 *)(param_3 + 1) = 1" (pointer_expression "*(undefined4 *)(param_3 + 1)" (* "*") (cast_expression "(undefined4 *)(param_3 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 1)" (( "(") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *abfd,type_3 *s,void *data)

{
  type_4 *d;
  
                    /* WARNING: Load size is inaccurate */
  if (*data != 0) {
    *(type_5 *)((long)data + 8) = 1;
    return 1;
  }
  *(type_3 **)data = s;
  return 0;
}


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

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

{
  if (*param_3 != 0) {
    *(undefined4 *)(param_3 + 1) = 1;
    return 1;
  }
  *param_3 = param_2;
  return 0;
}

