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

void __regparm3 gppfont(void *handle,char *name,Conf *conf,int primary)

{
  FontSpec *value;
  
  value = read_setting_fontspec(handle,name);
  if (value == (FontSpec *)0x0) {
    value = platform_default_fontspec(name);
  }
  conf_set_fontspec(conf,primary,value);
  fontspec_free(value);
  return;
}



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

void __regparm3
FUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  
  iVar1 = FUN_000a00f0(param_1,param_2);
  if (iVar1 == 0) {
    iVar1 = FUN_00092a30(param_2);
  }
  FUN_000206c0(param_3,param_4,iVar1);
  FUN_00099970(iVar1);
  return;
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x0001c4f0
ADD EBX,0xdb143
SUB ESP,0x14
PUSH EDX
PUSH EAX
CALL 0x000a00f0
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00035648
SUB ESP,0x4
PUSH ESI
PUSH dword ptr [ESP + 0x28]
PUSH EBP
CALL 0x000206c0
MOV dword ptr [ESP],ESI
CALL 0x00099970
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EDI
CALL 0x00092a30
ADD ESP,0x10
MOV ESI,EAX
JMP 0x00035626
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3\nFUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000a00f0(param_1,param_2);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }\n  FUN_000206c0(param_3,param_4,iVar1);\n  FUN_00099970(iVar1);\n  return;\n}\n\n" comment (function_definition "void __regparm3\nFUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000a00f0(param_1,param_2);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }\n  FUN_000206c0(param_3,param_4,iVar1);\n  FUN_00099970(iVar1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000a00f0(param_1,param_2);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }\n  FUN_000206c0(param_3,param_4,iVar1);\n  FUN_00099970(iVar1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000a00f0(param_1,param_2);" (assignment_expression "iVar1 = FUN_000a00f0(param_1,param_2)" identifier = (call_expression "FUN_000a00f0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = FUN_00092a30(param_2);\n  }" { (expression_statement "iVar1 = FUN_00092a30(param_2);" (assignment_expression "iVar1 = FUN_00092a30(param_2)" identifier = (call_expression "FUN_00092a30(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) })) (expression_statement "FUN_000206c0(param_3,param_4,iVar1);" (call_expression "FUN_000206c0(param_3,param_4,iVar1)" identifier (argument_list "(param_3,param_4,iVar1)" ( identifier , identifier , identifier ))) ;) (expression_statement "FUN_00099970(iVar1);" (call_expression "FUN_00099970(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 gppfont(void *handle,char *name,Conf *conf,int primary)\n\n{\n  FontSpec *value;\n  \n  value = read_setting_fontspec(handle,name);\n  if (value == (FontSpec *)0x0) {\n    value = platform_default_fontspec(name);\n  }\n  conf_set_fontspec(conf,primary,value);\n  fontspec_free(value);\n  return;\n}\n\n" comment (function_definition "void __regparm3 gppfont(void *handle,char *name,Conf *conf,int primary)\n\n{\n  FontSpec *value;\n  \n  value = read_setting_fontspec(handle,name);\n  if (value == (FontSpec *)0x0) {\n    value = platform_default_fontspec(name);\n  }\n  conf_set_fontspec(conf,primary,value);\n  fontspec_free(value);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "gppfont(void *handle,char *name,Conf *conf,int primary)" identifier (parameter_list "(void *handle,char *name,Conf *conf,int primary)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) , (parameter_declaration "int primary" primitive_type identifier) ))) (compound_statement "{\n  FontSpec *value;\n  \n  value = read_setting_fontspec(handle,name);\n  if (value == (FontSpec *)0x0) {\n    value = platform_default_fontspec(name);\n  }\n  conf_set_fontspec(conf,primary,value);\n  fontspec_free(value);\n  return;\n}" { (declaration "FontSpec *value;" type_identifier (pointer_declarator "*value" * identifier) ;) (expression_statement "value = read_setting_fontspec(handle,name);" (assignment_expression "value = read_setting_fontspec(handle,name)" identifier = (call_expression "read_setting_fontspec(handle,name)" identifier (argument_list "(handle,name)" ( identifier , identifier )))) ;) (if_statement "if (value == (FontSpec *)0x0) {\n    value = platform_default_fontspec(name);\n  }" if (parenthesized_expression "(value == (FontSpec *)0x0)" ( (binary_expression "value == (FontSpec *)0x0" identifier == (cast_expression "(FontSpec *)0x0" ( (type_descriptor "FontSpec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    value = platform_default_fontspec(name);\n  }" { (expression_statement "value = platform_default_fontspec(name);" (assignment_expression "value = platform_default_fontspec(name)" identifier = (call_expression "platform_default_fontspec(name)" identifier (argument_list "(name)" ( identifier )))) ;) })) (expression_statement "conf_set_fontspec(conf,primary,value);" (call_expression "conf_set_fontspec(conf,primary,value)" identifier (argument_list "(conf,primary,value)" ( identifier , identifier , identifier ))) ;) (expression_statement "fontspec_free(value);" (call_expression "fontspec_free(value)" identifier (argument_list "(value)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3\nFUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000a00f0(param_1,param_2);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }\n  FUN_000206c0(param_3,param_4,iVar1);\n  FUN_00099970(iVar1);\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000a00f0(param_1,param_2);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }\n  FUN_000206c0(param_3,param_4,iVar1);\n  FUN_00099970(iVar1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000a00f0(param_1,param_2);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }\n  FUN_000206c0(param_3,param_4,iVar1);\n  FUN_00099970(iVar1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000a00f0(param_1,param_2);" (assignment_expression "iVar1 = FUN_000a00f0(param_1,param_2)" identifier = (call_expression "FUN_000a00f0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = FUN_00092a30(param_2);\n  }" { (expression_statement "iVar1 = FUN_00092a30(param_2);" (assignment_expression "iVar1 = FUN_00092a30(param_2)" identifier = (call_expression "FUN_00092a30(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) })) (expression_statement "FUN_000206c0(param_3,param_4,iVar1);" (call_expression "FUN_000206c0(param_3,param_4,iVar1)" identifier (argument_list "(param_3,param_4,iVar1)" ( identifier , identifier , identifier ))) ;) (expression_statement "FUN_00099970(iVar1);" (call_expression "FUN_00099970(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3\nFUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000a00f0(param_1,param_2);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }\n  FUN_000206c0(param_3,param_4,iVar1);\n  FUN_00099970(iVar1);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00035600(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_00035600") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000a00f0(param_1,param_2);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }\n  FUN_000206c0(param_3,param_4,iVar1);\n  FUN_00099970(iVar1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_000a00f0(param_1,param_2);" (assignment_expression "iVar1 = FUN_000a00f0(param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_000a00f0(param_1,param_2)" (identifier "FUN_000a00f0") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    iVar1 = FUN_00092a30(param_2);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = FUN_00092a30(param_2);\n  }" ({ "{") (expression_statement "iVar1 = FUN_00092a30(param_2);" (assignment_expression "iVar1 = FUN_00092a30(param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_00092a30(param_2)" (identifier "FUN_00092a30") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_000206c0(param_3,param_4,iVar1);" (call_expression "FUN_000206c0(param_3,param_4,iVar1)" (identifier "FUN_000206c0") (argument_list "(param_3,param_4,iVar1)" (( "(") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "FUN_00099970(iVar1);" (call_expression "FUN_00099970(iVar1)" (identifier "FUN_00099970") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(void *handle,char *name,type_1 *conf,int primary)

{
  type_2 *var_2;
  
  var_2 = var_1(handle,name);
  if (var_2 == (type_2 *)0x0) {
    var_2 = var_3(name);
  }
  var_4(conf,primary,var_2);
  var_5(var_2);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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 __regparm3
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  
  iVar1 = FUN_000a00f0(param_1,param_2);
  if (iVar1 == 0) {
    iVar1 = FUN_00092a30(param_2);
  }
  FUN_000206c0(param_3,param_4,iVar1);
  FUN_00099970(iVar1);
  return;
}

