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

control * ctrl_text(controlset *s,char *text,intorptr helpctx)

{
  control *pcVar1;
  char *pcVar2;
  
  pcVar1 = ctrl_new(s,0,helpctx,(handler_fn)0x0,(intorptr)0x0);
  pcVar2 = dupstr(text);
  (pcVar1->generic).label = pcVar2;
  return pcVar1;
}



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

int FUN_00028430(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_000277c0(0,0);
  uVar2 = FUN_0002d300(param_2);
  *(undefined4 *)(iVar1 + 4) = uVar2;
  return iVar1;
}


PUSH ESI
XOR EDX,EDX
PUSH EBX
CALL 0x0001b410
ADD EBX,0x8836b
SUB ESP,0xc
PUSH 0x0
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESP + 0x20]
CALL 0x000277c0
MOV ESI,EAX
POP EAX
PUSH dword ptr [ESP + 0x20]
CALL 0x0002d300
MOV dword ptr [ESI + 0x4],EAX
ADD ESP,0x14
MOV EAX,ESI
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00028430(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000277c0(0,0);\n  uVar2 = FUN_0002d300(param_2);\n  *(undefined4 *)(iVar1 + 4) = uVar2;\n  return iVar1;\n}\n\n" comment (function_definition "int FUN_00028430(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000277c0(0,0);\n  uVar2 = FUN_0002d300(param_2);\n  *(undefined4 *)(iVar1 + 4) = uVar2;\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00028430(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000277c0(0,0);\n  uVar2 = FUN_0002d300(param_2);\n  *(undefined4 *)(iVar1 + 4) = uVar2;\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_000277c0(0,0);" (assignment_expression "iVar1 = FUN_000277c0(0,0)" identifier = (call_expression "FUN_000277c0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (expression_statement "uVar2 = FUN_0002d300(param_2);" (assignment_expression "uVar2 = FUN_0002d300(param_2)" identifier = (call_expression "FUN_0002d300(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\ncontrol * ctrl_text(controlset *s,char *text,intorptr helpctx)\n\n{\n  control *pcVar1;\n  char *pcVar2;\n  \n  pcVar1 = ctrl_new(s,0,helpctx,(handler_fn)0x0,(intorptr)0x0);\n  pcVar2 = dupstr(text);\n  (pcVar1->generic).label = pcVar2;\n  return pcVar1;\n}\n\n" comment comment (function_definition "control * ctrl_text(controlset *s,char *text,intorptr helpctx)\n\n{\n  control *pcVar1;\n  char *pcVar2;\n  \n  pcVar1 = ctrl_new(s,0,helpctx,(handler_fn)0x0,(intorptr)0x0);\n  pcVar2 = dupstr(text);\n  (pcVar1->generic).label = pcVar2;\n  return pcVar1;\n}" type_identifier (pointer_declarator "* ctrl_text(controlset *s,char *text,intorptr helpctx)" * (function_declarator "ctrl_text(controlset *s,char *text,intorptr helpctx)" identifier (parameter_list "(controlset *s,char *text,intorptr helpctx)" ( (parameter_declaration "controlset *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "char *text" primitive_type (pointer_declarator "*text" * identifier)) , (parameter_declaration "intorptr helpctx" type_identifier identifier) )))) (compound_statement "{\n  control *pcVar1;\n  char *pcVar2;\n  \n  pcVar1 = ctrl_new(s,0,helpctx,(handler_fn)0x0,(intorptr)0x0);\n  pcVar2 = dupstr(text);\n  (pcVar1->generic).label = pcVar2;\n  return pcVar1;\n}" { (declaration "control *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar1 = ctrl_new(s,0,helpctx,(handler_fn)0x0,(intorptr)0x0);" (assignment_expression "pcVar1 = ctrl_new(s,0,helpctx,(handler_fn)0x0,(intorptr)0x0)" identifier = (call_expression "ctrl_new(s,0,helpctx,(handler_fn)0x0,(intorptr)0x0)" identifier (argument_list "(s,0,helpctx,(handler_fn)0x0,(intorptr)0x0)" ( identifier , number_literal , identifier , (cast_expression "(handler_fn)0x0" ( (type_descriptor "handler_fn" type_identifier) ) number_literal) , (cast_expression "(intorptr)0x0" ( (type_descriptor "intorptr" type_identifier) ) number_literal) )))) ;) (expression_statement "pcVar2 = dupstr(text);" (assignment_expression "pcVar2 = dupstr(text)" identifier = (call_expression "dupstr(text)" identifier (argument_list "(text)" ( identifier )))) ;) (expression_statement "(pcVar1->generic).label = pcVar2;" (assignment_expression "(pcVar1->generic).label = pcVar2" (field_expression "(pcVar1->generic).label" (parenthesized_expression "(pcVar1->generic)" ( (field_expression "pcVar1->generic" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "int FUN_00028430(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000277c0(0,0);\n  uVar2 = FUN_0002d300(param_2);\n  *(undefined4 *)(iVar1 + 4) = uVar2;\n  return iVar1;\n}\n\n" (function_definition "int FUN_00028430(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000277c0(0,0);\n  uVar2 = FUN_0002d300(param_2);\n  *(undefined4 *)(iVar1 + 4) = uVar2;\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00028430(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000277c0(0,0);\n  uVar2 = FUN_0002d300(param_2);\n  *(undefined4 *)(iVar1 + 4) = uVar2;\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_000277c0(0,0);" (assignment_expression "iVar1 = FUN_000277c0(0,0)" identifier = (call_expression "FUN_000277c0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (expression_statement "uVar2 = FUN_0002d300(param_2);" (assignment_expression "uVar2 = FUN_0002d300(param_2)" identifier = (call_expression "FUN_0002d300(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" 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 ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00028430(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000277c0(0,0);\n  uVar2 = FUN_0002d300(param_2);\n  *(undefined4 *)(iVar1 + 4) = uVar2;\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00028430(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00028430") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000277c0(0,0);\n  uVar2 = FUN_0002d300(param_2);\n  *(undefined4 *)(iVar1 + 4) = uVar2;\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = FUN_000277c0(0,0);" (assignment_expression "iVar1 = FUN_000277c0(0,0)" (identifier "iVar1") (= "=") (call_expression "FUN_000277c0(0,0)" (identifier "FUN_000277c0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_0002d300(param_2);" (assignment_expression "uVar2 = FUN_0002d300(param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_0002d300(param_2)" (identifier "FUN_0002d300") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

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

type_1 * function_1(type_2 *s,char *text,type_3 helpctx)

{
  type_1 *pcVar1;
  char *pcVar2;
  
  pcVar1 = var_1(s,0,helpctx,(type_4)0x0,(type_3)0x0);
  pcVar2 = var_2(text);
  (pcVar1->generic).label = pcVar2;
  return pcVar1;
}


(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: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_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: (identifier))) (return_statement (identifier)))))

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

int MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_000277c0(0,0);
  uVar2 = FUN_0002d300(param_2);
  *(undefined4 *)(iVar1 + 4) = uVar2;
  return iVar1;
}

