
/* 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 */

int x11font_width_16(unifont_drawctx *ctx,x11font_individual *xfi,void *vstring,int start,int length
                    )

{
  int iVar1;
  
  iVar1 = XTextWidth16(xfi->xfs,(void *)((int)vstring + start * 2),length);
  return iVar1;
}



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

void FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)

{
  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);
  return;
}


PUSH EBX
CALL 0x0001c4f0
ADD EBX,0x851ca
SUB ESP,0xc
PUSH dword ptr [ESP + 0x24]
MOV EAX,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [ESP + 0x20]
LEA EAX,[EDX + EAX*0x2]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x20]
PUSH dword ptr [EAX]
CALL 0x0001b670
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);\n  return;\n}\n\n" comment (function_definition "void FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);\n  return;\n}" primitive_type (function_declarator "FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);\n  return;\n}" { (expression_statement "XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);" (call_expression "XTextWidth16(*param_2,param_3 + param_4 * 2,param_5)" identifier (argument_list "(*param_2,param_3 + param_4 * 2,param_5)" ( (pointer_expression "*param_2" * identifier) , (binary_expression "param_3 + param_4 * 2" identifier + (binary_expression "param_4 * 2" identifier * number_literal)) , 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\nint x11font_width_16(unifont_drawctx *ctx,x11font_individual *xfi,void *vstring,int start,int length\n                    )\n\n{\n  int iVar1;\n  \n  iVar1 = XTextWidth16(xfi->xfs,(void *)((int)vstring + start * 2),length);\n  return iVar1;\n}\n\n" comment comment comment (function_definition "int x11font_width_16(unifont_drawctx *ctx,x11font_individual *xfi,void *vstring,int start,int length\n                    )\n\n{\n  int iVar1;\n  \n  iVar1 = XTextWidth16(xfi->xfs,(void *)((int)vstring + start * 2),length);\n  return iVar1;\n}" primitive_type (function_declarator "x11font_width_16(unifont_drawctx *ctx,x11font_individual *xfi,void *vstring,int start,int length\n                    )" identifier (parameter_list "(unifont_drawctx *ctx,x11font_individual *xfi,void *vstring,int start,int length\n                    )" ( (parameter_declaration "unifont_drawctx *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "x11font_individual *xfi" type_identifier (pointer_declarator "*xfi" * identifier)) , (parameter_declaration "void *vstring" primitive_type (pointer_declarator "*vstring" * identifier)) , (parameter_declaration "int start" primitive_type identifier) , (parameter_declaration "int length" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = XTextWidth16(xfi->xfs,(void *)((int)vstring + start * 2),length);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = XTextWidth16(xfi->xfs,(void *)((int)vstring + start * 2),length);" (assignment_expression "iVar1 = XTextWidth16(xfi->xfs,(void *)((int)vstring + start * 2),length)" identifier = (call_expression "XTextWidth16(xfi->xfs,(void *)((int)vstring + start * 2),length)" identifier (argument_list "(xfi->xfs,(void *)((int)vstring + start * 2),length)" ( (field_expression "xfi->xfs" identifier -> field_identifier) , (cast_expression "(void *)((int)vstring + start * 2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vstring + start * 2)" ( (binary_expression "(int)vstring + start * 2" (cast_expression "(int)vstring" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "start * 2" identifier * number_literal)) ))) , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);\n  return;\n}\n\n" (function_definition "void FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);\n  return;\n}" primitive_type (function_declarator "FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);\n  return;\n}" { (expression_statement "XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);" (call_expression "XTextWidth16(*param_2,param_3 + param_4 * 2,param_5)" identifier (argument_list "(*param_2,param_3 + param_4 * 2,param_5)" ( (pointer_expression "*param_2" * identifier) , (binary_expression "param_3 + param_4 * 2" identifier + (binary_expression "param_4 * 2" identifier * number_literal)) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (binary_expression IDENT + (binary_expression IDENT * LIT)) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0008b580(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" (identifier "FUN_0008b580") (parameter_list "(undefined4 param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);\n  return;\n}" ({ "{") (expression_statement "XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);" (call_expression "XTextWidth16(*param_2,param_3 + param_4 * 2,param_5)" (identifier "XTextWidth16") (argument_list "(*param_2,param_3 + param_4 * 2,param_5)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (binary_expression "param_3 + param_4 * 2" (identifier "param_3") (+ "+") (binary_expression "param_4 * 2" (identifier "param_4") (* "*") (number_literal "2"))) (, ",") (identifier "param_5") () ")"))) (; ";")) (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 */

int function_1(type_1 *ctx,type_2 *xfi,void *vstring,int var_2,int length
                    )

{
  int iVar1;
  
  iVar1 = var_1(xfi->xfs,(void *)((int)vstring + var_2 * 2),length);
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) (identifier)))) (return_statement))))

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

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

{
  XTextWidth16(*param_2,param_3 + param_4 * 2,param_5);
  return;
}

