
void d_print_comp(long param_1,undefined8 param_2,long param_3)

{
  int iVar1;
  long local_28;
  undefined8 local_20;
  
  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&
     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {
    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;
    local_20 = *(undefined8 *)(param_1 + 0x148);
    *(int *)(param_1 + 0x134) = iVar1 + 1;
    *(long **)(param_1 + 0x148) = &local_28;
    local_28 = param_3;
    d_print_comp_inner();
    *(undefined8 *)(param_1 + 0x148) = local_20;
    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;
    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;
    return;
  }
  *(undefined4 *)(param_1 + 0x130) = 1;
  return;
}



void FUN_00362ba0(long param_1,undefined8 param_2,long param_3)

{
  int iVar1;
  long local_28;
  undefined8 local_20;
  
  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&
     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {
    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;
    local_20 = *(undefined8 *)(param_1 + 0x148);
    *(int *)(param_1 + 0x134) = iVar1 + 1;
    *(long **)(param_1 + 0x148) = &local_28;
    local_28 = param_3;
    FUN_0035e820();
    *(undefined8 *)(param_1 + 0x148) = local_20;
    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;
    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;
    return;
  }
  *(undefined4 *)(param_1 + 0x130) = 1;
  return;
}


TEST RDX,RDX
JZ 0x00362c18
MOV EAX,dword ptr [RDX + 0x4]
CMP EAX,0x1
JG 0x00362c18
MOV ECX,dword ptr [RDI + 0x134]
CMP ECX,0x400
JG 0x00362c18
PUSH RBP
ADD EAX,0x1
ADD ECX,0x1
MOV RBP,RDI
PUSH RBX
MOV RBX,RDX
SUB RSP,0x18
MOV dword ptr [RDX + 0x4],EAX
MOV RAX,qword ptr [RDI + 0x148]
MOV dword ptr [RDI + 0x134],ECX
MOV qword ptr [RSP + 0x8],RAX
MOV RAX,RSP
MOV qword ptr [RDI + 0x148],RAX
MOV qword ptr [RSP],RDX
CALL 0x0035e820
MOV RAX,qword ptr [RSP + 0x8]
MOV qword ptr [RBP + 0x148],RAX
SUB dword ptr [RBX + 0x4],0x1
SUB dword ptr [RBP + 0x134],0x1
ADD RSP,0x18
POP RBX
POP RBP
RET
MOV dword ptr [RDI + 0x130],0x1
RET
(translation_unit "void FUN_00362ba0(long param_1,undefined8 param_2,long param_3)\n\n{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00362ba0(long param_1,undefined8 param_2,long param_3)\n\n{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00362ba0(long param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long local_28;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (if_statement "if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }" if (parenthesized_expression "(((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401))" ( (binary_expression "((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)" (parenthesized_expression "((param_3 != 0) && (*(int *)(param_3 + 4) < 2))" ( (binary_expression "(param_3 != 0) && (*(int *)(param_3 + 4) < 2)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(param_3 + 4) < 2)" ( (binary_expression "*(int *)(param_3 + 4) < 2" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) < number_literal) ))) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)" ( (comma_expression "iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401" (assignment_expression "iVar1 = *(int *)(param_1 + 0x134)" identifier = (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) , (binary_expression "iVar1 < 0x401" identifier < number_literal)) ))) )) (compound_statement "{\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;" (assignment_expression "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 4) + 1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "local_20 = *(undefined8 *)(param_1 + 0x148);" (assignment_expression "local_20 = *(undefined8 *)(param_1 + 0x148)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x148)" * (cast_expression "(undefined8 *)(param_1 + 0x148)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x134) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x134) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(long **)(param_1 + 0x148) = &local_28;" (assignment_expression "*(long **)(param_1 + 0x148) = &local_28" (pointer_expression "*(long **)(param_1 + 0x148)" * (cast_expression "(long **)(param_1 + 0x148)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) )))) = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" identifier = identifier) ;) (expression_statement "FUN_0035e820();" (call_expression "FUN_0035e820()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x148) = local_20;" (assignment_expression "*(undefined8 *)(param_1 + 0x148) = local_20" (pointer_expression "*(undefined8 *)(param_1 + 0x148)" * (cast_expression "(undefined8 *)(param_1 + 0x148)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;" (assignment_expression "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;" (assignment_expression "*(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x134) + -1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x130) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x130) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x130)" * (cast_expression "(undefined4 *)(param_1 + 0x130)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void d_print_comp(long param_1,undefined8 param_2,long param_3)\n\n{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    d_print_comp_inner();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}\n\n" (function_definition "void d_print_comp(long param_1,undefined8 param_2,long param_3)\n\n{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    d_print_comp_inner();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}" primitive_type (function_declarator "d_print_comp(long param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    d_print_comp_inner();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long local_28;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (if_statement "if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    d_print_comp_inner();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }" if (parenthesized_expression "(((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401))" ( (binary_expression "((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)" (parenthesized_expression "((param_3 != 0) && (*(int *)(param_3 + 4) < 2))" ( (binary_expression "(param_3 != 0) && (*(int *)(param_3 + 4) < 2)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(param_3 + 4) < 2)" ( (binary_expression "*(int *)(param_3 + 4) < 2" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) < number_literal) ))) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)" ( (comma_expression "iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401" (assignment_expression "iVar1 = *(int *)(param_1 + 0x134)" identifier = (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) , (binary_expression "iVar1 < 0x401" identifier < number_literal)) ))) )) (compound_statement "{\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    d_print_comp_inner();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;" (assignment_expression "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 4) + 1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "local_20 = *(undefined8 *)(param_1 + 0x148);" (assignment_expression "local_20 = *(undefined8 *)(param_1 + 0x148)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x148)" * (cast_expression "(undefined8 *)(param_1 + 0x148)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x134) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x134) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(long **)(param_1 + 0x148) = &local_28;" (assignment_expression "*(long **)(param_1 + 0x148) = &local_28" (pointer_expression "*(long **)(param_1 + 0x148)" * (cast_expression "(long **)(param_1 + 0x148)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) )))) = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" identifier = identifier) ;) (expression_statement "d_print_comp_inner();" (call_expression "d_print_comp_inner()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x148) = local_20;" (assignment_expression "*(undefined8 *)(param_1 + 0x148) = local_20" (pointer_expression "*(undefined8 *)(param_1 + 0x148)" * (cast_expression "(undefined8 *)(param_1 + 0x148)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;" (assignment_expression "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;" (assignment_expression "*(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x134) + -1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x130) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x130) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x130)" * (cast_expression "(undefined4 *)(param_1 + 0x130)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00362ba0(long param_1,undefined8 param_2,long param_3)\n\n{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00362ba0(long param_1,undefined8 param_2,long param_3)\n\n{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00362ba0(long param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long local_28;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (if_statement "if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }" if (parenthesized_expression "(((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401))" ( (binary_expression "((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)" (parenthesized_expression "((param_3 != 0) && (*(int *)(param_3 + 4) < 2))" ( (binary_expression "(param_3 != 0) && (*(int *)(param_3 + 4) < 2)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(param_3 + 4) < 2)" ( (binary_expression "*(int *)(param_3 + 4) < 2" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) < number_literal) ))) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)" ( (comma_expression "iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401" (assignment_expression "iVar1 = *(int *)(param_1 + 0x134)" identifier = (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) , (binary_expression "iVar1 < 0x401" identifier < number_literal)) ))) )) (compound_statement "{\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;" (assignment_expression "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 4) + 1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "local_20 = *(undefined8 *)(param_1 + 0x148);" (assignment_expression "local_20 = *(undefined8 *)(param_1 + 0x148)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x148)" * (cast_expression "(undefined8 *)(param_1 + 0x148)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x134) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x134) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(long **)(param_1 + 0x148) = &local_28;" (assignment_expression "*(long **)(param_1 + 0x148) = &local_28" (pointer_expression "*(long **)(param_1 + 0x148)" * (cast_expression "(long **)(param_1 + 0x148)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) )))) = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" identifier = identifier) ;) (expression_statement "FUN_0035e820();" (call_expression "FUN_0035e820()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x148) = local_20;" (assignment_expression "*(undefined8 *)(param_1 + 0x148) = local_20" (pointer_expression "*(undefined8 *)(param_1 + 0x148)" * (cast_expression "(undefined8 *)(param_1 + 0x148)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x148)" ( (binary_expression "param_1 + 0x148" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;" (assignment_expression "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;" (assignment_expression "*(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x134) + -1" (pointer_expression "*(int *)(param_1 + 0x134)" * (cast_expression "(int *)(param_1 + 0x134)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x130) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x130) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x130)" * (cast_expression "(undefined4 *)(param_1 + 0x130)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (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) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00362ba0(long param_1,undefined8 param_2,long param_3)\n\n{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00362ba0(long param_1,undefined8 param_2,long param_3)" (identifier "FUN_00362ba0") (parameter_list "(long param_1,undefined8 param_2,long param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  long local_28;\n  undefined8 local_20;\n  \n  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x130) = 1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "long local_28;" (sized_type_specifier "long" (long "long")) (identifier "local_28") (; ";")) (declaration "undefined8 local_20;" (type_identifier "undefined8") (identifier "local_20") (; ";")) (if_statement "if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }" (if "if") (parenthesized_expression "(((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401))" (( "(") (binary_expression "((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&\n     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)" (parenthesized_expression "((param_3 != 0) && (*(int *)(param_3 + 4) < 2))" (( "(") (binary_expression "(param_3 != 0) && (*(int *)(param_3 + 4) < 2)" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_3 + 4) < 2)" (( "(") (binary_expression "*(int *)(param_3 + 4) < 2" (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (< "<") (number_literal "2")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)" (( "(") (comma_expression "iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401" (assignment_expression "iVar1 = *(int *)(param_1 + 0x134)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x134)" (* "*") (cast_expression "(int *)(param_1 + 0x134)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")"))))) (, ",") (binary_expression "iVar1 < 0x401" (identifier "iVar1") (< "<") (number_literal "0x401"))) () ")"))) () ")")) (compound_statement "{\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;\n    local_20 = *(undefined8 *)(param_1 + 0x148);\n    *(int *)(param_1 + 0x134) = iVar1 + 1;\n    *(long **)(param_1 + 0x148) = &local_28;\n    local_28 = param_3;\n    FUN_0035e820();\n    *(undefined8 *)(param_1 + 0x148) = local_20;\n    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;\n    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;" (assignment_expression "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1" (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(int *)(param_3 + 4) + 1" (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_20 = *(undefined8 *)(param_1 + 0x148);" (assignment_expression "local_20 = *(undefined8 *)(param_1 + 0x148)" (identifier "local_20") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0x148)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x148)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x148)" (( "(") (binary_expression "param_1 + 0x148" (identifier "param_1") (+ "+") (number_literal "0x148")) () ")"))))) (; ";")) (expression_statement "*(int *)(param_1 + 0x134) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x134) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x134)" (* "*") (cast_expression "(int *)(param_1 + 0x134)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")")))) (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(long **)(param_1 + 0x148) = &local_28;" (assignment_expression "*(long **)(param_1 + 0x148) = &local_28" (pointer_expression "*(long **)(param_1 + 0x148)" (* "*") (cast_expression "(long **)(param_1 + 0x148)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x148)" (( "(") (binary_expression "param_1 + 0x148" (identifier "param_1") (+ "+") (number_literal "0x148")) () ")")))) (= "=") (pointer_expression "&local_28" (& "&") (identifier "local_28"))) (; ";")) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" (identifier "local_28") (= "=") (identifier "param_3")) (; ";")) (expression_statement "FUN_0035e820();" (call_expression "FUN_0035e820()" (identifier "FUN_0035e820") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x148) = local_20;" (assignment_expression "*(undefined8 *)(param_1 + 0x148) = local_20" (pointer_expression "*(undefined8 *)(param_1 + 0x148)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x148)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x148)" (( "(") (binary_expression "param_1 + 0x148" (identifier "param_1") (+ "+") (number_literal "0x148")) () ")")))) (= "=") (identifier "local_20")) (; ";")) (expression_statement "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;" (assignment_expression "*(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;" (assignment_expression "*(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1" (pointer_expression "*(int *)(param_1 + 0x134)" (* "*") (cast_expression "(int *)(param_1 + 0x134)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x134) + -1" (pointer_expression "*(int *)(param_1 + 0x134)" (* "*") (cast_expression "(int *)(param_1 + 0x134)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x130) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x130) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x130)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x130)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x130)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(long var_2,type_1 param_2,long var_1)

{
  int var_3;
  long local_28;
  type_1 local_20;
  
  if (((var_1 != 0) && (*(int *)(var_1 + 4) < 2)) &&
     (var_3 = *(int *)(var_2 + 0x134), var_3 < 0x401)) {
    *(int *)(var_1 + 4) = *(int *)(var_1 + 4) + 1;
    local_20 = *(type_1 *)(var_2 + 0x148);
    *(int *)(var_2 + 0x134) = var_3 + 1;
    *(long **)(var_2 + 0x148) = &local_28;
    local_28 = var_1;
    var_4();
    *(type_1 *)(var_2 + 0x148) = local_20;
    *(int *)(var_1 + 4) = *(int *)(var_1 + 4) + -1;
    *(int *)(var_2 + 0x134) = *(int *)(var_2 + 0x134) + -1;
    return;
  }
  *(type_2 *)(var_2 + 0x130) = 1;
  return;
}


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

void MASKED(long param_1,undefined8 param_2,long param_3)

{
  int iVar1;
  long local_28;
  undefined8 local_20;
  
  if (((param_3 != 0) && (*(int *)(param_3 + 4) < 2)) &&
     (iVar1 = *(int *)(param_1 + 0x134), iVar1 < 0x401)) {
    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + 1;
    local_20 = *(undefined8 *)(param_1 + 0x148);
    *(int *)(param_1 + 0x134) = iVar1 + 1;
    *(long **)(param_1 + 0x148) = &local_28;
    local_28 = param_3;
    FUN_0035e820();
    *(undefined8 *)(param_1 + 0x148) = local_20;
    *(int *)(param_3 + 4) = *(int *)(param_3 + 4) + -1;
    *(int *)(param_1 + 0x134) = *(int *)(param_1 + 0x134) + -1;
    return;
  }
  *(undefined4 *)(param_1 + 0x130) = 1;
  return;
}

