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

void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)

{
  YY_BUFFER_STATE pyVar1;
  YY_BUFFER_STATE *ppyVar2;
  
  yyensure_buffer_stack();
  if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {
    if (new_buffer == (YY_BUFFER_STATE)0x0) {
      return;
    }
    ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 2);
  }
  else {
    ppyVar2 = yy_buffer_stack + yy_buffer_stack_top;
    if (*ppyVar2 == new_buffer) {
      return;
    }
    if (*ppyVar2 != (YY_BUFFER_STATE)0x0) {
      *yy_c_buf_p = yy_hold_char;
      pyVar1 = *ppyVar2;
      pyVar1->yy_buf_pos = yy_c_buf_p;
      pyVar1->yy_n_chars = yy_n_chars;
    }
  }
  *ppyVar2 = new_buffer;
  yytext = new_buffer->yy_buf_pos;
  yy_hold_char = *yytext;
  yy_n_chars = new_buffer->yy_n_chars;
  yy_c_buf_p = yytext;
  yyin = new_buffer->yy_input_file;
  return;
}



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

void FUN_0001a9b0(undefined4 *param_1)

{
  int iVar1;
  int *piVar2;
  
  FUN_0001a900();
  if (DAT_001c0424 == 0) {
    if (param_1 == (undefined4 *)0x0) {
      return;
    }
    piVar2 = (int *)(DAT_001c042c << 2);
  }
  else {
    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);
    if ((undefined4 *)*piVar2 == param_1) {
      return;
    }
    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {
      *DAT_001c0418 = DAT_001c0420;
      iVar1 = *piVar2;
      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;
      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;
    }
  }
  *piVar2 = (int)param_1;
  DAT_001c0da4 = (undefined1 *)param_1[2];
  DAT_001c0420 = *DAT_001c0da4;
  DAT_001c041c = param_1[4];
  DAT_001c0418 = DAT_001c0da4;
  DAT_001c02ac = *param_1;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00017bc0
ADD EBX,0x1a4649
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x0001a900
MOV EAX,dword ptr [EBX + 0x1424]
TEST EAX,EAX
JZ 0x0001aa40
MOV EDX,dword ptr [EBX + 0x142c]
LEA EAX,[EAX + EDX*0x4]
MOV EDX,dword ptr [EAX]
CMP EDX,ESI
JZ 0x0001aa30
TEST EDX,EDX
JZ 0x0001aa03
MOV ECX,dword ptr [EBX + 0x1418]
MOVZX EDX,byte ptr [EBX + 0x1420]
MOV byte ptr [ECX],DL
MOV EDX,dword ptr [EAX]
MOV dword ptr [EDX + 0x8],ECX
MOV ECX,dword ptr [EBX + 0x141c]
MOV dword ptr [EDX + 0x10],ECX
MOV dword ptr [EAX],ESI
MOV EAX,dword ptr [ESI + 0x10]
LEA EDX,[EBX + 0x1da4]
MOV dword ptr [EBX + 0x141c],EAX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EDX],EAX
MOV EDX,dword ptr [ESI]
MOV dword ptr [EBX + 0x1418],EAX
MOV dword ptr [EBX + 0x12ac],EDX
MOVZX EAX,byte ptr [EAX]
MOV byte ptr [EBX + 0x1420],AL
ADD ESP,0x4
POP EBX
POP ESI
RET
TEST ESI,ESI
JZ 0x0001aa30
MOV EAX,dword ptr [EBX + 0x142c]
SHL EAX,0x2
JMP 0x0001aa03
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001a9b0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  FUN_0001a900();\n  if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }\n  *piVar2 = (int)param_1;\n  DAT_001c0da4 = (undefined1 *)param_1[2];\n  DAT_001c0420 = *DAT_001c0da4;\n  DAT_001c041c = param_1[4];\n  DAT_001c0418 = DAT_001c0da4;\n  DAT_001c02ac = *param_1;\n  return;\n}\n\n" comment (function_definition "void FUN_0001a9b0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  FUN_0001a900();\n  if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }\n  *piVar2 = (int)param_1;\n  DAT_001c0da4 = (undefined1 *)param_1[2];\n  DAT_001c0420 = *DAT_001c0da4;\n  DAT_001c041c = param_1[4];\n  DAT_001c0418 = DAT_001c0da4;\n  DAT_001c02ac = *param_1;\n  return;\n}" primitive_type (function_declarator "FUN_0001a9b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  FUN_0001a900();\n  if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }\n  *piVar2 = (int)param_1;\n  DAT_001c0da4 = (undefined1 *)param_1[2];\n  DAT_001c0420 = *DAT_001c0da4;\n  DAT_001c041c = param_1[4];\n  DAT_001c0418 = DAT_001c0da4;\n  DAT_001c02ac = *param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "FUN_0001a900();" (call_expression "FUN_0001a900()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" if (parenthesized_expression "(DAT_001c0424 == 0)" ( (binary_expression "DAT_001c0424 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }" { (if_statement "if (param_1 == (undefined4 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)(DAT_001c042c << 2);" (assignment_expression "piVar2 = (int *)(DAT_001c042c << 2)" identifier = (cast_expression "(int *)(DAT_001c042c << 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c042c << 2)" ( (binary_expression "DAT_001c042c << 2" identifier << number_literal) )))) ;) }) (else_clause "else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" else (compound_statement "{\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" { (expression_statement "piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);" (assignment_expression "piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4)" identifier = (cast_expression "(int *)(DAT_001c0424 + DAT_001c042c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c0424 + DAT_001c042c * 4)" ( (binary_expression "DAT_001c0424 + DAT_001c042c * 4" identifier + (binary_expression "DAT_001c042c * 4" identifier * number_literal)) )))) ;) (if_statement "if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }" if (parenthesized_expression "((undefined4 *)*piVar2 == param_1)" ( (binary_expression "(undefined4 *)*piVar2 == param_1" (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }" if (parenthesized_expression "((undefined4 *)*piVar2 != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)*piVar2 != (undefined4 *)0x0" (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }" { (expression_statement "*DAT_001c0418 = DAT_001c0420;" (assignment_expression "*DAT_001c0418 = DAT_001c0420" (pointer_expression "*DAT_001c0418" * identifier) = identifier) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "*(undefined1 **)(iVar1 + 8) = DAT_001c0418;" (assignment_expression "*(undefined1 **)(iVar1 + 8) = DAT_001c0418" (pointer_expression "*(undefined1 **)(iVar1 + 8)" * (cast_expression "(undefined1 **)(iVar1 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = DAT_001c041c" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = identifier) ;) })) }))) (expression_statement "*piVar2 = (int)param_1;" (assignment_expression "*piVar2 = (int)param_1" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "DAT_001c0da4 = (undefined1 *)param_1[2];" (assignment_expression "DAT_001c0da4 = (undefined1 *)param_1[2]" identifier = (cast_expression "(undefined1 *)param_1[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "DAT_001c0420 = *DAT_001c0da4;" (assignment_expression "DAT_001c0420 = *DAT_001c0da4" identifier = (pointer_expression "*DAT_001c0da4" * identifier)) ;) (expression_statement "DAT_001c041c = param_1[4];" (assignment_expression "DAT_001c041c = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "DAT_001c0418 = DAT_001c0da4;" (assignment_expression "DAT_001c0418 = DAT_001c0da4" identifier = identifier) ;) (expression_statement "DAT_001c02ac = *param_1;" (assignment_expression "DAT_001c02ac = *param_1" identifier = (pointer_expression "*param_1" * 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\nvoid yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)\n\n{\n  YY_BUFFER_STATE pyVar1;\n  YY_BUFFER_STATE *ppyVar2;\n  \n  yyensure_buffer_stack();\n  if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {\n    if (new_buffer == (YY_BUFFER_STATE)0x0) {\n      return;\n    }\n    ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 2);\n  }\n  else {\n    ppyVar2 = yy_buffer_stack + yy_buffer_stack_top;\n    if (*ppyVar2 == new_buffer) {\n      return;\n    }\n    if (*ppyVar2 != (YY_BUFFER_STATE)0x0) {\n      *yy_c_buf_p = yy_hold_char;\n      pyVar1 = *ppyVar2;\n      pyVar1->yy_buf_pos = yy_c_buf_p;\n      pyVar1->yy_n_chars = yy_n_chars;\n    }\n  }\n  *ppyVar2 = new_buffer;\n  yytext = new_buffer->yy_buf_pos;\n  yy_hold_char = *yytext;\n  yy_n_chars = new_buffer->yy_n_chars;\n  yy_c_buf_p = yytext;\n  yyin = new_buffer->yy_input_file;\n  return;\n}\n\n" comment comment (function_definition "void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)\n\n{\n  YY_BUFFER_STATE pyVar1;\n  YY_BUFFER_STATE *ppyVar2;\n  \n  yyensure_buffer_stack();\n  if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {\n    if (new_buffer == (YY_BUFFER_STATE)0x0) {\n      return;\n    }\n    ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 2);\n  }\n  else {\n    ppyVar2 = yy_buffer_stack + yy_buffer_stack_top;\n    if (*ppyVar2 == new_buffer) {\n      return;\n    }\n    if (*ppyVar2 != (YY_BUFFER_STATE)0x0) {\n      *yy_c_buf_p = yy_hold_char;\n      pyVar1 = *ppyVar2;\n      pyVar1->yy_buf_pos = yy_c_buf_p;\n      pyVar1->yy_n_chars = yy_n_chars;\n    }\n  }\n  *ppyVar2 = new_buffer;\n  yytext = new_buffer->yy_buf_pos;\n  yy_hold_char = *yytext;\n  yy_n_chars = new_buffer->yy_n_chars;\n  yy_c_buf_p = yytext;\n  yyin = new_buffer->yy_input_file;\n  return;\n}" primitive_type (function_declarator "yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)" identifier (parameter_list "(YY_BUFFER_STATE new_buffer)" ( (parameter_declaration "YY_BUFFER_STATE new_buffer" type_identifier identifier) ))) (compound_statement "{\n  YY_BUFFER_STATE pyVar1;\n  YY_BUFFER_STATE *ppyVar2;\n  \n  yyensure_buffer_stack();\n  if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {\n    if (new_buffer == (YY_BUFFER_STATE)0x0) {\n      return;\n    }\n    ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 2);\n  }\n  else {\n    ppyVar2 = yy_buffer_stack + yy_buffer_stack_top;\n    if (*ppyVar2 == new_buffer) {\n      return;\n    }\n    if (*ppyVar2 != (YY_BUFFER_STATE)0x0) {\n      *yy_c_buf_p = yy_hold_char;\n      pyVar1 = *ppyVar2;\n      pyVar1->yy_buf_pos = yy_c_buf_p;\n      pyVar1->yy_n_chars = yy_n_chars;\n    }\n  }\n  *ppyVar2 = new_buffer;\n  yytext = new_buffer->yy_buf_pos;\n  yy_hold_char = *yytext;\n  yy_n_chars = new_buffer->yy_n_chars;\n  yy_c_buf_p = yytext;\n  yyin = new_buffer->yy_input_file;\n  return;\n}" { (declaration "YY_BUFFER_STATE pyVar1;" type_identifier identifier ;) (declaration "YY_BUFFER_STATE *ppyVar2;" type_identifier (pointer_declarator "*ppyVar2" * identifier) ;) (expression_statement "yyensure_buffer_stack();" (call_expression "yyensure_buffer_stack()" identifier (argument_list "()" ( ))) ;) (if_statement "if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {\n    if (new_buffer == (YY_BUFFER_STATE)0x0) {\n      return;\n    }\n    ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 2);\n  }\n  else {\n    ppyVar2 = yy_buffer_stack + yy_buffer_stack_top;\n    if (*ppyVar2 == new_buffer) {\n      return;\n    }\n    if (*ppyVar2 != (YY_BUFFER_STATE)0x0) {\n      *yy_c_buf_p = yy_hold_char;\n      pyVar1 = *ppyVar2;\n      pyVar1->yy_buf_pos = yy_c_buf_p;\n      pyVar1->yy_n_chars = yy_n_chars;\n    }\n  }" if (parenthesized_expression "(yy_buffer_stack == (YY_BUFFER_STATE *)0x0)" ( (binary_expression "yy_buffer_stack == (YY_BUFFER_STATE *)0x0" identifier == (cast_expression "(YY_BUFFER_STATE *)0x0" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (new_buffer == (YY_BUFFER_STATE)0x0) {\n      return;\n    }\n    ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 2);\n  }" { (if_statement "if (new_buffer == (YY_BUFFER_STATE)0x0) {\n      return;\n    }" if (parenthesized_expression "(new_buffer == (YY_BUFFER_STATE)0x0)" ( (binary_expression "new_buffer == (YY_BUFFER_STATE)0x0" identifier == (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 2);" (assignment_expression "ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 2)" identifier = (cast_expression "(YY_BUFFER_STATE *)(yy_buffer_stack_top << 2)" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(yy_buffer_stack_top << 2)" ( (binary_expression "yy_buffer_stack_top << 2" identifier << number_literal) )))) ;) }) (else_clause "else {\n    ppyVar2 = yy_buffer_stack + yy_buffer_stack_top;\n    if (*ppyVar2 == new_buffer) {\n      return;\n    }\n    if (*ppyVar2 != (YY_BUFFER_STATE)0x0) {\n      *yy_c_buf_p = yy_hold_char;\n      pyVar1 = *ppyVar2;\n      pyVar1->yy_buf_pos = yy_c_buf_p;\n      pyVar1->yy_n_chars = yy_n_chars;\n    }\n  }" else (compound_statement "{\n    ppyVar2 = yy_buffer_stack + yy_buffer_stack_top;\n    if (*ppyVar2 == new_buffer) {\n      return;\n    }\n    if (*ppyVar2 != (YY_BUFFER_STATE)0x0) {\n      *yy_c_buf_p = yy_hold_char;\n      pyVar1 = *ppyVar2;\n      pyVar1->yy_buf_pos = yy_c_buf_p;\n      pyVar1->yy_n_chars = yy_n_chars;\n    }\n  }" { (expression_statement "ppyVar2 = yy_buffer_stack + yy_buffer_stack_top;" (assignment_expression "ppyVar2 = yy_buffer_stack + yy_buffer_stack_top" identifier = (binary_expression "yy_buffer_stack + yy_buffer_stack_top" identifier + identifier)) ;) (if_statement "if (*ppyVar2 == new_buffer) {\n      return;\n    }" if (parenthesized_expression "(*ppyVar2 == new_buffer)" ( (binary_expression "*ppyVar2 == new_buffer" (pointer_expression "*ppyVar2" * identifier) == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (*ppyVar2 != (YY_BUFFER_STATE)0x0) {\n      *yy_c_buf_p = yy_hold_char;\n      pyVar1 = *ppyVar2;\n      pyVar1->yy_buf_pos = yy_c_buf_p;\n      pyVar1->yy_n_chars = yy_n_chars;\n    }" if (parenthesized_expression "(*ppyVar2 != (YY_BUFFER_STATE)0x0)" ( (binary_expression "*ppyVar2 != (YY_BUFFER_STATE)0x0" (pointer_expression "*ppyVar2" * identifier) != (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n      *yy_c_buf_p = yy_hold_char;\n      pyVar1 = *ppyVar2;\n      pyVar1->yy_buf_pos = yy_c_buf_p;\n      pyVar1->yy_n_chars = yy_n_chars;\n    }" { (expression_statement "*yy_c_buf_p = yy_hold_char;" (assignment_expression "*yy_c_buf_p = yy_hold_char" (pointer_expression "*yy_c_buf_p" * identifier) = identifier) ;) (expression_statement "pyVar1 = *ppyVar2;" (assignment_expression "pyVar1 = *ppyVar2" identifier = (pointer_expression "*ppyVar2" * identifier)) ;) (expression_statement "pyVar1->yy_buf_pos = yy_c_buf_p;" (assignment_expression "pyVar1->yy_buf_pos = yy_c_buf_p" (field_expression "pyVar1->yy_buf_pos" identifier -> field_identifier) = identifier) ;) (expression_statement "pyVar1->yy_n_chars = yy_n_chars;" (assignment_expression "pyVar1->yy_n_chars = yy_n_chars" (field_expression "pyVar1->yy_n_chars" identifier -> field_identifier) = identifier) ;) })) }))) (expression_statement "*ppyVar2 = new_buffer;" (assignment_expression "*ppyVar2 = new_buffer" (pointer_expression "*ppyVar2" * identifier) = identifier) ;) (expression_statement "yytext = new_buffer->yy_buf_pos;" (assignment_expression "yytext = new_buffer->yy_buf_pos" identifier = (field_expression "new_buffer->yy_buf_pos" identifier -> field_identifier)) ;) (expression_statement "yy_hold_char = *yytext;" (assignment_expression "yy_hold_char = *yytext" identifier = (pointer_expression "*yytext" * identifier)) ;) (expression_statement "yy_n_chars = new_buffer->yy_n_chars;" (assignment_expression "yy_n_chars = new_buffer->yy_n_chars" identifier = (field_expression "new_buffer->yy_n_chars" identifier -> field_identifier)) ;) (expression_statement "yy_c_buf_p = yytext;" (assignment_expression "yy_c_buf_p = yytext" identifier = identifier) ;) (expression_statement "yyin = new_buffer->yy_input_file;" (assignment_expression "yyin = new_buffer->yy_input_file" identifier = (field_expression "new_buffer->yy_input_file" identifier -> field_identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001a9b0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  FUN_0001a900();\n  if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }\n  *piVar2 = (int)param_1;\n  DAT_001c0da4 = (undefined1 *)param_1[2];\n  DAT_001c0420 = *DAT_001c0da4;\n  DAT_001c041c = param_1[4];\n  DAT_001c0418 = DAT_001c0da4;\n  DAT_001c02ac = *param_1;\n  return;\n}\n\n" (function_definition "void FUN_0001a9b0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  FUN_0001a900();\n  if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }\n  *piVar2 = (int)param_1;\n  DAT_001c0da4 = (undefined1 *)param_1[2];\n  DAT_001c0420 = *DAT_001c0da4;\n  DAT_001c041c = param_1[4];\n  DAT_001c0418 = DAT_001c0da4;\n  DAT_001c02ac = *param_1;\n  return;\n}" primitive_type (function_declarator "FUN_0001a9b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  FUN_0001a900();\n  if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }\n  *piVar2 = (int)param_1;\n  DAT_001c0da4 = (undefined1 *)param_1[2];\n  DAT_001c0420 = *DAT_001c0da4;\n  DAT_001c041c = param_1[4];\n  DAT_001c0418 = DAT_001c0da4;\n  DAT_001c02ac = *param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "FUN_0001a900();" (call_expression "FUN_0001a900()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" if (parenthesized_expression "(DAT_001c0424 == 0)" ( (binary_expression "DAT_001c0424 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }" { (if_statement "if (param_1 == (undefined4 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)(DAT_001c042c << 2);" (assignment_expression "piVar2 = (int *)(DAT_001c042c << 2)" identifier = (cast_expression "(int *)(DAT_001c042c << 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c042c << 2)" ( (binary_expression "DAT_001c042c << 2" identifier << number_literal) )))) ;) }) (else_clause "else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" else (compound_statement "{\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" { (expression_statement "piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);" (assignment_expression "piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4)" identifier = (cast_expression "(int *)(DAT_001c0424 + DAT_001c042c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c0424 + DAT_001c042c * 4)" ( (binary_expression "DAT_001c0424 + DAT_001c042c * 4" identifier + (binary_expression "DAT_001c042c * 4" identifier * number_literal)) )))) ;) (if_statement "if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }" if (parenthesized_expression "((undefined4 *)*piVar2 == param_1)" ( (binary_expression "(undefined4 *)*piVar2 == param_1" (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }" if (parenthesized_expression "((undefined4 *)*piVar2 != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)*piVar2 != (undefined4 *)0x0" (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }" { (expression_statement "*DAT_001c0418 = DAT_001c0420;" (assignment_expression "*DAT_001c0418 = DAT_001c0420" (pointer_expression "*DAT_001c0418" * identifier) = identifier) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "*(undefined1 **)(iVar1 + 8) = DAT_001c0418;" (assignment_expression "*(undefined1 **)(iVar1 + 8) = DAT_001c0418" (pointer_expression "*(undefined1 **)(iVar1 + 8)" * (cast_expression "(undefined1 **)(iVar1 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = DAT_001c041c" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = identifier) ;) })) }))) (expression_statement "*piVar2 = (int)param_1;" (assignment_expression "*piVar2 = (int)param_1" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "DAT_001c0da4 = (undefined1 *)param_1[2];" (assignment_expression "DAT_001c0da4 = (undefined1 *)param_1[2]" identifier = (cast_expression "(undefined1 *)param_1[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "DAT_001c0420 = *DAT_001c0da4;" (assignment_expression "DAT_001c0420 = *DAT_001c0da4" identifier = (pointer_expression "*DAT_001c0da4" * identifier)) ;) (expression_statement "DAT_001c041c = param_1[4];" (assignment_expression "DAT_001c041c = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "DAT_001c0418 = DAT_001c0da4;" (assignment_expression "DAT_001c0418 = DAT_001c0da4" identifier = identifier) ;) (expression_statement "DAT_001c02ac = *param_1;" (assignment_expression "DAT_001c02ac = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT << LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0001a9b0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  FUN_0001a900();\n  if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }\n  *piVar2 = (int)param_1;\n  DAT_001c0da4 = (undefined1 *)param_1[2];\n  DAT_001c0420 = *DAT_001c0da4;\n  DAT_001c041c = param_1[4];\n  DAT_001c0418 = DAT_001c0da4;\n  DAT_001c02ac = *param_1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001a9b0(undefined4 *param_1)" (identifier "FUN_0001a9b0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  FUN_0001a900();\n  if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }\n  *piVar2 = (int)param_1;\n  DAT_001c0da4 = (undefined1 *)param_1[2];\n  DAT_001c0420 = *DAT_001c0da4;\n  DAT_001c041c = param_1[4];\n  DAT_001c0418 = DAT_001c0da4;\n  DAT_001c02ac = *param_1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "FUN_0001a900();" (call_expression "FUN_0001a900()" (identifier "FUN_0001a900") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (DAT_001c0424 == 0) {\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }\n  else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" (if "if") (parenthesized_expression "(DAT_001c0424 == 0)" (( "(") (binary_expression "DAT_001c0424 == 0" (identifier "DAT_001c0424") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_1 == (undefined4 *)0x0) {\n      return;\n    }\n    piVar2 = (int *)(DAT_001c042c << 2);\n  }" ({ "{") (if_statement "if (param_1 == (undefined4 *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(DAT_001c042c << 2);" (assignment_expression "piVar2 = (int *)(DAT_001c042c << 2)" (identifier "piVar2") (= "=") (cast_expression "(int *)(DAT_001c042c << 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001c042c << 2)" (( "(") (binary_expression "DAT_001c042c << 2" (identifier "DAT_001c042c") (<< "<<") (number_literal "2")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" (else "else") (compound_statement "{\n    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);\n    if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }\n    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }\n  }" ({ "{") (expression_statement "piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);" (assignment_expression "piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4)" (identifier "piVar2") (= "=") (cast_expression "(int *)(DAT_001c0424 + DAT_001c042c * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001c0424 + DAT_001c042c * 4)" (( "(") (binary_expression "DAT_001c0424 + DAT_001c042c * 4" (identifier "DAT_001c0424") (+ "+") (binary_expression "DAT_001c042c * 4" (identifier "DAT_001c042c") (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if ((undefined4 *)*piVar2 == param_1) {\n      return;\n    }" (if "if") (parenthesized_expression "((undefined4 *)*piVar2 == param_1)" (( "(") (binary_expression "(undefined4 *)*piVar2 == param_1" (cast_expression "(undefined4 *)*piVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }" (if "if") (parenthesized_expression "((undefined4 *)*piVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)*piVar2 != (undefined4 *)0x0" (cast_expression "(undefined4 *)*piVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *DAT_001c0418 = DAT_001c0420;\n      iVar1 = *piVar2;\n      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;\n      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;\n    }" ({ "{") (expression_statement "*DAT_001c0418 = DAT_001c0420;" (assignment_expression "*DAT_001c0418 = DAT_001c0420" (pointer_expression "*DAT_001c0418" (* "*") (identifier "DAT_001c0418")) (= "=") (identifier "DAT_001c0420")) (; ";")) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "*(undefined1 **)(iVar1 + 8) = DAT_001c0418;" (assignment_expression "*(undefined1 **)(iVar1 + 8) = DAT_001c0418" (pointer_expression "*(undefined1 **)(iVar1 + 8)" (* "*") (cast_expression "(undefined1 **)(iVar1 + 8)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "DAT_001c0418")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = DAT_001c041c" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "DAT_001c041c")) (; ";")) (} "}"))) (} "}")))) (expression_statement "*piVar2 = (int)param_1;" (assignment_expression "*piVar2 = (int)param_1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (; ";")) (expression_statement "DAT_001c0da4 = (undefined1 *)param_1[2];" (assignment_expression "DAT_001c0da4 = (undefined1 *)param_1[2]" (identifier "DAT_001c0da4") (= "=") (cast_expression "(undefined1 *)param_1[2]" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "DAT_001c0420 = *DAT_001c0da4;" (assignment_expression "DAT_001c0420 = *DAT_001c0da4" (identifier "DAT_001c0420") (= "=") (pointer_expression "*DAT_001c0da4" (* "*") (identifier "DAT_001c0da4"))) (; ";")) (expression_statement "DAT_001c041c = param_1[4];" (assignment_expression "DAT_001c041c = param_1[4]" (identifier "DAT_001c041c") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "DAT_001c0418 = DAT_001c0da4;" (assignment_expression "DAT_001c0418 = DAT_001c0da4" (identifier "DAT_001c0418") (= "=") (identifier "DAT_001c0da4")) (; ";")) (expression_statement "DAT_001c02ac = *param_1;" (assignment_expression "DAT_001c02ac = *param_1" (identifier "DAT_001c02ac") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 var_3)

{
  type_1 pyVar1;
  type_1 *ppyVar2;
  
  var_1();
  if (var_2 == (type_1 *)0x0) {
    if (var_3 == (type_1)0x0) {
      return;
    }
    ppyVar2 = (type_1 *)(var_4 << 2);
  }
  else {
    ppyVar2 = var_2 + var_4;
    if (*ppyVar2 == var_3) {
      return;
    }
    if (*ppyVar2 != (type_1)0x0) {
      *yy_c_buf_p = yy_hold_char;
      pyVar1 = *ppyVar2;
      pyVar1->yy_buf_pos = yy_c_buf_p;
      pyVar1->yy_n_chars = yy_n_chars;
    }
  }
  *ppyVar2 = var_3;
  yytext = var_3->yy_buf_pos;
  yy_hold_char = *yytext;
  yy_n_chars = var_3->yy_n_chars;
  yy_c_buf_p = yytext;
  yyin = var_3->yy_input_file;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  int iVar1;
  int *piVar2;
  
  FUN_0001a900();
  if (DAT_001c0424 == 0) {
    if (param_1 == (undefined4 *)0x0) {
      return;
    }
    piVar2 = (int *)(DAT_001c042c << 2);
  }
  else {
    piVar2 = (int *)(DAT_001c0424 + DAT_001c042c * 4);
    if ((undefined4 *)*piVar2 == param_1) {
      return;
    }
    if ((undefined4 *)*piVar2 != (undefined4 *)0x0) {
      *DAT_001c0418 = DAT_001c0420;
      iVar1 = *piVar2;
      *(undefined1 **)(iVar1 + 8) = DAT_001c0418;
      *(undefined4 *)(iVar1 + 0x10) = DAT_001c041c;
    }
  }
  *piVar2 = (int)param_1;
  DAT_001c0da4 = (undefined1 *)param_1[2];
  DAT_001c0420 = *DAT_001c0da4;
  DAT_001c041c = param_1[4];
  DAT_001c0418 = DAT_001c0da4;
  DAT_001c02ac = *param_1;
  return;
}

