
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void multifont_destroy(unifont *font)

{
  int *piVar1;
  
  (**(code **)((font[1].vt)->create + 8))(font[1].vt);
  piVar1 = (int *)font[1].public_charset;
  if (piVar1 != (int *)0x0) {
    (**(code **)(*piVar1 + 8))(piVar1);
  }
  safefree(font);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00050420(int param_1)

{
  int *piVar1;
  
  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));
  piVar1 = *(int **)(param_1 + 0x24);
  if (piVar1 != (int *)0x0) {
    (**(code **)(*piVar1 + 8))(piVar1);
  }
  FUN_0002da80(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x0001b410
ADD EBX,0x6037d
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESI + 0x20]
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x8]
MOV EAX,dword ptr [ESI + 0x24]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00050453
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x8]
ADD ESP,0x10
SUB ESP,0xc
PUSH ESI
CALL 0x0002da80
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00050420(int param_1)\n\n{\n  int *piVar1;\n  \n  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));\n  piVar1 = *(int **)(param_1 + 0x24);\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  FUN_0002da80(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_00050420(int param_1)\n\n{\n  int *piVar1;\n  \n  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));\n  piVar1 = *(int **)(param_1 + 0x24);\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  FUN_0002da80(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00050420(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));\n  piVar1 = *(int **)(param_1 + 0x24);\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  FUN_0002da80(param_1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "(**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));" (call_expression "(**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x20) + 8))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0x20) + 8)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0x20) + 8)" * (cast_expression "(code **)(**(int **)(param_1 + 0x20) + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0x20) + 8)" ( (binary_expression "**(int **)(param_1 + 0x20) + 8" (pointer_expression "**(int **)(param_1 + 0x20)" * (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 0x20))" ( (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x24);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x24)" identifier = (pointer_expression "*(int **)(param_1 + 0x24)" * (cast_expression "(int **)(param_1 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }" { (expression_statement "(**(code **)(*piVar1 + 8))(piVar1);" (call_expression "(**(code **)(*piVar1 + 8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) })) (expression_statement "FUN_0002da80(param_1);" (call_expression "FUN_0002da80(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid multifont_destroy(unifont *font)\n\n{\n  int *piVar1;\n  \n  (**(code **)((font[1].vt)->create + 8))(font[1].vt);\n  piVar1 = (int *)font[1].public_charset;\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  safefree(font);\n  return;\n}\n\n" comment comment comment (function_definition "void multifont_destroy(unifont *font)\n\n{\n  int *piVar1;\n  \n  (**(code **)((font[1].vt)->create + 8))(font[1].vt);\n  piVar1 = (int *)font[1].public_charset;\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  safefree(font);\n  return;\n}" primitive_type (function_declarator "multifont_destroy(unifont *font)" identifier (parameter_list "(unifont *font)" ( (parameter_declaration "unifont *font" type_identifier (pointer_declarator "*font" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  \n  (**(code **)((font[1].vt)->create + 8))(font[1].vt);\n  piVar1 = (int *)font[1].public_charset;\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  safefree(font);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "(**(code **)((font[1].vt)->create + 8))(font[1].vt);" (call_expression "(**(code **)((font[1].vt)->create + 8))(font[1].vt)" (parenthesized_expression "(**(code **)((font[1].vt)->create + 8))" ( (pointer_expression "**(code **)((font[1].vt)->create + 8)" * (pointer_expression "*(code **)((font[1].vt)->create + 8)" * (cast_expression "(code **)((font[1].vt)->create + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((font[1].vt)->create + 8)" ( (binary_expression "(font[1].vt)->create + 8" (field_expression "(font[1].vt)->create" (parenthesized_expression "(font[1].vt)" ( (field_expression "font[1].vt" (subscript_expression "font[1]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier) + number_literal) ))))) )) (argument_list "(font[1].vt)" ( (field_expression "font[1].vt" (subscript_expression "font[1]" identifier [ number_literal ]) . field_identifier) ))) ;) (expression_statement "piVar1 = (int *)font[1].public_charset;" (assignment_expression "piVar1 = (int *)font[1].public_charset" identifier = (cast_expression "(int *)font[1].public_charset" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "font[1].public_charset" (subscript_expression "font[1]" identifier [ number_literal ]) . field_identifier))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }" { (expression_statement "(**(code **)(*piVar1 + 8))(piVar1);" (call_expression "(**(code **)(*piVar1 + 8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) })) (expression_statement "safefree(font);" (call_expression "safefree(font)" identifier (argument_list "(font)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00050420(int param_1)\n\n{\n  int *piVar1;\n  \n  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));\n  piVar1 = *(int **)(param_1 + 0x24);\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  FUN_0002da80(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00050420(int param_1)\n\n{\n  int *piVar1;\n  \n  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));\n  piVar1 = *(int **)(param_1 + 0x24);\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  FUN_0002da80(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00050420(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));\n  piVar1 = *(int **)(param_1 + 0x24);\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  FUN_0002da80(param_1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "(**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));" (call_expression "(**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x20) + 8))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0x20) + 8)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0x20) + 8)" * (cast_expression "(code **)(**(int **)(param_1 + 0x20) + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0x20) + 8)" ( (binary_expression "**(int **)(param_1 + 0x20) + 8" (pointer_expression "**(int **)(param_1 + 0x20)" * (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 0x20))" ( (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x24);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x24)" identifier = (pointer_expression "*(int **)(param_1 + 0x24)" * (cast_expression "(int **)(param_1 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }" { (expression_statement "(**(code **)(*piVar1 + 8))(piVar1);" (call_expression "(**(code **)(*piVar1 + 8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) })) (expression_statement "FUN_0002da80(param_1);" (call_expression "FUN_0002da80(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (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 (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00050420(int param_1)\n\n{\n  int *piVar1;\n  \n  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));\n  piVar1 = *(int **)(param_1 + 0x24);\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  FUN_0002da80(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00050420(int param_1)" (identifier "FUN_00050420") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));\n  piVar1 = *(int **)(param_1 + 0x24);\n  if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }\n  FUN_0002da80(param_1);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (expression_statement "(**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));" (call_expression "(**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x20) + 8))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 0x20) + 8)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 0x20) + 8)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 0x20) + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 0x20) + 8)" (( "(") (binary_expression "**(int **)(param_1 + 0x20) + 8" (pointer_expression "**(int **)(param_1 + 0x20)" (* "*") (pointer_expression "*(int **)(param_1 + 0x20)" (* "*") (cast_expression "(int **)(param_1 + 0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(*(int **)(param_1 + 0x20))" (( "(") (pointer_expression "*(int **)(param_1 + 0x20)" (* "*") (cast_expression "(int **)(param_1 + 0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (expression_statement "piVar1 = *(int **)(param_1 + 0x24);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x24)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0x24)" (* "*") (cast_expression "(int **)(param_1 + 0x24)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(*piVar1 + 8))(piVar1);\n  }" ({ "{") (expression_statement "(**(code **)(*piVar1 + 8))(piVar1);" (call_expression "(**(code **)(*piVar1 + 8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" (( "(") (pointer_expression "**(code **)(*piVar1 + 8)" (* "*") (pointer_expression "*(code **)(*piVar1 + 8)" (* "*") (cast_expression "(code **)(*piVar1 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 8)" (( "(") (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0002da80(param_1);" (call_expression "FUN_0002da80(param_1)" (identifier "FUN_0002da80") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(type_1 *font)

{
  int *var_1;
  
  (**(type_2 **)((font[1].vt)->create + 8))(font[1].vt);
  var_1 = (int *)font[1].public_charset;
  if (var_1 != (int *)0x0) {
    (**(type_2 **)(*var_1 + 8))(var_1);
  }
  var_2(font);
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1)

{
  int *piVar1;
  
  (**(code **)(**(int **)(param_1 + 0x20) + 8))(*(int **)(param_1 + 0x20));
  piVar1 = *(int **)(param_1 + 0x24);
  if (piVar1 != (int *)0x0) {
    (**(code **)(*piVar1 + 8))(piVar1);
  }
  FUN_0002da80(param_1);
  return;
}

