
YY_BUFFER_STATE yy_create_buffer(FILE *file,int size)

{
  undefined *puVar1;
  YY_BUFFER_STATE b;
  char *pcVar2;
  
  b = (YY_BUFFER_STATE)(*(code *)PTR_malloc_000b66b4)(0x30);
  puVar1 = PTR_malloc_000b66b4;
  if (b != (YY_BUFFER_STATE)0x0) {
    b->yy_buf_size = size;
    pcVar2 = (char *)(*(code *)puVar1)(size + 2);
    b->yy_ch_buf = pcVar2;
    if (pcVar2 != (char *)0x0) {
      b->yy_is_our_buffer = 1;
      yy_init_buffer(b,file);
      return b;
    }
  }
                    /* WARNING: Subroutine does not return */
  yy_fatal_error(PTR_s_operand_000b5e4c + 0x14b4);
}



int yy_create_buffer(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);
  puVar1 = PTR_malloc_000b66b4;
  if (iVar2 != 0) {
    *(int *)(iVar2 + 0xc) = param_2;
    iVar3 = (*(code *)puVar1)(param_2 + 2);
    *(int *)(iVar2 + 4) = iVar3;
    if (iVar3 != 0) {
      *(undefined4 *)(iVar2 + 0x14) = 1;
      FUN_0008cdb0(iVar2,param_1);
      return iVar2;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);
}


lui gp,0x3
addiu gp,gp,0xdcc
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x75cc(gp)
sw s2,0x20(sp)
or s2,a0,zero
li a0,0x30
sw gp,0x10(sp)
sw s1,0x1c(sp)
or s1,a1,zero
sw ra,0x24(sp)
jalr t9
_sw s0,0x18(sp)
beq v0,zero,0x0008cf4c
_lw gp,0x10(sp)
lw t9,-0x75cc(gp)
addiu a0,s1,0x2
or s0,v0,zero
jalr t9
_sw s1,0xc(v0)
lw gp,0x10(sp)
beq v0,zero,0x0008cf4c
_sw v0,0x4(s0)
lw t9,-0x7fc8(gp)
li v0,0x1
or a1,s2,zero
or a0,s0,zero
addiu t9,t9,-0x3250
bal 0x0008cdb0
_sw v0,0x14(s0)
or v0,s0,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw a0,-0x7e34(gp)
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x35f8
bal 0x0008ca08
_addiu a0,a0,0x14b4
(translation_unit "int yy_create_buffer(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);\n}\n\n" (function_definition "int yy_create_buffer(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);\n}" primitive_type (function_declarator "yy_create_buffer(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);" (assignment_expression "iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30)" identifier = (call_expression "(*(code *)PTR_malloc_000b66b4)(0x30)" (parenthesized_expression "(*(code *)PTR_malloc_000b66b4)" ( (pointer_expression "*(code *)PTR_malloc_000b66b4" * (cast_expression "(code *)PTR_malloc_000b66b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x30)" ( number_literal )))) ;) (expression_statement "puVar1 = PTR_malloc_000b66b4;" (assignment_expression "puVar1 = PTR_malloc_000b66b4" identifier = identifier) ;) (if_statement "if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }" { (expression_statement "*(int *)(iVar2 + 0xc) = param_2;" (assignment_expression "*(int *)(iVar2 + 0xc) = param_2" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = (*(code *)puVar1)(param_2 + 2);" (assignment_expression "iVar3 = (*(code *)puVar1)(param_2 + 2)" identifier = (call_expression "(*(code *)puVar1)(param_2 + 2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (expression_statement "*(int *)(iVar2 + 4) = iVar3;" (assignment_expression "*(int *)(iVar2 + 4) = iVar3" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0008cdb0(iVar2,param_1);" (call_expression "FUN_0008cdb0(iVar2,param_1)" identifier (argument_list "(iVar2,param_1)" ( identifier , identifier ))) ;) (return_statement "return iVar2;" return identifier ;) })) })) comment (expression_statement "FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);" (call_expression "FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4)" identifier (argument_list "(PTR_s_operand_000b5e4c + 0x14b4)" ( (binary_expression "PTR_s_operand_000b5e4c + 0x14b4" identifier + number_literal) ))) ;) })))
(translation_unit "YY_BUFFER_STATE yy_create_buffer(FILE *file,int size)\n\n{\n  undefined *puVar1;\n  YY_BUFFER_STATE b;\n  char *pcVar2;\n  \n  b = (YY_BUFFER_STATE)(*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (b != (YY_BUFFER_STATE)0x0) {\n    b->yy_buf_size = size;\n    pcVar2 = (char *)(*(code *)puVar1)(size + 2);\n    b->yy_ch_buf = pcVar2;\n    if (pcVar2 != (char *)0x0) {\n      b->yy_is_our_buffer = 1;\n      yy_init_buffer(b,file);\n      return b;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  yy_fatal_error(PTR_s_operand_000b5e4c + 0x14b4);\n}\n\n" (function_definition "YY_BUFFER_STATE yy_create_buffer(FILE *file,int size)\n\n{\n  undefined *puVar1;\n  YY_BUFFER_STATE b;\n  char *pcVar2;\n  \n  b = (YY_BUFFER_STATE)(*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (b != (YY_BUFFER_STATE)0x0) {\n    b->yy_buf_size = size;\n    pcVar2 = (char *)(*(code *)puVar1)(size + 2);\n    b->yy_ch_buf = pcVar2;\n    if (pcVar2 != (char *)0x0) {\n      b->yy_is_our_buffer = 1;\n      yy_init_buffer(b,file);\n      return b;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  yy_fatal_error(PTR_s_operand_000b5e4c + 0x14b4);\n}" type_identifier (function_declarator "yy_create_buffer(FILE *file,int size)" identifier (parameter_list "(FILE *file,int size)" ( (parameter_declaration "FILE *file" type_identifier (pointer_declarator "*file" * identifier)) , (parameter_declaration "int size" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  YY_BUFFER_STATE b;\n  char *pcVar2;\n  \n  b = (YY_BUFFER_STATE)(*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (b != (YY_BUFFER_STATE)0x0) {\n    b->yy_buf_size = size;\n    pcVar2 = (char *)(*(code *)puVar1)(size + 2);\n    b->yy_ch_buf = pcVar2;\n    if (pcVar2 != (char *)0x0) {\n      b->yy_is_our_buffer = 1;\n      yy_init_buffer(b,file);\n      return b;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  yy_fatal_error(PTR_s_operand_000b5e4c + 0x14b4);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "YY_BUFFER_STATE b;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "b = (YY_BUFFER_STATE)(*(code *)PTR_malloc_000b66b4)(0x30);" (assignment_expression "b = (YY_BUFFER_STATE)(*(code *)PTR_malloc_000b66b4)(0x30)" identifier = (call_expression "(YY_BUFFER_STATE)(*(code *)PTR_malloc_000b66b4)(0x30)" (call_expression "(YY_BUFFER_STATE)(*(code *)PTR_malloc_000b66b4)" (parenthesized_expression "(YY_BUFFER_STATE)" ( identifier )) (argument_list "(*(code *)PTR_malloc_000b66b4)" ( (pointer_expression "*(code *)PTR_malloc_000b66b4" * (cast_expression "(code *)PTR_malloc_000b66b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) (argument_list "(0x30)" ( number_literal )))) ;) (expression_statement "puVar1 = PTR_malloc_000b66b4;" (assignment_expression "puVar1 = PTR_malloc_000b66b4" identifier = identifier) ;) (if_statement "if (b != (YY_BUFFER_STATE)0x0) {\n    b->yy_buf_size = size;\n    pcVar2 = (char *)(*(code *)puVar1)(size + 2);\n    b->yy_ch_buf = pcVar2;\n    if (pcVar2 != (char *)0x0) {\n      b->yy_is_our_buffer = 1;\n      yy_init_buffer(b,file);\n      return b;\n    }\n  }" if (parenthesized_expression "(b != (YY_BUFFER_STATE)0x0)" ( (binary_expression "b != (YY_BUFFER_STATE)0x0" identifier != (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n    b->yy_buf_size = size;\n    pcVar2 = (char *)(*(code *)puVar1)(size + 2);\n    b->yy_ch_buf = pcVar2;\n    if (pcVar2 != (char *)0x0) {\n      b->yy_is_our_buffer = 1;\n      yy_init_buffer(b,file);\n      return b;\n    }\n  }" { (expression_statement "b->yy_buf_size = size;" (assignment_expression "b->yy_buf_size = size" (field_expression "b->yy_buf_size" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar2 = (char *)(*(code *)puVar1)(size + 2);" (assignment_expression "pcVar2 = (char *)(*(code *)puVar1)(size + 2)" identifier = (cast_expression "(char *)(*(code *)puVar1)(size + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(size + 2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(size + 2)" ( (binary_expression "size + 2" identifier + number_literal) ))))) ;) (expression_statement "b->yy_ch_buf = pcVar2;" (assignment_expression "b->yy_ch_buf = pcVar2" (field_expression "b->yy_ch_buf" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n      b->yy_is_our_buffer = 1;\n      yy_init_buffer(b,file);\n      return b;\n    }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      b->yy_is_our_buffer = 1;\n      yy_init_buffer(b,file);\n      return b;\n    }" { (expression_statement "b->yy_is_our_buffer = 1;" (assignment_expression "b->yy_is_our_buffer = 1" (field_expression "b->yy_is_our_buffer" identifier -> field_identifier) = number_literal) ;) (expression_statement "yy_init_buffer(b,file);" (call_expression "yy_init_buffer(b,file)" identifier (argument_list "(b,file)" ( identifier , identifier ))) ;) (return_statement "return b;" return identifier ;) })) })) comment (expression_statement "yy_fatal_error(PTR_s_operand_000b5e4c + 0x14b4);" (call_expression "yy_fatal_error(PTR_s_operand_000b5e4c + 0x14b4)" identifier (argument_list "(PTR_s_operand_000b5e4c + 0x14b4)" ( (binary_expression "PTR_s_operand_000b5e4c + 0x14b4" identifier + number_literal) ))) ;) })))
(translation_unit "int yy_create_buffer(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }\n                    \n  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);\n}\n\n" (function_definition "int yy_create_buffer(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }\n                    \n  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);\n}" primitive_type (function_declarator "yy_create_buffer(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }\n                    \n  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);" (assignment_expression "iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30)" identifier = (call_expression "(*(code *)PTR_malloc_000b66b4)(0x30)" (parenthesized_expression "(*(code *)PTR_malloc_000b66b4)" ( (pointer_expression "*(code *)PTR_malloc_000b66b4" * (cast_expression "(code *)PTR_malloc_000b66b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x30)" ( number_literal )))) ;) (expression_statement "puVar1 = PTR_malloc_000b66b4;" (assignment_expression "puVar1 = PTR_malloc_000b66b4" identifier = identifier) ;) (if_statement "if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }" { (expression_statement "*(int *)(iVar2 + 0xc) = param_2;" (assignment_expression "*(int *)(iVar2 + 0xc) = param_2" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = (*(code *)puVar1)(param_2 + 2);" (assignment_expression "iVar3 = (*(code *)puVar1)(param_2 + 2)" identifier = (call_expression "(*(code *)puVar1)(param_2 + 2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (expression_statement "*(int *)(iVar2 + 4) = iVar3;" (assignment_expression "*(int *)(iVar2 + 4) = iVar3" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0008cdb0(iVar2,param_1);" (call_expression "FUN_0008cdb0(iVar2,param_1)" identifier (argument_list "(iVar2,param_1)" ( identifier , identifier ))) ;) (return_statement "return iVar2;" return identifier ;) })) })) (expression_statement "FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);" (call_expression "FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4)" identifier (argument_list "(PTR_s_operand_000b5e4c + 0x14b4)" ( (binary_expression "PTR_s_operand_000b5e4c + 0x14b4" identifier + number_literal) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) })))
(function_definition "int yy_create_buffer(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }\n                    \n  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);\n}" (primitive_type "int") (function_declarator "yy_create_buffer(undefined4 param_1,int param_2)" (identifier "yy_create_buffer") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);\n  puVar1 = PTR_malloc_000b66b4;\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }\n                    \n  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);" (assignment_expression "iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_malloc_000b66b4)(0x30)" (parenthesized_expression "(*(code *)PTR_malloc_000b66b4)" (( "(") (pointer_expression "*(code *)PTR_malloc_000b66b4" (* "*") (cast_expression "(code *)PTR_malloc_000b66b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_000b66b4"))) () ")")) (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_malloc_000b66b4;" (assignment_expression "puVar1 = PTR_malloc_000b66b4" (identifier "puVar1") (= "=") (identifier "PTR_malloc_000b66b4")) (; ";")) (if_statement "if (iVar2 != 0) {\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(iVar2 + 0xc) = param_2;\n    iVar3 = (*(code *)puVar1)(param_2 + 2);\n    *(int *)(iVar2 + 4) = iVar3;\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }\n  }" ({ "{") (expression_statement "*(int *)(iVar2 + 0xc) = param_2;" (assignment_expression "*(int *)(iVar2 + 0xc) = param_2" (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar3 = (*(code *)puVar1)(param_2 + 2);" (assignment_expression "iVar3 = (*(code *)puVar1)(param_2 + 2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)puVar1)(param_2 + 2)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*(int *)(iVar2 + 4) = iVar3;" (assignment_expression "*(int *)(iVar2 + 4) = iVar3" (pointer_expression "*(int *)(iVar2 + 4)" (* "*") (cast_expression "(int *)(iVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x14) = 1;\n      FUN_0008cdb0(iVar2,param_1);\n      return iVar2;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_0008cdb0(iVar2,param_1);" (call_expression "FUN_0008cdb0(iVar2,param_1)" (identifier "FUN_0008cdb0") (argument_list "(iVar2,param_1)" (( "(") (identifier "iVar2") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);" (call_expression "FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4)" (identifier "FUN_0008ca08") (argument_list "(PTR_s_operand_000b5e4c + 0x14b4)" (( "(") (binary_expression "PTR_s_operand_000b5e4c + 0x14b4" (identifier "PTR_s_operand_000b5e4c") (+ "+") (number_literal "0x14b4")) () ")"))) (; ";")) (} "}")))

type_1 function_1(type_2 *file,int var_2)

{
  type_3 *puVar1;
  type_1 var_1;
  char *var_3;
  
  var_1 = (type_1)(*(type_4 *)PTR_malloc_000b66b4)(0x30);
  puVar1 = PTR_malloc_000b66b4;
  if (var_1 != (type_1)0x0) {
    var_1->yy_buf_size = var_2;
    var_3 = (char *)(*(type_4 *)puVar1)(var_2 + 2);
    var_1->yy_ch_buf = var_3;
    if (var_3 != (char *)0x0) {
      var_1->yy_is_our_buffer = 1;
      var_4(var_1,file);
      return var_1;
    }
  }
                    /* WARNING: Subroutine does not return */
  var_5(var_6 + 0x14b4);
}


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

int MASKED(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = (*(code *)PTR_malloc_000b66b4)(0x30);
  puVar1 = PTR_malloc_000b66b4;
  if (iVar2 != 0) {
    *(int *)(iVar2 + 0xc) = param_2;
    iVar3 = (*(code *)puVar1)(param_2 + 2);
    *(int *)(iVar2 + 4) = iVar3;
    if (iVar3 != 0) {
      *(undefined4 *)(iVar2 + 0x14) = 1;
      FUN_0008cdb0(iVar2,param_1);
      return iVar2;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008ca08(PTR_s_operand_000b5e4c + 0x14b4);
}

