
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void yypop_buffer_state(void)

{
  YY_BUFFER_STATE *ppyVar1;
  YY_BUFFER_STATE pyVar2;
  YY_BUFFER_STATE *ppyVar3;
  size_t sVar4;
  
  sVar4 = yy_buffer_stack_top;
  ppyVar3 = yy_buffer_stack;
  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {
    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;
    pyVar2 = *ppyVar1;
    if (pyVar2 != (YY_BUFFER_STATE)0x0) {
      yy_delete_buffer(pyVar2);
      *ppyVar1 = (YY_BUFFER_STATE)0x0;
      if (sVar4 != 0) {
        yy_buffer_stack_top = sVar4 - 1;
        pyVar2 = ppyVar3[yy_buffer_stack_top];
        if (pyVar2 != (YY_BUFFER_STATE)0x0) {
          yy_n_chars = pyVar2->yy_n_chars;
          yy_c_buf_p = pyVar2->yy_buf_pos;
          yyin = pyVar2->yy_input_file;
          yy_hold_char = *yy_c_buf_p;
          yytext = yy_c_buf_p;
        }
      }
    }
  }
  return;
}



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

void FUN_0001ca40(void)

{
  int *piVar1;
  int iVar2;
  undefined4 *puVar3;
  int iVar4;
  int iVar5;
  
  iVar5 = DAT_001cf68c;
  iVar4 = DAT_001cf684;
  if (DAT_001cf684 != 0) {
    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);
    iVar2 = *piVar1;
    if (iVar2 != 0) {
      FUN_0001aa10(iVar2);
      *piVar1 = 0;
      if (iVar5 != 0) {
        DAT_001cf68c = iVar5 + -1;
        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);
        if (puVar3 != (undefined4 *)0x0) {
          DAT_001cf67c = puVar3[4];
          DAT_001cf678 = (undefined1 *)puVar3[2];
          DAT_001cf50c = *puVar3;
          DAT_001cf680 = *DAT_001cf678;
          DAT_001d0364 = DAT_001cf678;
        }
      }
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x1b15b7
SUB ESP,0xc
MOV EDI,dword ptr [EBX + 0x1684]
TEST EDI,EDI
JZ 0x0001cabe
MOV ESI,dword ptr [EBX + 0x168c]
LEA EBP,[EDI + ESI*0x4]
MOV EAX,dword ptr [EBP]
TEST EAX,EAX
JZ 0x0001cabe
SUB ESP,0xc
PUSH EAX
CALL 0x0001aa10
MOV dword ptr [EBP],0x0
ADD ESP,0x10
TEST ESI,ESI
JZ 0x0001cabe
SUB ESI,0x1
MOV EAX,dword ptr [EDI + ESI*0x4]
MOV dword ptr [EBX + 0x168c],ESI
TEST EAX,EAX
JZ 0x0001cabe
MOV EDX,dword ptr [EAX + 0x10]
LEA ECX,[EBX + 0x2364]
MOV dword ptr [EBX + 0x167c],EDX
MOV EDX,dword ptr [EAX + 0x8]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ECX],EDX
MOV dword ptr [EBX + 0x150c],EAX
MOVZX EAX,byte ptr [EDX]
MOV dword ptr [EBX + 0x1678],EDX
MOV byte ptr [EBX + 0x1680],AL
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001ca40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  iVar5 = DAT_001cf68c;\n  iVar4 = DAT_001cf684;\n  if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0001ca40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  iVar5 = DAT_001cf68c;\n  iVar4 = DAT_001cf684;\n  if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001ca40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  iVar5 = DAT_001cf68c;\n  iVar4 = DAT_001cf684;\n  if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "iVar5 = DAT_001cf68c;" (assignment_expression "iVar5 = DAT_001cf68c" identifier = identifier) ;) (expression_statement "iVar4 = DAT_001cf684;" (assignment_expression "iVar4 = DAT_001cf684" identifier = identifier) ;) (if_statement "if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(DAT_001cf684 != 0)" ( (binary_expression "DAT_001cf684 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }" { (expression_statement "piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);" (assignment_expression "piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4)" identifier = (cast_expression "(int *)(DAT_001cf684 + DAT_001cf68c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001cf684 + DAT_001cf68c * 4)" ( (binary_expression "DAT_001cf684 + DAT_001cf68c * 4" identifier + (binary_expression "DAT_001cf68c * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }" { (expression_statement "FUN_0001aa10(iVar2);" (call_expression "FUN_0001aa10(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (if_statement "if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }" { (expression_statement "DAT_001cf68c = iVar5 + -1;" (assignment_expression "DAT_001cf68c = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);" (assignment_expression "puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar4 + DAT_001cf68c * 4)" * (cast_expression "(undefined4 **)(iVar4 + DAT_001cf68c * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + DAT_001cf68c * 4)" ( (binary_expression "iVar4 + DAT_001cf68c * 4" identifier + (binary_expression "DAT_001cf68c * 4" identifier * number_literal)) ))))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }" { (expression_statement "DAT_001cf67c = puVar3[4];" (assignment_expression "DAT_001cf67c = puVar3[4]" identifier = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf678 = (undefined1 *)puVar3[2];" (assignment_expression "DAT_001cf678 = (undefined1 *)puVar3[2]" identifier = (cast_expression "(undefined1 *)puVar3[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "DAT_001cf50c = *puVar3;" (assignment_expression "DAT_001cf50c = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "DAT_001cf680 = *DAT_001cf678;" (assignment_expression "DAT_001cf680 = *DAT_001cf678" identifier = (pointer_expression "*DAT_001cf678" * identifier)) ;) (expression_statement "DAT_001d0364 = DAT_001cf678;" (assignment_expression "DAT_001d0364 = DAT_001cf678" identifier = 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 -- yet parameter storage is locked */\n\nvoid yypop_buffer_state(void)\n\n{\n  YY_BUFFER_STATE *ppyVar1;\n  YY_BUFFER_STATE pyVar2;\n  YY_BUFFER_STATE *ppyVar3;\n  size_t sVar4;\n  \n  sVar4 = yy_buffer_stack_top;\n  ppyVar3 = yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    pyVar2 = *ppyVar1;\n    if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(pyVar2);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar4 != 0) {\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void yypop_buffer_state(void)\n\n{\n  YY_BUFFER_STATE *ppyVar1;\n  YY_BUFFER_STATE pyVar2;\n  YY_BUFFER_STATE *ppyVar3;\n  size_t sVar4;\n  \n  sVar4 = yy_buffer_stack_top;\n  ppyVar3 = yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    pyVar2 = *ppyVar1;\n    if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(pyVar2);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar4 != 0) {\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "yypop_buffer_state(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  YY_BUFFER_STATE *ppyVar1;\n  YY_BUFFER_STATE pyVar2;\n  YY_BUFFER_STATE *ppyVar3;\n  size_t sVar4;\n  \n  sVar4 = yy_buffer_stack_top;\n  ppyVar3 = yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    pyVar2 = *ppyVar1;\n    if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(pyVar2);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar4 != 0) {\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "YY_BUFFER_STATE *ppyVar1;" type_identifier (pointer_declarator "*ppyVar1" * identifier) ;) (declaration "YY_BUFFER_STATE pyVar2;" type_identifier identifier ;) (declaration "YY_BUFFER_STATE *ppyVar3;" type_identifier (pointer_declarator "*ppyVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "sVar4 = yy_buffer_stack_top;" (assignment_expression "sVar4 = yy_buffer_stack_top" identifier = identifier) ;) (expression_statement "ppyVar3 = yy_buffer_stack;" (assignment_expression "ppyVar3 = yy_buffer_stack" identifier = identifier) ;) (if_statement "if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    pyVar2 = *ppyVar1;\n    if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(pyVar2);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar4 != 0) {\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }\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    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    pyVar2 = *ppyVar1;\n    if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(pyVar2);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar4 != 0) {\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }\n    }\n  }" { (expression_statement "ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;" (assignment_expression "ppyVar1 = yy_buffer_stack + yy_buffer_stack_top" identifier = (binary_expression "yy_buffer_stack + yy_buffer_stack_top" identifier + identifier)) ;) (expression_statement "pyVar2 = *ppyVar1;" (assignment_expression "pyVar2 = *ppyVar1" identifier = (pointer_expression "*ppyVar1" * identifier)) ;) (if_statement "if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(pyVar2);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar4 != 0) {\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }\n    }" if (parenthesized_expression "(pyVar2 != (YY_BUFFER_STATE)0x0)" ( (binary_expression "pyVar2 != (YY_BUFFER_STATE)0x0" identifier != (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n      yy_delete_buffer(pyVar2);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar4 != 0) {\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }\n    }" { (expression_statement "yy_delete_buffer(pyVar2);" (call_expression "yy_delete_buffer(pyVar2)" identifier (argument_list "(pyVar2)" ( identifier ))) ;) (expression_statement "*ppyVar1 = (YY_BUFFER_STATE)0x0;" (assignment_expression "*ppyVar1 = (YY_BUFFER_STATE)0x0" (pointer_expression "*ppyVar1" * identifier) = (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) ;) (if_statement "if (sVar4 != 0) {\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }" if (parenthesized_expression "(sVar4 != 0)" ( (binary_expression "sVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        yy_buffer_stack_top = sVar4 - 1;\n        pyVar2 = ppyVar3[yy_buffer_stack_top];\n        if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }\n      }" { (expression_statement "yy_buffer_stack_top = sVar4 - 1;" (assignment_expression "yy_buffer_stack_top = sVar4 - 1" identifier = (binary_expression "sVar4 - 1" identifier - number_literal)) ;) (expression_statement "pyVar2 = ppyVar3[yy_buffer_stack_top];" (assignment_expression "pyVar2 = ppyVar3[yy_buffer_stack_top]" identifier = (subscript_expression "ppyVar3[yy_buffer_stack_top]" identifier [ identifier ])) ;) (if_statement "if (pyVar2 != (YY_BUFFER_STATE)0x0) {\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }" if (parenthesized_expression "(pyVar2 != (YY_BUFFER_STATE)0x0)" ( (binary_expression "pyVar2 != (YY_BUFFER_STATE)0x0" identifier != (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n          yy_n_chars = pyVar2->yy_n_chars;\n          yy_c_buf_p = pyVar2->yy_buf_pos;\n          yyin = pyVar2->yy_input_file;\n          yy_hold_char = *yy_c_buf_p;\n          yytext = yy_c_buf_p;\n        }" { (expression_statement "yy_n_chars = pyVar2->yy_n_chars;" (assignment_expression "yy_n_chars = pyVar2->yy_n_chars" identifier = (field_expression "pyVar2->yy_n_chars" identifier -> field_identifier)) ;) (expression_statement "yy_c_buf_p = pyVar2->yy_buf_pos;" (assignment_expression "yy_c_buf_p = pyVar2->yy_buf_pos" identifier = (field_expression "pyVar2->yy_buf_pos" identifier -> field_identifier)) ;) (expression_statement "yyin = pyVar2->yy_input_file;" (assignment_expression "yyin = pyVar2->yy_input_file" identifier = (field_expression "pyVar2->yy_input_file" identifier -> field_identifier)) ;) (expression_statement "yy_hold_char = *yy_c_buf_p;" (assignment_expression "yy_hold_char = *yy_c_buf_p" identifier = (pointer_expression "*yy_c_buf_p" * identifier)) ;) (expression_statement "yytext = yy_c_buf_p;" (assignment_expression "yytext = yy_c_buf_p" identifier = identifier) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001ca40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  iVar5 = DAT_001cf68c;\n  iVar4 = DAT_001cf684;\n  if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001ca40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  iVar5 = DAT_001cf68c;\n  iVar4 = DAT_001cf684;\n  if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001ca40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  iVar5 = DAT_001cf68c;\n  iVar4 = DAT_001cf684;\n  if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "iVar5 = DAT_001cf68c;" (assignment_expression "iVar5 = DAT_001cf68c" identifier = identifier) ;) (expression_statement "iVar4 = DAT_001cf684;" (assignment_expression "iVar4 = DAT_001cf684" identifier = identifier) ;) (if_statement "if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(DAT_001cf684 != 0)" ( (binary_expression "DAT_001cf684 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }" { (expression_statement "piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);" (assignment_expression "piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4)" identifier = (cast_expression "(int *)(DAT_001cf684 + DAT_001cf68c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001cf684 + DAT_001cf68c * 4)" ( (binary_expression "DAT_001cf684 + DAT_001cf68c * 4" identifier + (binary_expression "DAT_001cf68c * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }" { (expression_statement "FUN_0001aa10(iVar2);" (call_expression "FUN_0001aa10(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (if_statement "if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }" { (expression_statement "DAT_001cf68c = iVar5 + -1;" (assignment_expression "DAT_001cf68c = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);" (assignment_expression "puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar4 + DAT_001cf68c * 4)" * (cast_expression "(undefined4 **)(iVar4 + DAT_001cf68c * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + DAT_001cf68c * 4)" ( (binary_expression "iVar4 + DAT_001cf68c * 4" identifier + (binary_expression "DAT_001cf68c * 4" identifier * number_literal)) ))))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }" { (expression_statement "DAT_001cf67c = puVar3[4];" (assignment_expression "DAT_001cf67c = puVar3[4]" identifier = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf678 = (undefined1 *)puVar3[2];" (assignment_expression "DAT_001cf678 = (undefined1 *)puVar3[2]" identifier = (cast_expression "(undefined1 *)puVar3[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "DAT_001cf50c = *puVar3;" (assignment_expression "DAT_001cf50c = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "DAT_001cf680 = *DAT_001cf678;" (assignment_expression "DAT_001cf680 = *DAT_001cf678" identifier = (pointer_expression "*DAT_001cf678" * identifier)) ;) (expression_statement "DAT_001d0364 = DAT_001cf678;" (assignment_expression "DAT_001d0364 = DAT_001cf678" identifier = identifier) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) })) })) (return_statement return ;) })))
(function_definition "void FUN_0001ca40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  iVar5 = DAT_001cf68c;\n  iVar4 = DAT_001cf684;\n  if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001ca40(void)" (identifier "FUN_0001ca40") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  iVar5 = DAT_001cf68c;\n  iVar4 = DAT_001cf684;\n  if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "iVar5 = DAT_001cf68c;" (assignment_expression "iVar5 = DAT_001cf68c" (identifier "iVar5") (= "=") (identifier "DAT_001cf68c")) (; ";")) (expression_statement "iVar4 = DAT_001cf684;" (assignment_expression "iVar4 = DAT_001cf684" (identifier "iVar4") (= "=") (identifier "DAT_001cf684")) (; ";")) (if_statement "if (DAT_001cf684 != 0) {\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(DAT_001cf684 != 0)" (( "(") (binary_expression "DAT_001cf684 != 0" (identifier "DAT_001cf684") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);\n    iVar2 = *piVar1;\n    if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);" (assignment_expression "piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(DAT_001cf684 + DAT_001cf68c * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001cf684 + DAT_001cf68c * 4)" (( "(") (binary_expression "DAT_001cf684 + DAT_001cf68c * 4" (identifier "DAT_001cf684") (+ "+") (binary_expression "DAT_001cf68c * 4" (identifier "DAT_001cf68c") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (if_statement "if (iVar2 != 0) {\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0001aa10(iVar2);\n      *piVar1 = 0;\n      if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }\n    }" ({ "{") (expression_statement "FUN_0001aa10(iVar2);" (call_expression "FUN_0001aa10(iVar2)" (identifier "FUN_0001aa10") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar5 != 0) {\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        DAT_001cf68c = iVar5 + -1;\n        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);\n        if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }\n      }" ({ "{") (expression_statement "DAT_001cf68c = iVar5 + -1;" (assignment_expression "DAT_001cf68c = iVar5 + -1" (identifier "DAT_001cf68c") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);" (assignment_expression "puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(iVar4 + DAT_001cf68c * 4)" (* "*") (cast_expression "(undefined4 **)(iVar4 + DAT_001cf68c * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + DAT_001cf68c * 4)" (( "(") (binary_expression "iVar4 + DAT_001cf68c * 4" (identifier "iVar4") (+ "+") (binary_expression "DAT_001cf68c * 4" (identifier "DAT_001cf68c") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }" (if "if") (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          DAT_001cf67c = puVar3[4];\n          DAT_001cf678 = (undefined1 *)puVar3[2];\n          DAT_001cf50c = *puVar3;\n          DAT_001cf680 = *DAT_001cf678;\n          DAT_001d0364 = DAT_001cf678;\n        }" ({ "{") (expression_statement "DAT_001cf67c = puVar3[4];" (assignment_expression "DAT_001cf67c = puVar3[4]" (identifier "DAT_001cf67c") (= "=") (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "DAT_001cf678 = (undefined1 *)puVar3[2];" (assignment_expression "DAT_001cf678 = (undefined1 *)puVar3[2]" (identifier "DAT_001cf678") (= "=") (cast_expression "(undefined1 *)puVar3[2]" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "DAT_001cf50c = *puVar3;" (assignment_expression "DAT_001cf50c = *puVar3" (identifier "DAT_001cf50c") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "DAT_001cf680 = *DAT_001cf678;" (assignment_expression "DAT_001cf680 = *DAT_001cf678" (identifier "DAT_001cf680") (= "=") (pointer_expression "*DAT_001cf678" (* "*") (identifier "DAT_001cf678"))) (; ";")) (expression_statement "DAT_001d0364 = DAT_001cf678;" (assignment_expression "DAT_001d0364 = DAT_001cf678" (identifier "DAT_001d0364") (= "=") (identifier "DAT_001cf678")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *ppyVar1;
  type_1 var_3;
  type_1 *ppyVar3;
  size_t var_5;
  
  var_5 = var_2;
  ppyVar3 = var_1;
  if (var_1 != (type_1 *)0x0) {
    ppyVar1 = var_1 + var_2;
    var_3 = *ppyVar1;
    if (var_3 != (type_1)0x0) {
      var_4(var_3);
      *ppyVar1 = (type_1)0x0;
      if (var_5 != 0) {
        var_2 = var_5 - 1;
        var_3 = ppyVar3[var_2];
        if (var_3 != (type_1)0x0) {
          yy_n_chars = var_3->yy_n_chars;
          yy_c_buf_p = var_3->yy_buf_pos;
          yyin = var_3->yy_input_file;
          yy_hold_char = *yy_c_buf_p;
          yytext = yy_c_buf_p;
        }
      }
    }
  }
  return;
}


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

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

void MASKED(void)

{
  int *piVar1;
  int iVar2;
  undefined4 *puVar3;
  int iVar4;
  int iVar5;
  
  iVar5 = DAT_001cf68c;
  iVar4 = DAT_001cf684;
  if (DAT_001cf684 != 0) {
    piVar1 = (int *)(DAT_001cf684 + DAT_001cf68c * 4);
    iVar2 = *piVar1;
    if (iVar2 != 0) {
      FUN_0001aa10(iVar2);
      *piVar1 = 0;
      if (iVar5 != 0) {
        DAT_001cf68c = iVar5 + -1;
        puVar3 = *(undefined4 **)(iVar4 + DAT_001cf68c * 4);
        if (puVar3 != (undefined4 *)0x0) {
          DAT_001cf67c = puVar3[4];
          DAT_001cf678 = (undefined1 *)puVar3[2];
          DAT_001cf50c = *puVar3;
          DAT_001cf680 = *DAT_001cf678;
          DAT_001d0364 = DAT_001cf678;
        }
      }
    }
  }
  return;
}

