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

void load_var(int var_name)

{
  int *piVar1;
  bc_num *ppbVar2;
  
  if (var_name == 1) {
    push_copy(_zero_);
    piVar1 = &o_base;
  }
  else if (var_name < 2) {
    if (var_name != 0) {
LAB_000185a0:
      ppbVar2 = &variables[var_name]->v_value;
      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {
        ppbVar2 = &_zero_;
      }
      push_copy(((bc_var *)ppbVar2)->v_value);
      return;
    }
    push_copy(_zero_);
    piVar1 = &i_base;
  }
  else if (var_name == 2) {
    push_copy(_zero_);
    piVar1 = &scale;
  }
  else {
    if (var_name != 3) goto LAB_000185a0;
    push_copy(_zero_);
    piVar1 = &n_history;
  }
  bc_int2num(&ex_stack->s_num,*piVar1);
  return;
}



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

void FUN_00018500(int param_1)

{
  undefined4 *puVar1;
  
  if (param_1 == 1) {
    FUN_00017d70(DAT_000292c8);
    puVar1 = &DAT_00029280;
  }
  else if (param_1 < 2) {
    if (param_1 != 0) {
LAB_000185af:
      FUN_00017d70();
      return;
    }
    FUN_00017d70(DAT_000292c8);
    puVar1 = &DAT_000292a4;
  }
  else if (param_1 == 2) {
    FUN_00017d70(DAT_000292c8);
    puVar1 = &DAT_00029298;
  }
  else {
    if (param_1 != 3) goto LAB_000185af;
    FUN_00017d70(DAT_000292c8);
    puVar1 = &DAT_00029264;
  }
  FUN_0001c5a0(DAT_000292bc,*puVar1);
  return;
}


PUSH EBX
CALL 0x00011650
ADD EBX,0x109fe
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
CMP EAX,0x1
JZ 0x00018580
JLE 0x00018560
CMP EAX,0x2
JZ 0x000185c0
CMP EAX,0x3
JNZ 0x000185a0
LEA EAX,[EBX + 0x3c4]
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00017d70
POP EAX
LEA EAX,[EBX + 0x360]
POP EDX
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0x3b8]
PUSH dword ptr [EAX]
CALL 0x0001c5a0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
TEST EAX,EAX
JNZ 0x000185a0
LEA EAX,[EBX + 0x3c4]
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00017d70
POP ECX
POP EAX
LEA EAX,[EBX + 0x3a0]
JMP 0x00018540
LEA EAX,[EBX + 0x3c4]
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00017d70
POP EAX
LEA EAX,[EBX + 0x37c]
POP EDX
JMP 0x00018540
LEA EDX,[EBX + 0x3b0]
MOV EDX,dword ptr [EDX]
MOV EAX,dword ptr [EDX + EAX*0x4]
TEST EAX,EAX
JZ 0x000185e0
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x10],EAX
ADD ESP,0x8
POP EBX
JMP 0x00017d70
LEA EAX,[EBX + 0x3c4]
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00017d70
POP ECX
POP EAX
LEA EAX,[EBX + 0x394]
JMP 0x00018540
LEA EAX,[EBX + 0x3c4]
JMP 0x000185af
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00018500(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }\n  FUN_0001c5a0(DAT_000292bc,*puVar1);\n  return;\n}\n\n" comment (function_definition "void FUN_00018500(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }\n  FUN_0001c5a0(DAT_000292bc,*puVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00018500(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }\n  FUN_0001c5a0(DAT_000292bc,*puVar1);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" if (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) )) (compound_statement "{\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }" { (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" identifier (argument_list "(DAT_000292c8)" ( identifier ))) ;) (expression_statement "puVar1 = &DAT_00029280;" (assignment_expression "puVar1 = &DAT_00029280" identifier = (pointer_expression "&DAT_00029280" & identifier)) ;) }) (else_clause "else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" else (if_statement "if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" if (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) (compound_statement "{\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }" { (if_statement "if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }" { (labeled_statement "LAB_000185af:\n      FUN_00017d70();" statement_identifier : (expression_statement "FUN_00017d70();" (call_expression "FUN_00017d70()" identifier (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })) (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" identifier (argument_list "(DAT_000292c8)" ( identifier ))) ;) (expression_statement "puVar1 = &DAT_000292a4;" (assignment_expression "puVar1 = &DAT_000292a4" identifier = (pointer_expression "&DAT_000292a4" & identifier)) ;) }) (else_clause "else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" else (if_statement "if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" if (parenthesized_expression "(param_1 == 2)" ( (binary_expression "param_1 == 2" identifier == number_literal) )) (compound_statement "{\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }" { (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" identifier (argument_list "(DAT_000292c8)" ( identifier ))) ;) (expression_statement "puVar1 = &DAT_00029298;" (assignment_expression "puVar1 = &DAT_00029298" identifier = (pointer_expression "&DAT_00029298" & identifier)) ;) }) (else_clause "else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" else (compound_statement "{\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" { (if_statement "if (param_1 != 3) goto LAB_000185af;" if (parenthesized_expression "(param_1 != 3)" ( (binary_expression "param_1 != 3" identifier != number_literal) )) (goto_statement "goto LAB_000185af;" goto statement_identifier ;)) (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" identifier (argument_list "(DAT_000292c8)" ( identifier ))) ;) (expression_statement "puVar1 = &DAT_00029264;" (assignment_expression "puVar1 = &DAT_00029264" identifier = (pointer_expression "&DAT_00029264" & identifier)) ;) }))))))) (expression_statement "FUN_0001c5a0(DAT_000292bc,*puVar1);" (call_expression "FUN_0001c5a0(DAT_000292bc,*puVar1)" identifier (argument_list "(DAT_000292bc,*puVar1)" ( identifier , (pointer_expression "*puVar1" * identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid load_var(int var_name)\n\n{\n  int *piVar1;\n  bc_num *ppbVar2;\n  \n  if (var_name == 1) {\n    push_copy(_zero_);\n    piVar1 = &o_base;\n  }\n  else if (var_name < 2) {\n    if (var_name != 0) {\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }\n    push_copy(_zero_);\n    piVar1 = &i_base;\n  }\n  else if (var_name == 2) {\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }\n  else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }\n  bc_int2num(&ex_stack->s_num,*piVar1);\n  return;\n}\n\n" comment (function_definition "void load_var(int var_name)\n\n{\n  int *piVar1;\n  bc_num *ppbVar2;\n  \n  if (var_name == 1) {\n    push_copy(_zero_);\n    piVar1 = &o_base;\n  }\n  else if (var_name < 2) {\n    if (var_name != 0) {\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }\n    push_copy(_zero_);\n    piVar1 = &i_base;\n  }\n  else if (var_name == 2) {\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }\n  else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }\n  bc_int2num(&ex_stack->s_num,*piVar1);\n  return;\n}" primitive_type (function_declarator "load_var(int var_name)" identifier (parameter_list "(int var_name)" ( (parameter_declaration "int var_name" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  bc_num *ppbVar2;\n  \n  if (var_name == 1) {\n    push_copy(_zero_);\n    piVar1 = &o_base;\n  }\n  else if (var_name < 2) {\n    if (var_name != 0) {\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }\n    push_copy(_zero_);\n    piVar1 = &i_base;\n  }\n  else if (var_name == 2) {\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }\n  else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }\n  bc_int2num(&ex_stack->s_num,*piVar1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "bc_num *ppbVar2;" type_identifier (pointer_declarator "*ppbVar2" * identifier) ;) (if_statement "if (var_name == 1) {\n    push_copy(_zero_);\n    piVar1 = &o_base;\n  }\n  else if (var_name < 2) {\n    if (var_name != 0) {\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }\n    push_copy(_zero_);\n    piVar1 = &i_base;\n  }\n  else if (var_name == 2) {\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }\n  else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }" if (parenthesized_expression "(var_name == 1)" ( (binary_expression "var_name == 1" identifier == number_literal) )) (compound_statement "{\n    push_copy(_zero_);\n    piVar1 = &o_base;\n  }" { (expression_statement "push_copy(_zero_);" (call_expression "push_copy(_zero_)" identifier (argument_list "(_zero_)" ( identifier ))) ;) (expression_statement "piVar1 = &o_base;" (assignment_expression "piVar1 = &o_base" identifier = (pointer_expression "&o_base" & identifier)) ;) }) (else_clause "else if (var_name < 2) {\n    if (var_name != 0) {\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }\n    push_copy(_zero_);\n    piVar1 = &i_base;\n  }\n  else if (var_name == 2) {\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }\n  else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }" else (if_statement "if (var_name < 2) {\n    if (var_name != 0) {\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }\n    push_copy(_zero_);\n    piVar1 = &i_base;\n  }\n  else if (var_name == 2) {\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }\n  else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }" if (parenthesized_expression "(var_name < 2)" ( (binary_expression "var_name < 2" identifier < number_literal) )) (compound_statement "{\n    if (var_name != 0) {\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }\n    push_copy(_zero_);\n    piVar1 = &i_base;\n  }" { (if_statement "if (var_name != 0) {\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }" if (parenthesized_expression "(var_name != 0)" ( (binary_expression "var_name != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;\n      if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }\n      push_copy(((bc_var *)ppbVar2)->v_value);\n      return;\n    }" { (labeled_statement "LAB_000185a0:\n      ppbVar2 = &variables[var_name]->v_value;" statement_identifier : (expression_statement "ppbVar2 = &variables[var_name]->v_value;" (assignment_expression "ppbVar2 = &variables[var_name]->v_value" identifier = (pointer_expression "&variables[var_name]->v_value" & (field_expression "variables[var_name]->v_value" (subscript_expression "variables[var_name]" identifier [ identifier ]) -> field_identifier))) ;)) (if_statement "if ((bc_var *)ppbVar2 == (bc_var *)0x0) {\n        ppbVar2 = &_zero_;\n      }" if (parenthesized_expression "((bc_var *)ppbVar2 == (bc_var *)0x0)" ( (binary_expression "(bc_var *)ppbVar2 == (bc_var *)0x0" (cast_expression "(bc_var *)ppbVar2" ( (type_descriptor "bc_var *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == (cast_expression "(bc_var *)0x0" ( (type_descriptor "bc_var *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        ppbVar2 = &_zero_;\n      }" { (expression_statement "ppbVar2 = &_zero_;" (assignment_expression "ppbVar2 = &_zero_" identifier = (pointer_expression "&_zero_" & identifier)) ;) })) (expression_statement "push_copy(((bc_var *)ppbVar2)->v_value);" (call_expression "push_copy(((bc_var *)ppbVar2)->v_value)" identifier (argument_list "(((bc_var *)ppbVar2)->v_value)" ( (field_expression "((bc_var *)ppbVar2)->v_value" (parenthesized_expression "((bc_var *)ppbVar2)" ( (cast_expression "(bc_var *)ppbVar2" ( (type_descriptor "bc_var *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "push_copy(_zero_);" (call_expression "push_copy(_zero_)" identifier (argument_list "(_zero_)" ( identifier ))) ;) (expression_statement "piVar1 = &i_base;" (assignment_expression "piVar1 = &i_base" identifier = (pointer_expression "&i_base" & identifier)) ;) }) (else_clause "else if (var_name == 2) {\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }\n  else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }" else (if_statement "if (var_name == 2) {\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }\n  else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }" if (parenthesized_expression "(var_name == 2)" ( (binary_expression "var_name == 2" identifier == number_literal) )) (compound_statement "{\n    push_copy(_zero_);\n    piVar1 = &scale;\n  }" { (expression_statement "push_copy(_zero_);" (call_expression "push_copy(_zero_)" identifier (argument_list "(_zero_)" ( identifier ))) ;) (expression_statement "piVar1 = &scale;" (assignment_expression "piVar1 = &scale" identifier = (pointer_expression "&scale" & identifier)) ;) }) (else_clause "else {\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }" else (compound_statement "{\n    if (var_name != 3) goto LAB_000185a0;\n    push_copy(_zero_);\n    piVar1 = &n_history;\n  }" { (if_statement "if (var_name != 3) goto LAB_000185a0;" if (parenthesized_expression "(var_name != 3)" ( (binary_expression "var_name != 3" identifier != number_literal) )) (goto_statement "goto LAB_000185a0;" goto statement_identifier ;)) (expression_statement "push_copy(_zero_);" (call_expression "push_copy(_zero_)" identifier (argument_list "(_zero_)" ( identifier ))) ;) (expression_statement "piVar1 = &n_history;" (assignment_expression "piVar1 = &n_history" identifier = (pointer_expression "&n_history" & identifier)) ;) }))))))) (expression_statement "bc_int2num(&ex_stack->s_num,*piVar1);" (call_expression "bc_int2num(&ex_stack->s_num,*piVar1)" identifier (argument_list "(&ex_stack->s_num,*piVar1)" ( (pointer_expression "&ex_stack->s_num" & (field_expression "ex_stack->s_num" identifier -> field_identifier)) , (pointer_expression "*piVar1" * identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00018500(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }\n  FUN_0001c5a0(DAT_000292bc,*puVar1);\n  return;\n}\n\n" (function_definition "void FUN_00018500(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }\n  FUN_0001c5a0(DAT_000292bc,*puVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00018500(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }\n  FUN_0001c5a0(DAT_000292bc,*puVar1);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" if (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) )) (compound_statement "{\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }" { (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" identifier (argument_list "(DAT_000292c8)" ( identifier ))) ;) (expression_statement "puVar1 = &DAT_00029280;" (assignment_expression "puVar1 = &DAT_00029280" identifier = (pointer_expression "&DAT_00029280" & identifier)) ;) }) (else_clause "else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" else (if_statement "if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" if (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) (compound_statement "{\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }" { (if_statement "if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }" { (labeled_statement "LAB_000185af:\n      FUN_00017d70();" statement_identifier : (expression_statement "FUN_00017d70();" (call_expression "FUN_00017d70()" identifier (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })) (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" identifier (argument_list "(DAT_000292c8)" ( identifier ))) ;) (expression_statement "puVar1 = &DAT_000292a4;" (assignment_expression "puVar1 = &DAT_000292a4" identifier = (pointer_expression "&DAT_000292a4" & identifier)) ;) }) (else_clause "else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" else (if_statement "if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" if (parenthesized_expression "(param_1 == 2)" ( (binary_expression "param_1 == 2" identifier == number_literal) )) (compound_statement "{\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }" { (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" identifier (argument_list "(DAT_000292c8)" ( identifier ))) ;) (expression_statement "puVar1 = &DAT_00029298;" (assignment_expression "puVar1 = &DAT_00029298" identifier = (pointer_expression "&DAT_00029298" & identifier)) ;) }) (else_clause "else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" else (compound_statement "{\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" { (if_statement "if (param_1 != 3) goto LAB_000185af;" if (parenthesized_expression "(param_1 != 3)" ( (binary_expression "param_1 != 3" identifier != number_literal) )) (goto_statement "goto LAB_000185af;" goto statement_identifier ;)) (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" identifier (argument_list "(DAT_000292c8)" ( identifier ))) ;) (expression_statement "puVar1 = &DAT_00029264;" (assignment_expression "puVar1 = &DAT_00029264" identifier = (pointer_expression "&DAT_00029264" & identifier)) ;) }))))))) (expression_statement "FUN_0001c5a0(DAT_000292bc,*puVar1);" (call_expression "FUN_0001c5a0(DAT_000292bc,*puVar1)" identifier (argument_list "(DAT_000292bc,*puVar1)" ( identifier , (pointer_expression "*puVar1" * 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) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }))))))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00018500(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }\n  FUN_0001c5a0(DAT_000292bc,*puVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00018500(int param_1)" (identifier "FUN_00018500") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }\n  FUN_0001c5a0(DAT_000292bc,*puVar1);\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (param_1 == 1) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }\n  else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" (if "if") (parenthesized_expression "(param_1 == 1)" (( "(") (binary_expression "param_1 == 1" (identifier "param_1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029280;\n  }" ({ "{") (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" (identifier "FUN_00017d70") (argument_list "(DAT_000292c8)" (( "(") (identifier "DAT_000292c8") () ")"))) (; ";")) (expression_statement "puVar1 = &DAT_00029280;" (assignment_expression "puVar1 = &DAT_00029280" (identifier "puVar1") (= "=") (pointer_expression "&DAT_00029280" (& "&") (identifier "DAT_00029280"))) (; ";")) (} "}")) (else_clause "else if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" (else "else") (if_statement "if (param_1 < 2) {\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }\n  else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" (if "if") (parenthesized_expression "(param_1 < 2)" (( "(") (binary_expression "param_1 < 2" (identifier "param_1") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_000292a4;\n  }" ({ "{") (if_statement "if (param_1 != 0) {\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000185af:\n      FUN_00017d70();\n      return;\n    }" ({ "{") (labeled_statement "LAB_000185af:\n      FUN_00017d70();" (statement_identifier "LAB_000185af") (: ":") (expression_statement "FUN_00017d70();" (call_expression "FUN_00017d70()" (identifier "FUN_00017d70") (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" (identifier "FUN_00017d70") (argument_list "(DAT_000292c8)" (( "(") (identifier "DAT_000292c8") () ")"))) (; ";")) (expression_statement "puVar1 = &DAT_000292a4;" (assignment_expression "puVar1 = &DAT_000292a4" (identifier "puVar1") (= "=") (pointer_expression "&DAT_000292a4" (& "&") (identifier "DAT_000292a4"))) (; ";")) (} "}")) (else_clause "else if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" (else "else") (if_statement "if (param_1 == 2) {\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }\n  else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" (if "if") (parenthesized_expression "(param_1 == 2)" (( "(") (binary_expression "param_1 == 2" (identifier "param_1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029298;\n  }" ({ "{") (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" (identifier "FUN_00017d70") (argument_list "(DAT_000292c8)" (( "(") (identifier "DAT_000292c8") () ")"))) (; ";")) (expression_statement "puVar1 = &DAT_00029298;" (assignment_expression "puVar1 = &DAT_00029298" (identifier "puVar1") (= "=") (pointer_expression "&DAT_00029298" (& "&") (identifier "DAT_00029298"))) (; ";")) (} "}")) (else_clause "else {\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" (else "else") (compound_statement "{\n    if (param_1 != 3) goto LAB_000185af;\n    FUN_00017d70(DAT_000292c8);\n    puVar1 = &DAT_00029264;\n  }" ({ "{") (if_statement "if (param_1 != 3) goto LAB_000185af;" (if "if") (parenthesized_expression "(param_1 != 3)" (( "(") (binary_expression "param_1 != 3" (identifier "param_1") (!= "!=") (number_literal "3")) () ")")) (goto_statement "goto LAB_000185af;" (goto "goto") (statement_identifier "LAB_000185af") (; ";"))) (expression_statement "FUN_00017d70(DAT_000292c8);" (call_expression "FUN_00017d70(DAT_000292c8)" (identifier "FUN_00017d70") (argument_list "(DAT_000292c8)" (( "(") (identifier "DAT_000292c8") () ")"))) (; ";")) (expression_statement "puVar1 = &DAT_00029264;" (assignment_expression "puVar1 = &DAT_00029264" (identifier "puVar1") (= "=") (pointer_expression "&DAT_00029264" (& "&") (identifier "DAT_00029264"))) (; ";")) (} "}")))))))) (expression_statement "FUN_0001c5a0(DAT_000292bc,*puVar1);" (call_expression "FUN_0001c5a0(DAT_000292bc,*puVar1)" (identifier "FUN_0001c5a0") (argument_list "(DAT_000292bc,*puVar1)" (( "(") (identifier "DAT_000292bc") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int var_1)

{
  int *piVar1;
  type_1 *ppbVar2;
  
  if (var_1 == 1) {
    var_2(_zero_);
    piVar1 = &o_base;
  }
  else if (var_1 < 2) {
    if (var_1 != 0) {
LAB_000185a0:
      ppbVar2 = &variables[var_1]->v_value;
      if ((type_2 *)ppbVar2 == (type_2 *)0x0) {
        ppbVar2 = &_zero_;
      }
      var_2(((type_2 *)ppbVar2)->v_value);
      return;
    }
    var_2(_zero_);
    piVar1 = &i_base;
  }
  else if (var_1 == 2) {
    var_2(_zero_);
    piVar1 = &scale;
  }
  else {
    if (var_1 != 3) goto LAB_000185a0;
    var_2(_zero_);
    piVar1 = &n_history;
  }
  var_3(&ex_stack->s_num,*piVar1);
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (return_statement))))

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

void MASKED(int param_1)

{
  undefined4 *puVar1;
  
  if (param_1 == 1) {
    FUN_00017d70(DAT_000292c8);
    puVar1 = &DAT_00029280;
  }
  else if (param_1 < 2) {
    if (param_1 != 0) {
LAB_000185af:
      FUN_00017d70();
      return;
    }
    FUN_00017d70(DAT_000292c8);
    puVar1 = &DAT_000292a4;
  }
  else if (param_1 == 2) {
    FUN_00017d70(DAT_000292c8);
    puVar1 = &DAT_00029298;
  }
  else {
    if (param_1 != 3) goto LAB_000185af;
    FUN_00017d70(DAT_000292c8);
    puVar1 = &DAT_00029264;
  }
  FUN_0001c5a0(DAT_000292bc,*puVar1);
  return;
}

