
/* WARNING: Unknown calling convention */

void relax_seg(bfd *abfd,asection *sec,void *xxx)

{
  undefined4 *puVar1;
  int iVar2;
  
                    /* WARNING: Load size is inaccurate */
  if (((int *)sec->userdata != (int *)0x0) && (puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0)
     ) {
                    /* WARNING: Load size is inaccurate */
    iVar2 = relax_segment((frag *)*puVar1,sec,*xxx);
    if (iVar2 != 0) {
      *(undefined4 *)((int)xxx + 4) = 1;
    }
  }
  return;
}



void FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)

{
  undefined4 *puVar1;
  int iVar2;
  
  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&
     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {
    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);
    if (iVar2 != 0) {
      param_3[1] = 1;
    }
  }
  return;
}


SUB ESP,0xc
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EDX + 0x68]
TEST EAX,EAX
JZ 0x0003d867
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0003d867
SUB ESP,0x4
MOV ECX,dword ptr [ESP + 0x1c]
PUSH dword ptr [ECX]
PUSH EDX
PUSH dword ptr [EAX]
CALL 0x0003ced0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003d867
MOV EAX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + 0x4],0x1
ADD ESP,0xc
RET
(translation_unit "void FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }" if (parenthesized_expression "((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0))" ( (binary_expression "(*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)" (parenthesized_expression "(*(int **)(param_2 + 0x68) != (int *)0x0)" ( (binary_expression "*(int **)(param_2 + 0x68) != (int *)0x0" (pointer_expression "*(int **)(param_2 + 0x68)" * (cast_expression "(int **)(param_2 + 0x68)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)" ( (comma_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x68)" identifier = (cast_expression "(undefined4 *)**(int **)(param_2 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(param_2 + 0x68)" * (pointer_expression "*(int **)(param_2 + 0x68)" * (cast_expression "(int **)(param_2 + 0x68)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) ))))))) , (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }" { (expression_statement "iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);" (assignment_expression "iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3)" identifier = (call_expression "FUN_0003ced0(*puVar1,param_2,*param_3)" identifier (argument_list "(*puVar1,param_2,*param_3)" ( (pointer_expression "*puVar1" * identifier) , identifier , (pointer_expression "*param_3" * identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n      param_3[1] = 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      param_3[1] = 1;\n    }" { (expression_statement "param_3[1] = 1;" (assignment_expression "param_3[1] = 1" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid relax_seg(bfd *abfd,asection *sec,void *xxx)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (((int *)sec->userdata != (int *)0x0) && (puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0)\n     ) {\n                    /* WARNING: Load size is inaccurate */\n    iVar2 = relax_segment((frag *)*puVar1,sec,*xxx);\n    if (iVar2 != 0) {\n      *(undefined4 *)((int)xxx + 4) = 1;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void relax_seg(bfd *abfd,asection *sec,void *xxx)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (((int *)sec->userdata != (int *)0x0) && (puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0)\n     ) {\n                    /* WARNING: Load size is inaccurate */\n    iVar2 = relax_segment((frag *)*puVar1,sec,*xxx);\n    if (iVar2 != 0) {\n      *(undefined4 *)((int)xxx + 4) = 1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "relax_seg(bfd *abfd,asection *sec,void *xxx)" identifier (parameter_list "(bfd *abfd,asection *sec,void *xxx)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) , (parameter_declaration "void *xxx" primitive_type (pointer_declarator "*xxx" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (((int *)sec->userdata != (int *)0x0) && (puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0)\n     ) {\n                    /* WARNING: Load size is inaccurate */\n    iVar2 = relax_segment((frag *)*puVar1,sec,*xxx);\n    if (iVar2 != 0) {\n      *(undefined4 *)((int)xxx + 4) = 1;\n    }\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) comment (if_statement "if (((int *)sec->userdata != (int *)0x0) && (puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0)\n     ) {\n                    /* WARNING: Load size is inaccurate */\n    iVar2 = relax_segment((frag *)*puVar1,sec,*xxx);\n    if (iVar2 != 0) {\n      *(undefined4 *)((int)xxx + 4) = 1;\n    }\n  }" if (parenthesized_expression "(((int *)sec->userdata != (int *)0x0) && (puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0)\n     )" ( (binary_expression "((int *)sec->userdata != (int *)0x0) && (puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0)" (parenthesized_expression "((int *)sec->userdata != (int *)0x0)" ( (binary_expression "(int *)sec->userdata != (int *)0x0" (cast_expression "(int *)sec->userdata" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "sec->userdata" identifier -> field_identifier)) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0)" ( (comma_expression "puVar1 = *sec->userdata, puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = *sec->userdata" identifier = (pointer_expression "*sec->userdata" * (field_expression "sec->userdata" identifier -> field_identifier))) , (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n    iVar2 = relax_segment((frag *)*puVar1,sec,*xxx);\n    if (iVar2 != 0) {\n      *(undefined4 *)((int)xxx + 4) = 1;\n    }\n  }" { comment (expression_statement "iVar2 = relax_segment((frag *)*puVar1,sec,*xxx);" (assignment_expression "iVar2 = relax_segment((frag *)*puVar1,sec,*xxx)" identifier = (call_expression "relax_segment((frag *)*puVar1,sec,*xxx)" identifier (argument_list "((frag *)*puVar1,sec,*xxx)" ( (cast_expression "(frag *)*puVar1" ( (type_descriptor "frag *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) , identifier , (pointer_expression "*xxx" * identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n      *(undefined4 *)((int)xxx + 4) = 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)((int)xxx + 4) = 1;\n    }" { (expression_statement "*(undefined4 *)((int)xxx + 4) = 1;" (assignment_expression "*(undefined4 *)((int)xxx + 4) = 1" (pointer_expression "*(undefined4 *)((int)xxx + 4)" * (cast_expression "(undefined4 *)((int)xxx + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)xxx + 4)" ( (binary_expression "(int)xxx + 4" (cast_expression "(int)xxx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }" if (parenthesized_expression "((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0))" ( (binary_expression "(*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)" (parenthesized_expression "(*(int **)(param_2 + 0x68) != (int *)0x0)" ( (binary_expression "*(int **)(param_2 + 0x68) != (int *)0x0" (pointer_expression "*(int **)(param_2 + 0x68)" * (cast_expression "(int **)(param_2 + 0x68)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)" ( (comma_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x68)" identifier = (cast_expression "(undefined4 *)**(int **)(param_2 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(param_2 + 0x68)" * (pointer_expression "*(int **)(param_2 + 0x68)" * (cast_expression "(int **)(param_2 + 0x68)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) ))))))) , (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }" { (expression_statement "iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);" (assignment_expression "iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3)" identifier = (call_expression "FUN_0003ced0(*puVar1,param_2,*param_3)" identifier (argument_list "(*puVar1,param_2,*param_3)" ( (pointer_expression "*puVar1" * identifier) , identifier , (pointer_expression "*param_3" * identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n      param_3[1] = 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      param_3[1] = 1;\n    }" { (expression_statement "param_3[1] = 1;" (assignment_expression "param_3[1] = 1" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) })) })) (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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003d830(undefined4 param_1,int param_2,undefined4 *param_3)" (identifier "FUN_0003d830") (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }" (if "if") (parenthesized_expression "((*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0))" (( "(") (binary_expression "(*(int **)(param_2 + 0x68) != (int *)0x0) &&\n     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)" (parenthesized_expression "(*(int **)(param_2 + 0x68) != (int *)0x0)" (( "(") (binary_expression "*(int **)(param_2 + 0x68) != (int *)0x0" (pointer_expression "*(int **)(param_2 + 0x68)" (* "*") (cast_expression "(int **)(param_2 + 0x68)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x68)" (( "(") (binary_expression "param_2 + 0x68" (identifier "param_2") (+ "+") (number_literal "0x68")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x68)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)**(int **)(param_2 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(int **)(param_2 + 0x68)" (* "*") (pointer_expression "*(int **)(param_2 + 0x68)" (* "*") (cast_expression "(int **)(param_2 + 0x68)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x68)" (( "(") (binary_expression "param_2 + 0x68" (identifier "param_2") (+ "+") (number_literal "0x68")) () ")"))))))) (, ",") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);\n    if (iVar2 != 0) {\n      param_3[1] = 1;\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);" (assignment_expression "iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3)" (identifier "iVar2") (= "=") (call_expression "FUN_0003ced0(*puVar1,param_2,*param_3)" (identifier "FUN_0003ced0") (argument_list "(*puVar1,param_2,*param_3)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (identifier "param_2") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      param_3[1] = 1;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_3[1] = 1;\n    }" ({ "{") (expression_statement "param_3[1] = 1;" (assignment_expression "param_3[1] = 1" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *abfd,type_2 *sec,void *xxx)

{
  type_3 *var_1;
  int var_3;
  
                    /* WARNING: Load size is inaccurate */
  if (((int *)sec->userdata != (int *)0x0) && (var_1 = *sec->userdata, var_1 != (type_3 *)0x0)
     ) {
                    /* WARNING: Load size is inaccurate */
    var_3 = var_2((type_4 *)*var_1,sec,*xxx);
    if (var_3 != 0) {
      *(type_3 *)((int)xxx + 4) = 1;
    }
  }
  return;
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (return_statement))))

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

{
  undefined4 *puVar1;
  int iVar2;
  
  if ((*(int **)(param_2 + 0x68) != (int *)0x0) &&
     (puVar1 = (undefined4 *)**(int **)(param_2 + 0x68), puVar1 != (undefined4 *)0x0)) {
    iVar2 = FUN_0003ced0(*puVar1,param_2,*param_3);
    if (iVar2 != 0) {
      param_3[1] = 1;
    }
  }
  return;
}

