
uctrl * dlg_find_byctrl(dlgparam *dp,control *ctrl)

{
  uctrl *puVar1;
  
  puVar1 = (uctrl *)dp->byctrl;
  if (puVar1 != (uctrl *)0x0) {
    puVar1 = (uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find);
    return puVar1;
  }
  return puVar1;
}



void FUN_00175ea3(long *param_1,undefined8 param_2)

{
  if (*param_1 != 0) {
    FUN_001738e2(*param_1,param_2,FUN_00175e61);
    return;
  }
  return;
}


MOV RAX,qword ptr [RDI]
TEST RAX,RAX
JZ 0x00175ec3
SUB RSP,0x8
LEA RDX,[0x175e61]
MOV RDI,RAX
CALL 0x001738e2
ADD RSP,0x8
RET
RET
(translation_unit "void FUN_00175ea3(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00175ea3(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00175ea3(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }\n  return;\n}" { (if_statement "if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }" { (expression_statement "FUN_001738e2(*param_1,param_2,FUN_00175e61);" (call_expression "FUN_001738e2(*param_1,param_2,FUN_00175e61)" identifier (argument_list "(*param_1,param_2,FUN_00175e61)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "uctrl * dlg_find_byctrl(dlgparam *dp,control *ctrl)\n\n{\n  uctrl *puVar1;\n  \n  puVar1 = (uctrl *)dp->byctrl;\n  if (puVar1 != (uctrl *)0x0) {\n    puVar1 = (uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find);\n    return puVar1;\n  }\n  return puVar1;\n}\n\n" (function_definition "uctrl * dlg_find_byctrl(dlgparam *dp,control *ctrl)\n\n{\n  uctrl *puVar1;\n  \n  puVar1 = (uctrl *)dp->byctrl;\n  if (puVar1 != (uctrl *)0x0) {\n    puVar1 = (uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find);\n    return puVar1;\n  }\n  return puVar1;\n}" type_identifier (pointer_declarator "* dlg_find_byctrl(dlgparam *dp,control *ctrl)" * (function_declarator "dlg_find_byctrl(dlgparam *dp,control *ctrl)" identifier (parameter_list "(dlgparam *dp,control *ctrl)" ( (parameter_declaration "dlgparam *dp" type_identifier (pointer_declarator "*dp" * identifier)) , (parameter_declaration "control *ctrl" type_identifier (pointer_declarator "*ctrl" * identifier)) )))) (compound_statement "{\n  uctrl *puVar1;\n  \n  puVar1 = (uctrl *)dp->byctrl;\n  if (puVar1 != (uctrl *)0x0) {\n    puVar1 = (uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find);\n    return puVar1;\n  }\n  return puVar1;\n}" { (declaration "uctrl *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (uctrl *)dp->byctrl;" (assignment_expression "puVar1 = (uctrl *)dp->byctrl" identifier = (cast_expression "(uctrl *)dp->byctrl" ( (type_descriptor "uctrl *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "dp->byctrl" identifier -> field_identifier))) ;) (if_statement "if (puVar1 != (uctrl *)0x0) {\n    puVar1 = (uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find);\n    return puVar1;\n  }" if (parenthesized_expression "(puVar1 != (uctrl *)0x0)" ( (binary_expression "puVar1 != (uctrl *)0x0" identifier != (cast_expression "(uctrl *)0x0" ( (type_descriptor "uctrl *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = (uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find);\n    return puVar1;\n  }" { (expression_statement "puVar1 = (uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find);" (assignment_expression "puVar1 = (uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find)" identifier = (cast_expression "(uctrl *)find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find)" ( (type_descriptor "uctrl *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find234((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find)" identifier (argument_list "((tree234 *)puVar1,ctrl,uctrl_cmp_byctrl_find)" ( (cast_expression "(tree234 *)puVar1" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier ))))) ;) (return_statement "return puVar1;" return identifier ;) })) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "void FUN_00175ea3(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00175ea3(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00175ea3(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }\n  return;\n}" { (if_statement "if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }" { (expression_statement "FUN_001738e2(*param_1,param_2,FUN_00175e61);" (call_expression "FUN_001738e2(*param_1,param_2,FUN_00175e61)" identifier (argument_list "(*param_1,param_2,FUN_00175e61)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00175ea3(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00175ea3(long *param_1,undefined8 param_2)" (identifier "FUN_00175ea3") (parameter_list "(long *param_1,undefined8 param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (*param_1 != 0) {\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001738e2(*param_1,param_2,FUN_00175e61);\n    return;\n  }" ({ "{") (expression_statement "FUN_001738e2(*param_1,param_2,FUN_00175e61);" (call_expression "FUN_001738e2(*param_1,param_2,FUN_00175e61)" (identifier "FUN_001738e2") (argument_list "(*param_1,param_2,FUN_00175e61)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_2") (, ",") (identifier "FUN_00175e61") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 * function_1(type_2 *dp,type_3 *ctrl)

{
  type_1 *var_1;
  
  var_1 = (type_1 *)dp->byctrl;
  if (var_1 != (type_1 *)0x0) {
    var_1 = (type_1 *)var_2((type_4 *)var_1,ctrl,uctrl_cmp_byctrl_find);
    return var_1;
  }
  return var_1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) 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 (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier)))) (return_statement))) (return_statement))))

void MASKED(long *param_1,undefined8 param_2)

{
  if (*param_1 != 0) {
    FUN_001738e2(*param_1,param_2,FUN_00175e61);
    return;
  }
  return;
}

