
ParameterError str2num(long *val,char *str)

{
  ParameterError PVar1;
  
  if (str != (char *)0x0) {
    PVar1 = str2num(val,str);
    return PVar1;
  }
  return PARAM_BAD_NUMERIC;
}



undefined4 FUN_00023fa0(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_2 != 0) {
    uVar1 = FUN_00023bc0();
    return uVar1;
  }
  return 10;
}


MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x4]
TEST EDX,EDX
JZ 0x00023fb8
JMP 0x00023bc0
MOV EAX,0xa
RET
(translation_unit "undefined4 FUN_00023fa0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }\n  return 10;\n}\n\n" (function_definition "undefined4 FUN_00023fa0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }\n  return 10;\n}" type_identifier (function_declarator "FUN_00023fa0(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  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }\n  return 10;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_00023bc0();" (assignment_expression "uVar1 = FUN_00023bc0()" identifier = (call_expression "FUN_00023bc0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 10;" return number_literal ;) })))
(translation_unit "ParameterError str2num(long *val,char *str)\n\n{\n  ParameterError PVar1;\n  \n  if (str != (char *)0x0) {\n    PVar1 = str2num(val,str);\n    return PVar1;\n  }\n  return PARAM_BAD_NUMERIC;\n}\n\n" (function_definition "ParameterError str2num(long *val,char *str)\n\n{\n  ParameterError PVar1;\n  \n  if (str != (char *)0x0) {\n    PVar1 = str2num(val,str);\n    return PVar1;\n  }\n  return PARAM_BAD_NUMERIC;\n}" type_identifier (function_declarator "str2num(long *val,char *str)" identifier (parameter_list "(long *val,char *str)" ( (parameter_declaration "long *val" (sized_type_specifier "long" long) (pointer_declarator "*val" * identifier)) , (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) ))) (compound_statement "{\n  ParameterError PVar1;\n  \n  if (str != (char *)0x0) {\n    PVar1 = str2num(val,str);\n    return PVar1;\n  }\n  return PARAM_BAD_NUMERIC;\n}" { (declaration "ParameterError PVar1;" type_identifier identifier ;) (if_statement "if (str != (char *)0x0) {\n    PVar1 = str2num(val,str);\n    return PVar1;\n  }" if (parenthesized_expression "(str != (char *)0x0)" ( (binary_expression "str != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    PVar1 = str2num(val,str);\n    return PVar1;\n  }" { (expression_statement "PVar1 = str2num(val,str);" (assignment_expression "PVar1 = str2num(val,str)" identifier = (call_expression "str2num(val,str)" identifier (argument_list "(val,str)" ( identifier , identifier )))) ;) (return_statement "return PVar1;" return identifier ;) })) (return_statement "return PARAM_BAD_NUMERIC;" return identifier ;) })))
(translation_unit "undefined4 FUN_00023fa0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }\n  return 10;\n}\n\n" (function_definition "undefined4 FUN_00023fa0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }\n  return 10;\n}" type_identifier (function_declarator "FUN_00023fa0(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  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }\n  return 10;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_00023bc0();" (assignment_expression "uVar1 = FUN_00023bc0()" identifier = (call_expression "FUN_00023bc0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 10;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00023fa0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }\n  return 10;\n}" (type_identifier "undefined4") (function_declarator "FUN_00023fa0(undefined4 param_1,int param_2)" (identifier "FUN_00023fa0") (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  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }\n  return 10;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_00023bc0();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = FUN_00023bc0();" (assignment_expression "uVar1 = FUN_00023bc0()" (identifier "uVar1") (= "=") (call_expression "FUN_00023bc0()" (identifier "FUN_00023bc0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 10;" (return "return") (number_literal "10") (; ";")) (} "}")))

type_1 function_1(long *val,char *var_1)

{
  type_1 PVar1;
  
  if (var_1 != (char *)0x0) {
    PVar1 = function_1(val,var_1);
    return PVar1;
  }
  return PARAM_BAD_NUMERIC;
}


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

undefined4 MASKED(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_2 != 0) {
    uVar1 = FUN_00023bc0();
    return uVar1;
  }
  return 10;
}

