
/* get_adjusted_ptr(std::type_info const*, std::type_info const*, void**) */

void get_adjusted_ptr(type_info *param_1,type_info *param_2,void **param_3)

{
  int iVar1;
  undefined4 *local_18 [3];
  
  local_18[0] = (undefined4 *)*param_3;
  iVar1 = (**(code **)(*(int *)param_2 + 8))(param_2);
  if (iVar1 != 0) {
    local_18[0] = (undefined4 *)*local_18[0];
  }
  iVar1 = (**(code **)(*(int *)param_1 + 0x10))(param_1,param_2,local_18,1);
  if (iVar1 != 0) {
    *param_3 = local_18[0];
  }
  return;
}



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

{
  int iVar1;
  undefined4 *local_18 [3];
  
  local_18[0] = (undefined4 *)*param_3;
  iVar1 = (**(code **)(*param_2 + 8))(param_2);
  if (iVar1 != 0) {
    local_18[0] = (undefined4 *)*local_18[0];
  }
  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);
  if (iVar1 != 0) {
    *param_3 = local_18[0];
  }
  return;
}


lw v1,0x0(a1)
addiu sp,sp,-0x30
lw v0,0x0(a2)
sw s1,0x28(sp)
or s1,a2,zero
sw s0,0x24(sp)
or s0,a0,zero
sw a1,0x34(sp)
sw ra,0x2c(sp)
sw v0,0x18(sp)
lw t9,0x8(v1)
jalr t9
_or a0,a1,zero
beq v0,zero,0x0032f368
_lw a1,0x34(sp)
lw v0,0x18(sp)
lw v0,0x0(v0)
sw v0,0x18(sp)
lw v0,0x0(s0)
li a3,0x1
addiu a2,sp,0x18
lw t9,0x10(v0)
jalr t9
_or a0,s0,zero
beq v0,zero,0x0032f394
_lw ra,0x2c(sp)
lw v1,0x18(sp)
sw v1,0x0(s1)
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_0032f320(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}\n\n" (function_definition "void FUN_0032f320(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0032f320(int *param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *local_18 [3];" type_identifier (pointer_declarator "*local_18 [3]" * (array_declarator "local_18 [3]" identifier [ number_literal ])) ;) (expression_statement "local_18[0] = (undefined4 *)*param_3;" (assignment_expression "local_18[0] = (undefined4 *)*param_3" (subscript_expression "local_18[0]" identifier [ number_literal ]) = (cast_expression "(undefined4 *)*param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "iVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 8))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" ( (pointer_expression "**(code **)(*param_2 + 8)" * (pointer_expression "*(code **)(*param_2 + 8)" * (cast_expression "(code **)(*param_2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    local_18[0] = (undefined4 *)*local_18[0];\n  }" { (expression_statement "local_18[0] = (undefined4 *)*local_18[0];" (assignment_expression "local_18[0] = (undefined4 *)*local_18[0]" (subscript_expression "local_18[0]" identifier [ number_literal ]) = (cast_expression "(undefined4 *)*local_18[0]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_18[0]" * (subscript_expression "local_18[0]" identifier [ number_literal ])))) ;) })) (expression_statement "iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);" (assignment_expression "iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1)" identifier = (call_expression "(**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1)" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" ( (pointer_expression "**(code **)(*param_1 + 0x10)" * (pointer_expression "*(code **)(*param_1 + 0x10)" * (cast_expression "(code **)(*param_1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,local_18,1)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_3 = local_18[0];\n  }" { (expression_statement "*param_3 = local_18[0];" (assignment_expression "*param_3 = local_18[0]" (pointer_expression "*param_3" * identifier) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* get_adjusted_ptr(std::type_info const*, std::type_info const*, void**) */\n\nvoid get_adjusted_ptr(type_info *param_1,type_info *param_2,void **param_3)\n\n{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*(int *)param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*(int *)param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}\n\n" comment (function_definition "void get_adjusted_ptr(type_info *param_1,type_info *param_2,void **param_3)\n\n{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*(int *)param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*(int *)param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}" primitive_type (function_declarator "get_adjusted_ptr(type_info *param_1,type_info *param_2,void **param_3)" identifier (parameter_list "(type_info *param_1,type_info *param_2,void **param_3)" ( (parameter_declaration "type_info *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "type_info *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "void **param_3" primitive_type (pointer_declarator "**param_3" * (pointer_declarator "*param_3" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*(int *)param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*(int *)param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *local_18 [3];" type_identifier (pointer_declarator "*local_18 [3]" * (array_declarator "local_18 [3]" identifier [ number_literal ])) ;) (expression_statement "local_18[0] = (undefined4 *)*param_3;" (assignment_expression "local_18[0] = (undefined4 *)*param_3" (subscript_expression "local_18[0]" identifier [ number_literal ]) = (cast_expression "(undefined4 *)*param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "iVar1 = (**(code **)(*(int *)param_2 + 8))(param_2);" (assignment_expression "iVar1 = (**(code **)(*(int *)param_2 + 8))(param_2)" identifier = (call_expression "(**(code **)(*(int *)param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*(int *)param_2 + 8))" ( (pointer_expression "**(code **)(*(int *)param_2 + 8)" * (pointer_expression "*(code **)(*(int *)param_2 + 8)" * (cast_expression "(code **)(*(int *)param_2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_2 + 8)" ( (binary_expression "*(int *)param_2 + 8" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    local_18[0] = (undefined4 *)*local_18[0];\n  }" { (expression_statement "local_18[0] = (undefined4 *)*local_18[0];" (assignment_expression "local_18[0] = (undefined4 *)*local_18[0]" (subscript_expression "local_18[0]" identifier [ number_literal ]) = (cast_expression "(undefined4 *)*local_18[0]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_18[0]" * (subscript_expression "local_18[0]" identifier [ number_literal ])))) ;) })) (expression_statement "iVar1 = (**(code **)(*(int *)param_1 + 0x10))(param_1,param_2,local_18,1);" (assignment_expression "iVar1 = (**(code **)(*(int *)param_1 + 0x10))(param_1,param_2,local_18,1)" identifier = (call_expression "(**(code **)(*(int *)param_1 + 0x10))(param_1,param_2,local_18,1)" (parenthesized_expression "(**(code **)(*(int *)param_1 + 0x10))" ( (pointer_expression "**(code **)(*(int *)param_1 + 0x10)" * (pointer_expression "*(code **)(*(int *)param_1 + 0x10)" * (cast_expression "(code **)(*(int *)param_1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1 + 0x10)" ( (binary_expression "*(int *)param_1 + 0x10" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(param_1,param_2,local_18,1)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_3 = local_18[0];\n  }" { (expression_statement "*param_3 = local_18[0];" (assignment_expression "*param_3 = local_18[0]" (pointer_expression "*param_3" * identifier) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0032f320(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}\n\n" (function_definition "void FUN_0032f320(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0032f320(int *param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *local_18 [3];" type_identifier (pointer_declarator "*local_18 [3]" * (array_declarator "local_18 [3]" identifier [ number_literal ])) ;) (expression_statement "local_18[0] = (undefined4 *)*param_3;" (assignment_expression "local_18[0] = (undefined4 *)*param_3" (subscript_expression "local_18[0]" identifier [ number_literal ]) = (cast_expression "(undefined4 *)*param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "iVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 8))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" ( (pointer_expression "**(code **)(*param_2 + 8)" * (pointer_expression "*(code **)(*param_2 + 8)" * (cast_expression "(code **)(*param_2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    local_18[0] = (undefined4 *)*local_18[0];\n  }" { (expression_statement "local_18[0] = (undefined4 *)*local_18[0];" (assignment_expression "local_18[0] = (undefined4 *)*local_18[0]" (subscript_expression "local_18[0]" identifier [ number_literal ]) = (cast_expression "(undefined4 *)*local_18[0]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_18[0]" * (subscript_expression "local_18[0]" identifier [ number_literal ])))) ;) })) (expression_statement "iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);" (assignment_expression "iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1)" identifier = (call_expression "(**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1)" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" ( (pointer_expression "**(code **)(*param_1 + 0x10)" * (pointer_expression "*(code **)(*param_1 + 0x10)" * (cast_expression "(code **)(*param_1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,local_18,1)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_3 = local_18[0];\n  }" { (expression_statement "*param_3 = local_18[0];" (assignment_expression "*param_3 = local_18[0]" (pointer_expression "*param_3" * identifier) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (subscript_expression IDENT [ LIT ])))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0032f320(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0032f320(int *param_1,int *param_2,undefined4 *param_3)" (identifier "FUN_0032f320") (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *local_18 [3];\n  \n  local_18[0] = (undefined4 *)*param_3;\n  iVar1 = (**(code **)(*param_2 + 8))(param_2);\n  if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }\n  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);\n  if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *local_18 [3];" (type_identifier "undefined4") (pointer_declarator "*local_18 [3]" (* "*") (array_declarator "local_18 [3]" (identifier "local_18") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "local_18[0] = (undefined4 *)*param_3;" (assignment_expression "local_18[0] = (undefined4 *)*param_3" (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]")) (= "=") (cast_expression "(undefined4 *)*param_3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (expression_statement "iVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 8))(param_2)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" (( "(") (pointer_expression "**(code **)(*param_2 + 8)" (* "*") (pointer_expression "*(code **)(*param_2 + 8)" (* "*") (cast_expression "(code **)(*param_2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 8)" (( "(") (binary_expression "*param_2 + 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    local_18[0] = (undefined4 *)*local_18[0];\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_18[0] = (undefined4 *)*local_18[0];\n  }" ({ "{") (expression_statement "local_18[0] = (undefined4 *)*local_18[0];" (assignment_expression "local_18[0] = (undefined4 *)*local_18[0]" (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]")) (= "=") (cast_expression "(undefined4 *)*local_18[0]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_18[0]" (* "*") (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]"))))) (; ";")) (} "}"))) (expression_statement "iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);" (assignment_expression "iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1)" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x10)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x10)" (* "*") (cast_expression "(code **)(*param_1 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(param_1,param_2,local_18,1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "local_18") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    *param_3 = local_18[0];\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *param_3 = local_18[0];\n  }" ({ "{") (expression_statement "*param_3 = local_18[0];" (assignment_expression "*param_3 = local_18[0]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (subscript_expression argument: (identifier) index: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (return_statement))))

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

{
  int iVar1;
  undefined4 *local_18 [3];
  
  local_18[0] = (undefined4 *)*param_3;
  iVar1 = (**(code **)(*param_2 + 8))(param_2);
  if (iVar1 != 0) {
    local_18[0] = (undefined4 *)*local_18[0];
  }
  iVar1 = (**(code **)(*param_1 + 0x10))(param_1,param_2,local_18,1);
  if (iVar1 != 0) {
    *param_3 = local_18[0];
  }
  return;
}

