
/* WARNING: Unknown calling convention */

debug_type_conflict debug_make_int_type(void *handle,uint size,bfd_boolean unsignedp)

{
  debug_type_s *pdVar1;
  uint in_ECX;
  
  pdVar1 = debug_make_type((debug_handle *)0x3,size,in_ECX);
  if (pdVar1 != (debug_type_s *)0x0) {
    (pdVar1->u).kint = unsignedp;
  }
  return pdVar1;
}



void FUN_0003dea0(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  iVar1 = FUN_0003bac0();
  if (iVar1 != 0) {
    *(undefined4 *)(iVar1 + 0xc) = param_3;
  }
  return;
}


SUB ESP,0xc
MOV EAX,0x3
MOV EDX,dword ptr [ESP + 0x14]
CALL 0x0003bac0
TEST EAX,EAX
JZ 0x0003debc
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + 0xc],EDX
ADD ESP,0xc
RET
(translation_unit "void FUN_0003dea0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0003bac0();\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003dea0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0003bac0();\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003dea0(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 identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0003bac0();\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0003bac0();" (assignment_expression "iVar1 = FUN_0003bac0()" identifier = (call_expression "FUN_0003bac0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = param_3" (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) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\ndebug_type_conflict debug_make_int_type(void *handle,uint size,bfd_boolean unsignedp)\n\n{\n  debug_type_s *pdVar1;\n  uint in_ECX;\n  \n  pdVar1 = debug_make_type((debug_handle *)0x3,size,in_ECX);\n  if (pdVar1 != (debug_type_s *)0x0) {\n    (pdVar1->u).kint = unsignedp;\n  }\n  return pdVar1;\n}\n\n" comment (function_definition "debug_type_conflict debug_make_int_type(void *handle,uint size,bfd_boolean unsignedp)\n\n{\n  debug_type_s *pdVar1;\n  uint in_ECX;\n  \n  pdVar1 = debug_make_type((debug_handle *)0x3,size,in_ECX);\n  if (pdVar1 != (debug_type_s *)0x0) {\n    (pdVar1->u).kint = unsignedp;\n  }\n  return pdVar1;\n}" type_identifier (function_declarator "debug_make_int_type(void *handle,uint size,bfd_boolean unsignedp)" identifier (parameter_list "(void *handle,uint size,bfd_boolean unsignedp)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "uint size" type_identifier identifier) , (parameter_declaration "bfd_boolean unsignedp" type_identifier identifier) ))) (compound_statement "{\n  debug_type_s *pdVar1;\n  uint in_ECX;\n  \n  pdVar1 = debug_make_type((debug_handle *)0x3,size,in_ECX);\n  if (pdVar1 != (debug_type_s *)0x0) {\n    (pdVar1->u).kint = unsignedp;\n  }\n  return pdVar1;\n}" { (declaration "debug_type_s *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "uint in_ECX;" type_identifier identifier ;) (expression_statement "pdVar1 = debug_make_type((debug_handle *)0x3,size,in_ECX);" (assignment_expression "pdVar1 = debug_make_type((debug_handle *)0x3,size,in_ECX)" identifier = (call_expression "debug_make_type((debug_handle *)0x3,size,in_ECX)" identifier (argument_list "((debug_handle *)0x3,size,in_ECX)" ( (cast_expression "(debug_handle *)0x3" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier )))) ;) (if_statement "if (pdVar1 != (debug_type_s *)0x0) {\n    (pdVar1->u).kint = unsignedp;\n  }" if (parenthesized_expression "(pdVar1 != (debug_type_s *)0x0)" ( (binary_expression "pdVar1 != (debug_type_s *)0x0" identifier != (cast_expression "(debug_type_s *)0x0" ( (type_descriptor "debug_type_s *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (pdVar1->u).kint = unsignedp;\n  }" { (expression_statement "(pdVar1->u).kint = unsignedp;" (assignment_expression "(pdVar1->u).kint = unsignedp" (field_expression "(pdVar1->u).kint" (parenthesized_expression "(pdVar1->u)" ( (field_expression "pdVar1->u" identifier -> field_identifier) )) . field_identifier) = identifier) ;) })) (return_statement "return pdVar1;" return identifier ;) })))
(translation_unit "void FUN_0003dea0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0003bac0();\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003dea0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0003bac0();\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003dea0(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 identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0003bac0();\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0003bac0();" (assignment_expression "iVar1 = FUN_0003bac0()" identifier = (call_expression "FUN_0003bac0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = param_3" (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) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_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) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0003dea0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0003bac0();\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003dea0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0003dea0") (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") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0003bac0();\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_0003bac0();" (assignment_expression "iVar1 = FUN_0003bac0()" (identifier "iVar1") (= "=") (call_expression "FUN_0003bac0()" (identifier "FUN_0003bac0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0xc) = param_3;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = param_3" (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")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(void *handle,type_2 size,type_3 unsignedp)

{
  type_4 *var_2;
  type_2 in_ECX;
  
  var_2 = var_1((type_5 *)0x3,size,in_ECX);
  if (var_2 != (type_4 *)0x0) {
    (var_2->u).kint = unsignedp;
  }
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) 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: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (identifier))))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  iVar1 = FUN_0003bac0();
  if (iVar1 != 0) {
    *(undefined4 *)(iVar1 + 0xc) = param_3;
  }
  return;
}

