
void d_lookup_template_argument_isra_9(long param_1,undefined8 *param_2)

{
  if (*(long *)(param_1 + 0x120) == 0) {
    *(undefined4 *)(param_1 + 0x130) = 1;
    return;
  }
  if (-1 < (int)*param_2) {
    d_index_template_argument_part_8
              (*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));
    return;
  }
  return;
}



void FUN_002f7c00(long param_1,undefined8 *param_2)

{
  if (*(long *)(param_1 + 0x120) == 0) {
    *(undefined4 *)(param_1 + 0x130) = 1;
    return;
  }
  if (-1 < (int)*param_2) {
    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));
    return;
  }
  return;
}


MOV RAX,qword ptr [RDI + 0x120]
TEST RAX,RAX
JZ 0x002f7c28
MOV RAX,qword ptr [RAX + 0x8]
MOV RSI,qword ptr [RSI]
MOV RAX,qword ptr [RAX + 0x10]
TEST ESI,ESI
JS 0x002f7c20
MOV RDI,RAX
JMP 0x002f7bd0
RET
MOV dword ptr [RDI + 0x130],0x1
RET
(translation_unit "void FUN_002f7c00(long param_1,undefined8 *param_2)\n\n{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_002f7c00(long param_1,undefined8 *param_2)\n\n{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002f7c00(long param_1,undefined8 *param_2)" identifier (parameter_list "(long param_1,undefined8 *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}" { (if_statement "if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x120) == 0)" ( (binary_expression "*(long *)(param_1 + 0x120) == 0" (pointer_expression "*(long *)(param_1 + 0x120)" * (cast_expression "(long *)(param_1 + 0x120)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }" { (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 ;) })) (if_statement "if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }" if (parenthesized_expression "(-1 < (int)*param_2)" ( (binary_expression "-1 < (int)*param_2" number_literal < (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier))) )) (compound_statement "{\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }" { (expression_statement "FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));" (call_expression "FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10))" identifier (argument_list "(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10))" ( (pointer_expression "*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" * (cast_expression "(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10" (pointer_expression "*(long *)(*(long *)(param_1 + 0x120) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x120) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x120) + 8)" ( (binary_expression "*(long *)(param_1 + 0x120) + 8" (pointer_expression "*(long *)(param_1 + 0x120)" * (cast_expression "(long *)(param_1 + 0x120)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void d_lookup_template_argument_isra_9(long param_1,undefined8 *param_2)\n\n{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    d_index_template_argument_part_8\n              (*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void d_lookup_template_argument_isra_9(long param_1,undefined8 *param_2)\n\n{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    d_index_template_argument_part_8\n              (*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "d_lookup_template_argument_isra_9(long param_1,undefined8 *param_2)" identifier (parameter_list "(long param_1,undefined8 *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    d_index_template_argument_part_8\n              (*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}" { (if_statement "if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x120) == 0)" ( (binary_expression "*(long *)(param_1 + 0x120) == 0" (pointer_expression "*(long *)(param_1 + 0x120)" * (cast_expression "(long *)(param_1 + 0x120)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }" { (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 ;) })) (if_statement "if (-1 < (int)*param_2) {\n    d_index_template_argument_part_8\n              (*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }" if (parenthesized_expression "(-1 < (int)*param_2)" ( (binary_expression "-1 < (int)*param_2" number_literal < (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier))) )) (compound_statement "{\n    d_index_template_argument_part_8\n              (*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }" { (expression_statement "d_index_template_argument_part_8\n              (*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));" (call_expression "d_index_template_argument_part_8\n              (*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10))" identifier (argument_list "(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10))" ( (pointer_expression "*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" * (cast_expression "(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10" (pointer_expression "*(long *)(*(long *)(param_1 + 0x120) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x120) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x120) + 8)" ( (binary_expression "*(long *)(param_1 + 0x120) + 8" (pointer_expression "*(long *)(param_1 + 0x120)" * (cast_expression "(long *)(param_1 + 0x120)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002f7c00(long param_1,undefined8 *param_2)\n\n{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_002f7c00(long param_1,undefined8 *param_2)\n\n{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002f7c00(long param_1,undefined8 *param_2)" identifier (parameter_list "(long param_1,undefined8 *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}" { (if_statement "if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x120) == 0)" ( (binary_expression "*(long *)(param_1 + 0x120) == 0" (pointer_expression "*(long *)(param_1 + 0x120)" * (cast_expression "(long *)(param_1 + 0x120)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }" { (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 ;) })) (if_statement "if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }" if (parenthesized_expression "(-1 < (int)*param_2)" ( (binary_expression "-1 < (int)*param_2" number_literal < (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier))) )) (compound_statement "{\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }" { (expression_statement "FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));" (call_expression "FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10))" identifier (argument_list "(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10))" ( (pointer_expression "*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" * (cast_expression "(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10" (pointer_expression "*(long *)(*(long *)(param_1 + 0x120) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x120) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x120) + 8)" ( (binary_expression "*(long *)(param_1 + 0x120) + 8" (pointer_expression "*(long *)(param_1 + 0x120)" * (cast_expression "(long *)(param_1 + 0x120)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT) )))) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_002f7c00(long param_1,undefined8 *param_2)\n\n{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002f7c00(long param_1,undefined8 *param_2)" (identifier "FUN_002f7c00") (parameter_list "(long param_1,undefined8 *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }\n  if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (*(long *)(param_1 + 0x120) == 0) {\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x120) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x120) == 0" (pointer_expression "*(long *)(param_1 + 0x120)" (* "*") (cast_expression "(long *)(param_1 + 0x120)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x120)" (( "(") (binary_expression "param_1 + 0x120" (identifier "param_1") (+ "+") (number_literal "0x120")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x130) = 1;\n    return;\n  }" ({ "{") (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") (; ";")) (} "}"))) (if_statement "if (-1 < (int)*param_2) {\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }" (if "if") (parenthesized_expression "(-1 < (int)*param_2)" (( "(") (binary_expression "-1 < (int)*param_2" (number_literal "-1") (< "<") (cast_expression "(int)*param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) () ")")) (compound_statement "{\n    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));\n    return;\n  }" ({ "{") (expression_statement "FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));" (call_expression "FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10))" (identifier "FUN_002f7bd0") (argument_list "(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10))" (( "(") (pointer_expression "*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" (* "*") (cast_expression "(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10)" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10" (pointer_expression "*(long *)(*(long *)(param_1 + 0x120) + 8)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x120) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x120) + 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x120) + 8" (pointer_expression "*(long *)(param_1 + 0x120)" (* "*") (cast_expression "(long *)(param_1 + 0x120)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x120)" (( "(") (binary_expression "param_1 + 0x120" (identifier "param_1") (+ "+") (number_literal "0x120")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(long var_1,type_1 *param_2)

{
  if (*(long *)(var_1 + 0x120) == 0) {
    *(type_2 *)(var_1 + 0x130) = 1;
    return;
  }
  if (-1 < (int)*param_2) {
    var_2
              (*(type_1 *)(*(long *)(*(long *)(var_1 + 0x120) + 8) + 0x10));
    return;
  }
  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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_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))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal)))))))) (return_statement))) (return_statement))))

void MASKED(long param_1,undefined8 *param_2)

{
  if (*(long *)(param_1 + 0x120) == 0) {
    *(undefined4 *)(param_1 + 0x130) = 1;
    return;
  }
  if (-1 < (int)*param_2) {
    FUN_002f7bd0(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x120) + 8) + 0x10));
    return;
  }
  return;
}

