
/* WARNING: Unknown calling convention */

int font_dimension(void *frontend,int which)

{
  int iVar1;
  
  iVar1 = *(int *)((int)frontend + 0xce0);
  if (which == 0) {
    iVar1 = *(int *)((int)frontend + 0xcdc);
  }
  return iVar1;
}



undefined4 FUN_00068540(int param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(param_1 + 0xce0);
  if (param_2 == 0) {
    uVar1 = *(undefined4 *)(param_1 + 0xcdc);
  }
  return uVar1;
}


MOV EDX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [EDX + 0xce0]
TEST ECX,ECX
CMOVZ EAX,dword ptr [EDX + 0xcdc]
RET
(translation_unit "undefined4 FUN_00068540(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0xce0);\n  if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00068540(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0xce0);\n  if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00068540(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0xce0);\n  if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0xce0);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xce0)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xce0)" * (cast_expression "(undefined4 *)(param_1 + 0xce0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xce0)" ( (binary_expression "param_1 + 0xce0" identifier + number_literal) ))))) ;) (if_statement "if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0xcdc);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xcdc)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xcdc)" * (cast_expression "(undefined4 *)(param_1 + 0xcdc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcdc)" ( (binary_expression "param_1 + 0xcdc" identifier + number_literal) ))))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint font_dimension(void *frontend,int which)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)((int)frontend + 0xce0);\n  if (which == 0) {\n    iVar1 = *(int *)((int)frontend + 0xcdc);\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int font_dimension(void *frontend,int which)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)((int)frontend + 0xce0);\n  if (which == 0) {\n    iVar1 = *(int *)((int)frontend + 0xcdc);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "font_dimension(void *frontend,int which)" identifier (parameter_list "(void *frontend,int which)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "int which" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)((int)frontend + 0xce0);\n  if (which == 0) {\n    iVar1 = *(int *)((int)frontend + 0xcdc);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)((int)frontend + 0xce0);" (assignment_expression "iVar1 = *(int *)((int)frontend + 0xce0)" identifier = (pointer_expression "*(int *)((int)frontend + 0xce0)" * (cast_expression "(int *)((int)frontend + 0xce0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)frontend + 0xce0)" ( (binary_expression "(int)frontend + 0xce0" (cast_expression "(int)frontend" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (which == 0) {\n    iVar1 = *(int *)((int)frontend + 0xcdc);\n  }" if (parenthesized_expression "(which == 0)" ( (binary_expression "which == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)((int)frontend + 0xcdc);\n  }" { (expression_statement "iVar1 = *(int *)((int)frontend + 0xcdc);" (assignment_expression "iVar1 = *(int *)((int)frontend + 0xcdc)" identifier = (pointer_expression "*(int *)((int)frontend + 0xcdc)" * (cast_expression "(int *)((int)frontend + 0xcdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)frontend + 0xcdc)" ( (binary_expression "(int)frontend + 0xcdc" (cast_expression "(int)frontend" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00068540(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0xce0);\n  if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00068540(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0xce0);\n  if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00068540(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0xce0);\n  if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0xce0);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xce0)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xce0)" * (cast_expression "(undefined4 *)(param_1 + 0xce0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xce0)" ( (binary_expression "param_1 + 0xce0" identifier + number_literal) ))))) ;) (if_statement "if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0xcdc);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xcdc)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xcdc)" * (cast_expression "(undefined4 *)(param_1 + 0xcdc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcdc)" ( (binary_expression "param_1 + 0xcdc" identifier + number_literal) ))))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00068540(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0xce0);\n  if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00068540(int param_1,int param_2)" (identifier "FUN_00068540") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0xce0);\n  if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0xce0);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xce0)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0xce0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xce0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xce0)" (( "(") (binary_expression "param_1 + 0xce0" (identifier "param_1") (+ "+") (number_literal "0xce0")) () ")"))))) (; ";")) (if_statement "if (param_2 == 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 0xcdc);\n  }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0xcdc);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xcdc)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0xcdc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xcdc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xcdc)" (( "(") (binary_expression "param_1 + 0xcdc" (identifier "param_1") (+ "+") (number_literal "0xcdc")) () ")"))))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void *frontend,int var_1)

{
  int iVar1;
  
  iVar1 = *(int *)((int)frontend + 0xce0);
  if (var_1 == 0) {
    iVar1 = *(int *)((int)frontend + 0xcdc);
  }
  return iVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(param_1 + 0xce0);
  if (param_2 == 0) {
    uVar1 = *(undefined4 *)(param_1 + 0xcdc);
  }
  return uVar1;
}

