
void call_freefun(obstack *h,void *old_chunk)

{
  if ((h->field_0x50 & 1) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(h->freefun).plain)(h->extra_arg);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(h->freefun).plain)(old_chunk);
  return;
}



void FUN_0012fa50(long param_1,undefined8 param_2)

{
  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(param_1 + 0x40))(param_2);
  return;
}


MOV RAX,qword ptr [RDI + 0x40]
TEST byte ptr [RDI + 0x50],0x1
JZ 0x0012fa60
MOV RDI,qword ptr [RDI + 0x48]
JMP RAX
MOV RDI,RSI
JMP RAX
(translation_unit "void FUN_0012fa50(long param_1,undefined8 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(param_1 + 0x40))(param_2);\n  return;\n}\n\n" (function_definition "void FUN_0012fa50(long param_1,undefined8 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(param_1 + 0x40))(param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0012fa50(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 identifier) ))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(param_1 + 0x40))(param_2);\n  return;\n}" { (if_statement "if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x50) & 1) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x50) & 1) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x50) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x50) & 1" (pointer_expression "*(byte *)(param_1 + 0x50)" * (cast_expression "(byte *)(param_1 + 0x50)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }" { comment comment (expression_statement "(**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));" (call_expression "(**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48))" (parenthesized_expression "(**(code **)(param_1 + 0x40))" ( (pointer_expression "**(code **)(param_1 + 0x40)" * (pointer_expression "*(code **)(param_1 + 0x40)" * (cast_expression "(code **)(param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (argument_list "(*(undefined8 *)(param_1 + 0x48))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x48)" * (cast_expression "(undefined8 *)(param_1 + 0x48)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(**(code **)(param_1 + 0x40))(param_2);" (call_expression "(**(code **)(param_1 + 0x40))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x40))" ( (pointer_expression "**(code **)(param_1 + 0x40)" * (pointer_expression "*(code **)(param_1 + 0x40)" * (cast_expression "(code **)(param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void call_freefun(obstack *h,void *old_chunk)\n\n{\n  if ((h->field_0x50 & 1) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(h->freefun).plain)(h->extra_arg);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(h->freefun).plain)(old_chunk);\n  return;\n}\n\n" (function_definition "void call_freefun(obstack *h,void *old_chunk)\n\n{\n  if ((h->field_0x50 & 1) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(h->freefun).plain)(h->extra_arg);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(h->freefun).plain)(old_chunk);\n  return;\n}" primitive_type (function_declarator "call_freefun(obstack *h,void *old_chunk)" identifier (parameter_list "(obstack *h,void *old_chunk)" ( (parameter_declaration "obstack *h" type_identifier (pointer_declarator "*h" * identifier)) , (parameter_declaration "void *old_chunk" primitive_type (pointer_declarator "*old_chunk" * identifier)) ))) (compound_statement "{\n  if ((h->field_0x50 & 1) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(h->freefun).plain)(h->extra_arg);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(h->freefun).plain)(old_chunk);\n  return;\n}" { (if_statement "if ((h->field_0x50 & 1) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(h->freefun).plain)(h->extra_arg);\n    return;\n  }" if (parenthesized_expression "((h->field_0x50 & 1) != 0)" ( (binary_expression "(h->field_0x50 & 1) != 0" (parenthesized_expression "(h->field_0x50 & 1)" ( (binary_expression "h->field_0x50 & 1" (field_expression "h->field_0x50" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(h->freefun).plain)(h->extra_arg);\n    return;\n  }" { comment comment (expression_statement "(*(h->freefun).plain)(h->extra_arg);" (call_expression "(*(h->freefun).plain)(h->extra_arg)" (parenthesized_expression "(*(h->freefun).plain)" ( (pointer_expression "*(h->freefun).plain" * (field_expression "(h->freefun).plain" (parenthesized_expression "(h->freefun)" ( (field_expression "h->freefun" identifier -> field_identifier) )) . field_identifier)) )) (argument_list "(h->extra_arg)" ( (field_expression "h->extra_arg" identifier -> field_identifier) ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(h->freefun).plain)(old_chunk);" (call_expression "(*(h->freefun).plain)(old_chunk)" (parenthesized_expression "(*(h->freefun).plain)" ( (pointer_expression "*(h->freefun).plain" * (field_expression "(h->freefun).plain" (parenthesized_expression "(h->freefun)" ( (field_expression "h->freefun" identifier -> field_identifier) )) . field_identifier)) )) (argument_list "(old_chunk)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0012fa50(long param_1,undefined8 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }\n                    \n                    \n  (**(code **)(param_1 + 0x40))(param_2);\n  return;\n}\n\n" (function_definition "void FUN_0012fa50(long param_1,undefined8 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }\n                    \n                    \n  (**(code **)(param_1 + 0x40))(param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0012fa50(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 identifier) ))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }\n                    \n                    \n  (**(code **)(param_1 + 0x40))(param_2);\n  return;\n}" { (if_statement "if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x50) & 1) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x50) & 1) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x50) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x50) & 1" (pointer_expression "*(byte *)(param_1 + 0x50)" * (cast_expression "(byte *)(param_1 + 0x50)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }" { (expression_statement "(**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));" (call_expression "(**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48))" (parenthesized_expression "(**(code **)(param_1 + 0x40))" ( (pointer_expression "**(code **)(param_1 + 0x40)" * (pointer_expression "*(code **)(param_1 + 0x40)" * (cast_expression "(code **)(param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (argument_list "(*(undefined8 *)(param_1 + 0x48))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x48)" * (cast_expression "(undefined8 *)(param_1 + 0x48)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "(**(code **)(param_1 + 0x40))(param_2);" (call_expression "(**(code **)(param_1 + 0x40))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x40))" ( (pointer_expression "**(code **)(param_1 + 0x40)" * (pointer_expression "*(code **)(param_1 + 0x40)" * (cast_expression "(code **)(param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( identifier ))) ;) (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) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0012fa50(long param_1,undefined8 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }\n                    \n                    \n  (**(code **)(param_1 + 0x40))(param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012fa50(long param_1,undefined8 param_2)" (identifier "FUN_0012fa50") (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") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }\n                    \n                    \n  (**(code **)(param_1 + 0x40))(param_2);\n  return;\n}" ({ "{") (if_statement "if ((*(byte *)(param_1 + 0x50) & 1) != 0) {\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x50) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x50) & 1) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x50) & 1)" (( "(") (binary_expression "*(byte *)(param_1 + 0x50) & 1" (pointer_expression "*(byte *)(param_1 + 0x50)" (* "*") (cast_expression "(byte *)(param_1 + 0x50)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));" (call_expression "(**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48))" (parenthesized_expression "(**(code **)(param_1 + 0x40))" (( "(") (pointer_expression "**(code **)(param_1 + 0x40)" (* "*") (pointer_expression "*(code **)(param_1 + 0x40)" (* "*") (cast_expression "(code **)(param_1 + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (argument_list "(*(undefined8 *)(param_1 + 0x48))" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(**(code **)(param_1 + 0x40))(param_2);" (call_expression "(**(code **)(param_1 + 0x40))(param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x40))" (( "(") (pointer_expression "**(code **)(param_1 + 0x40)" (* "*") (pointer_expression "*(code **)(param_1 + 0x40)" (* "*") (cast_expression "(code **)(param_1 + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *h,void *old_chunk)

{
  if ((h->field_0x50 & 1) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(h->freefun).plain)(h->extra_arg);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(h->freefun).plain)(old_chunk);
  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)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (number_literal))) consequence: (compound_statement (expression_statement (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: (identifier) right: (number_literal))))))) arguments: (argument_list (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)))))))) (return_statement))) (expression_statement (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: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(long param_1,undefined8 param_2)

{
  if ((*(byte *)(param_1 + 0x50) & 1) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0012fa5e. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(param_1 + 0x40))(*(undefined8 *)(param_1 + 0x48));
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x0012fa63. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(param_1 + 0x40))(param_2);
  return;
}

