
undefined4 _Unwind_Backtrace(code *param_1,undefined8 param_2)

{
  int iVar1;
  int iVar2;
  undefined8 unaff_retaddr;
  undefined1 local_2a8 [240];
  undefined1 local_1b8 [392];
  
  uw_init_context_1(local_2a8,&stack0x00000008,unaff_retaddr);
  while (((iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&
         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {
    if (iVar2 == 5) {
      return 5;
    }
    uw_update_context(local_2a8,local_1b8);
  }
  return 3;
}



undefined4 FUN_00304cf0(code *param_1,undefined8 param_2)

{
  int iVar1;
  int iVar2;
  undefined8 unaff_retaddr;
  undefined1 local_2a8 [240];
  undefined1 local_1b8 [392];
  
  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);
  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&
         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {
    if (iVar2 == 5) {
      return 5;
    }
    FUN_00303e30(local_2a8,local_1b8);
  }
  return 3;
}


PUSH RBP
MOV RBP,RSP
PUSH R15
MOV R15,RDI
PUSH R14
MOV R14,RSI
LEA RSI,[RBP + 0x10]
PUSH R13
LEA R13,[RBP + -0x1b0]
PUSH R12
LEA R12,[RBP + -0x2a0]
PUSH RBX
MOV RDI,R12
SUB RSP,0x278
MOV RDX,qword ptr [RBP + 0x8]
CALL 0x00303cb0
JMP 0x00304d4d
MOV RSI,R14
MOV RDI,R12
CALL R15
TEST EAX,EAX
JNZ 0x00304d63
CMP EBX,0x5
JZ 0x00304d68
MOV RSI,R13
MOV RDI,R12
CALL 0x00303e30
MOV RSI,R13
MOV RDI,R12
CALL 0x00302ac0
MOV EBX,EAX
TEST EAX,EAX
JZ 0x00304d30
CMP EAX,0x5
JZ 0x00304d30
MOV EBX,0x3
ADD RSP,0x278
MOV EAX,EBX
POP RBX
POP R12
POP R13
POP R14
POP R15
POP RBP
RET
(translation_unit "undefined4 FUN_00304cf0(code *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }\n  return 3;\n}\n\n" (function_definition "undefined4 FUN_00304cf0(code *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }\n  return 3;\n}" type_identifier (function_declarator "FUN_00304cf0(code *param_1,undefined8 param_2)" identifier (parameter_list "(code *param_1,undefined8 param_2)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }\n  return 3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined1 local_2a8 [240];" type_identifier (array_declarator "local_2a8 [240]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1b8 [392];" type_identifier (array_declarator "local_1b8 [392]" identifier [ number_literal ]) ;) (expression_statement "FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);" (call_expression "FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr)" identifier (argument_list "(local_2a8,&stack0x00000008,unaff_retaddr)" ( identifier , (pointer_expression "&stack0x00000008" & identifier) , identifier ))) ;) (while_statement "while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }" while (parenthesized_expression "(((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)))" ( (parenthesized_expression "((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))" ( (binary_expression "(iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)" (parenthesized_expression "(iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5))" ( (comma_expression "iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)" (assignment_expression "iVar2 = FUN_00302ac0(local_2a8,local_1b8)" identifier = (call_expression "FUN_00302ac0(local_2a8,local_1b8)" identifier (argument_list "(local_2a8,local_1b8)" ( identifier , identifier )))) , (binary_expression "iVar2 == 0 || (iVar2 == 5)" (binary_expression "iVar2 == 0" identifier == number_literal) || (parenthesized_expression "(iVar2 == 5)" ( (binary_expression "iVar2 == 5" identifier == number_literal) )))) )) && (parenthesized_expression "(iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)" ( (comma_expression "iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0" (assignment_expression "iVar1 = (*param_1)(local_2a8,param_2)" identifier = (call_expression "(*param_1)(local_2a8,param_2)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(local_2a8,param_2)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) )) (compound_statement "{\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }" { (if_statement "if (iVar2 == 5) {\n      return 5;\n    }" if (parenthesized_expression "(iVar2 == 5)" ( (binary_expression "iVar2 == 5" identifier == number_literal) )) (compound_statement "{\n      return 5;\n    }" { (return_statement "return 5;" return number_literal ;) })) (expression_statement "FUN_00303e30(local_2a8,local_1b8);" (call_expression "FUN_00303e30(local_2a8,local_1b8)" identifier (argument_list "(local_2a8,local_1b8)" ( identifier , identifier ))) ;) })) (return_statement "return 3;" return number_literal ;) })))
(translation_unit "undefined4 _Unwind_Backtrace(code *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  uw_init_context_1(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    uw_update_context(local_2a8,local_1b8);\n  }\n  return 3;\n}\n\n" (function_definition "undefined4 _Unwind_Backtrace(code *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  uw_init_context_1(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    uw_update_context(local_2a8,local_1b8);\n  }\n  return 3;\n}" type_identifier (function_declarator "_Unwind_Backtrace(code *param_1,undefined8 param_2)" identifier (parameter_list "(code *param_1,undefined8 param_2)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  uw_init_context_1(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    uw_update_context(local_2a8,local_1b8);\n  }\n  return 3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined1 local_2a8 [240];" type_identifier (array_declarator "local_2a8 [240]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1b8 [392];" type_identifier (array_declarator "local_1b8 [392]" identifier [ number_literal ]) ;) (expression_statement "uw_init_context_1(local_2a8,&stack0x00000008,unaff_retaddr);" (call_expression "uw_init_context_1(local_2a8,&stack0x00000008,unaff_retaddr)" identifier (argument_list "(local_2a8,&stack0x00000008,unaff_retaddr)" ( identifier , (pointer_expression "&stack0x00000008" & identifier) , identifier ))) ;) (while_statement "while (((iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    uw_update_context(local_2a8,local_1b8);\n  }" while (parenthesized_expression "(((iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)))" ( (parenthesized_expression "((iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))" ( (binary_expression "(iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)" (parenthesized_expression "(iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5))" ( (comma_expression "iVar2 = uw_frame_state_for(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)" (assignment_expression "iVar2 = uw_frame_state_for(local_2a8,local_1b8)" identifier = (call_expression "uw_frame_state_for(local_2a8,local_1b8)" identifier (argument_list "(local_2a8,local_1b8)" ( identifier , identifier )))) , (binary_expression "iVar2 == 0 || (iVar2 == 5)" (binary_expression "iVar2 == 0" identifier == number_literal) || (parenthesized_expression "(iVar2 == 5)" ( (binary_expression "iVar2 == 5" identifier == number_literal) )))) )) && (parenthesized_expression "(iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)" ( (comma_expression "iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0" (assignment_expression "iVar1 = (*param_1)(local_2a8,param_2)" identifier = (call_expression "(*param_1)(local_2a8,param_2)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(local_2a8,param_2)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) )) (compound_statement "{\n    if (iVar2 == 5) {\n      return 5;\n    }\n    uw_update_context(local_2a8,local_1b8);\n  }" { (if_statement "if (iVar2 == 5) {\n      return 5;\n    }" if (parenthesized_expression "(iVar2 == 5)" ( (binary_expression "iVar2 == 5" identifier == number_literal) )) (compound_statement "{\n      return 5;\n    }" { (return_statement "return 5;" return number_literal ;) })) (expression_statement "uw_update_context(local_2a8,local_1b8);" (call_expression "uw_update_context(local_2a8,local_1b8)" identifier (argument_list "(local_2a8,local_1b8)" ( identifier , identifier ))) ;) })) (return_statement "return 3;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00304cf0(code *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }\n  return 3;\n}\n\n" (function_definition "undefined4 FUN_00304cf0(code *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }\n  return 3;\n}" type_identifier (function_declarator "FUN_00304cf0(code *param_1,undefined8 param_2)" identifier (parameter_list "(code *param_1,undefined8 param_2)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }\n  return 3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined1 local_2a8 [240];" type_identifier (array_declarator "local_2a8 [240]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1b8 [392];" type_identifier (array_declarator "local_1b8 [392]" identifier [ number_literal ]) ;) (expression_statement "FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);" (call_expression "FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr)" identifier (argument_list "(local_2a8,&stack0x00000008,unaff_retaddr)" ( identifier , (pointer_expression "&stack0x00000008" & identifier) , identifier ))) ;) (while_statement "while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }" while (parenthesized_expression "(((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)))" ( (parenthesized_expression "((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))" ( (binary_expression "(iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)" (parenthesized_expression "(iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5))" ( (comma_expression "iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)" (assignment_expression "iVar2 = FUN_00302ac0(local_2a8,local_1b8)" identifier = (call_expression "FUN_00302ac0(local_2a8,local_1b8)" identifier (argument_list "(local_2a8,local_1b8)" ( identifier , identifier )))) , (binary_expression "iVar2 == 0 || (iVar2 == 5)" (binary_expression "iVar2 == 0" identifier == number_literal) || (parenthesized_expression "(iVar2 == 5)" ( (binary_expression "iVar2 == 5" identifier == number_literal) )))) )) && (parenthesized_expression "(iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)" ( (comma_expression "iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0" (assignment_expression "iVar1 = (*param_1)(local_2a8,param_2)" identifier = (call_expression "(*param_1)(local_2a8,param_2)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(local_2a8,param_2)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) )) (compound_statement "{\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }" { (if_statement "if (iVar2 == 5) {\n      return 5;\n    }" if (parenthesized_expression "(iVar2 == 5)" ( (binary_expression "iVar2 == 5" identifier == number_literal) )) (compound_statement "{\n      return 5;\n    }" { (return_statement "return 5;" return number_literal ;) })) (expression_statement "FUN_00303e30(local_2a8,local_1b8);" (call_expression "FUN_00303e30(local_2a8,local_1b8)" identifier (argument_list "(local_2a8,local_1b8)" ( identifier , identifier ))) ;) })) (return_statement "return 3;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT == LIT) )))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00304cf0(code *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }\n  return 3;\n}" (type_identifier "undefined4") (function_declarator "FUN_00304cf0(code *param_1,undefined8 param_2)" (identifier "FUN_00304cf0") (parameter_list "(code *param_1,undefined8 param_2)" (( "(") (parameter_declaration "code *param_1" (type_identifier "code") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined8 unaff_retaddr;\n  undefined1 local_2a8 [240];\n  undefined1 local_1b8 [392];\n  \n  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);\n  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }\n  return 3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined8 unaff_retaddr;" (type_identifier "undefined8") (identifier "unaff_retaddr") (; ";")) (declaration "undefined1 local_2a8 [240];" (type_identifier "undefined1") (array_declarator "local_2a8 [240]" (identifier "local_2a8") ([ "[") (number_literal "240") (] "]")) (; ";")) (declaration "undefined1 local_1b8 [392];" (type_identifier "undefined1") (array_declarator "local_1b8 [392]" (identifier "local_1b8") ([ "[") (number_literal "392") (] "]")) (; ";")) (expression_statement "FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);" (call_expression "FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr)" (identifier "FUN_00303cb0") (argument_list "(local_2a8,&stack0x00000008,unaff_retaddr)" (( "(") (identifier "local_2a8") (, ",") (pointer_expression "&stack0x00000008" (& "&") (identifier "stack0x00000008")) (, ",") (identifier "unaff_retaddr") () ")"))) (; ";")) (while_statement "while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }" (while "while") (parenthesized_expression "(((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)))" (( "(") (parenthesized_expression "((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))" (( "(") (binary_expression "(iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&\n         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)" (parenthesized_expression "(iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5))" (( "(") (comma_expression "iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)" (assignment_expression "iVar2 = FUN_00302ac0(local_2a8,local_1b8)" (identifier "iVar2") (= "=") (call_expression "FUN_00302ac0(local_2a8,local_1b8)" (identifier "FUN_00302ac0") (argument_list "(local_2a8,local_1b8)" (( "(") (identifier "local_2a8") (, ",") (identifier "local_1b8") () ")")))) (, ",") (binary_expression "iVar2 == 0 || (iVar2 == 5)" (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar2 == 5)" (( "(") (binary_expression "iVar2 == 5" (identifier "iVar2") (== "==") (number_literal "5")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0)" (( "(") (comma_expression "iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0" (assignment_expression "iVar1 = (*param_1)(local_2a8,param_2)" (identifier "iVar1") (= "=") (call_expression "(*param_1)(local_2a8,param_2)" (parenthesized_expression "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")) (argument_list "(local_2a8,param_2)" (( "(") (identifier "local_2a8") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")")) (compound_statement "{\n    if (iVar2 == 5) {\n      return 5;\n    }\n    FUN_00303e30(local_2a8,local_1b8);\n  }" ({ "{") (if_statement "if (iVar2 == 5) {\n      return 5;\n    }" (if "if") (parenthesized_expression "(iVar2 == 5)" (( "(") (binary_expression "iVar2 == 5" (identifier "iVar2") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n      return 5;\n    }" ({ "{") (return_statement "return 5;" (return "return") (number_literal "5") (; ";")) (} "}"))) (expression_statement "FUN_00303e30(local_2a8,local_1b8);" (call_expression "FUN_00303e30(local_2a8,local_1b8)" (identifier "FUN_00303e30") (argument_list "(local_2a8,local_1b8)" (( "(") (identifier "local_2a8") (, ",") (identifier "local_1b8") () ")"))) (; ";")) (} "}"))) (return_statement "return 3;" (return "return") (number_literal "3") (; ";")) (} "}")))

type_1 function_1(type_2 *param_1,type_3 param_2)

{
  int var_4;
  int var_3;
  type_3 unaff_retaddr;
  type_4 local_2a8 [240];
  type_4 local_1b8 [392];
  
  var_1(local_2a8,&stack0x00000008,unaff_retaddr);
  while (((var_3 = var_2(local_2a8,local_1b8), var_3 == 0 || (var_3 == 5)) &&
         (var_4 = (*param_1)(local_2a8,param_2), var_4 == 0))) {
    if (var_3 == 5) {
      return 5;
    }
    var_5(local_2a8,local_1b8);
  }
  return 3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier)))) (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal))))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (return_statement (number_literal)))))

undefined4 MASKED(code *param_1,undefined8 param_2)

{
  int iVar1;
  int iVar2;
  undefined8 unaff_retaddr;
  undefined1 local_2a8 [240];
  undefined1 local_1b8 [392];
  
  FUN_00303cb0(local_2a8,&stack0x00000008,unaff_retaddr);
  while (((iVar2 = FUN_00302ac0(local_2a8,local_1b8), iVar2 == 0 || (iVar2 == 5)) &&
         (iVar1 = (*param_1)(local_2a8,param_2), iVar1 == 0))) {
    if (iVar2 == 5) {
      return 5;
    }
    FUN_00303e30(local_2a8,local_1b8);
  }
  return 3;
}

