
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 << 3);
  }
  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;
}



void FUN_001113a0(undefined8 *param_1)

{
  long lVar1;
  long *plVar2;
  
  FUN_001112e0();
  if (DAT_002b4bf8 == 0) {
    if (param_1 == (undefined8 *)0x0) {
      return;
    }
    plVar2 = (long *)(DAT_002b4c08 << 3);
  }
  else {
    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);
    if ((undefined8 *)*plVar2 == param_1) {
      return;
    }
    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {
      *DAT_002b4be8 = DAT_002b4bf4;
      lVar1 = *plVar2;
      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;
      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;
    }
  }
  *plVar2 = (long)param_1;
  DAT_002b5e60 = (undefined1 *)param_1[2];
  DAT_002b4bf4 = *DAT_002b5e60;
  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);
  DAT_002b4be8 = DAT_002b5e60;
  DAT_002b4a38 = *param_1;
  return;
}


PUSH RBX
MOV RBX,RDI
CALL 0x001112e0
MOV RAX,qword ptr [0x002b4bf8]
TEST RAX,RAX
JZ 0x00111420
MOV RDX,qword ptr [0x002b4c08]
LEA RAX,[RAX + RDX*0x8]
MOV RDX,qword ptr [RAX]
CMP RDX,RBX
JZ 0x0011141e
TEST RDX,RDX
JZ 0x001113ed
MOV RCX,qword ptr [0x002b4be8]
MOVZX EDX,byte ptr [0x002b4bf4]
MOV byte ptr [RCX],DL
MOV RDX,qword ptr [RAX]
MOV qword ptr [RDX + 0x10],RCX
MOV ECX,dword ptr [0x002b4bf0]
MOV dword ptr [RDX + 0x1c],ECX
MOV qword ptr [RAX],RBX
MOV EAX,dword ptr [RBX + 0x1c]
MOV RDX,qword ptr [RBX]
MOV dword ptr [0x002b4bf0],EAX
MOV RAX,qword ptr [RBX + 0x10]
MOV qword ptr [0x002b4a38],RDX
MOV qword ptr [0x002b4be8],RAX
MOV qword ptr [0x002b5e60],RAX
MOVZX EAX,byte ptr [RAX]
MOV byte ptr [0x002b4bf4],AL
POP RBX
RET
TEST RBX,RBX
JZ 0x0011141e
MOV RAX,qword ptr [0x002b4c08]
SHL RAX,0x3
JMP 0x001113ed
(translation_unit "void FUN_001113a0(undefined8 *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  FUN_001112e0();\n  if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }\n  *plVar2 = (long)param_1;\n  DAT_002b5e60 = (undefined1 *)param_1[2];\n  DAT_002b4bf4 = *DAT_002b5e60;\n  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);\n  DAT_002b4be8 = DAT_002b5e60;\n  DAT_002b4a38 = *param_1;\n  return;\n}\n\n" (function_definition "void FUN_001113a0(undefined8 *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  FUN_001112e0();\n  if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }\n  *plVar2 = (long)param_1;\n  DAT_002b5e60 = (undefined1 *)param_1[2];\n  DAT_002b4bf4 = *DAT_002b5e60;\n  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);\n  DAT_002b4be8 = DAT_002b5e60;\n  DAT_002b4a38 = *param_1;\n  return;\n}" primitive_type (function_declarator "FUN_001113a0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  FUN_001112e0();\n  if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }\n  *plVar2 = (long)param_1;\n  DAT_002b5e60 = (undefined1 *)param_1[2];\n  DAT_002b4bf4 = *DAT_002b5e60;\n  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);\n  DAT_002b4be8 = DAT_002b5e60;\n  DAT_002b4a38 = *param_1;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "FUN_001112e0();" (call_expression "FUN_001112e0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" if (parenthesized_expression "(DAT_002b4bf8 == 0)" ( (binary_expression "DAT_002b4bf8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }" { (if_statement "if (param_1 == (undefined8 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "plVar2 = (long *)(DAT_002b4c08 << 3);" (assignment_expression "plVar2 = (long *)(DAT_002b4c08 << 3)" identifier = (cast_expression "(long *)(DAT_002b4c08 << 3)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_002b4c08 << 3)" ( (binary_expression "DAT_002b4c08 << 3" identifier << number_literal) )))) ;) }) (else_clause "else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" else (compound_statement "{\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" { (expression_statement "plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);" (assignment_expression "plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8)" identifier = (cast_expression "(long *)(DAT_002b4bf8 + DAT_002b4c08 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_002b4bf8 + DAT_002b4c08 * 8)" ( (binary_expression "DAT_002b4bf8 + DAT_002b4c08 * 8" identifier + (binary_expression "DAT_002b4c08 * 8" identifier * number_literal)) )))) ;) (if_statement "if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }" if (parenthesized_expression "((undefined8 *)*plVar2 == param_1)" ( (binary_expression "(undefined8 *)*plVar2 == param_1" (cast_expression "(undefined8 *)*plVar2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier)) == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }" if (parenthesized_expression "((undefined8 *)*plVar2 != (undefined8 *)0x0)" ( (binary_expression "(undefined8 *)*plVar2 != (undefined8 *)0x0" (cast_expression "(undefined8 *)*plVar2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier)) != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }" { (expression_statement "*DAT_002b4be8 = DAT_002b4bf4;" (assignment_expression "*DAT_002b4be8 = DAT_002b4bf4" (pointer_expression "*DAT_002b4be8" * identifier) = identifier) ;) (expression_statement "lVar1 = *plVar2;" (assignment_expression "lVar1 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ;) (expression_statement "*(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;" (assignment_expression "*(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8" (pointer_expression "*(undefined1 **)(lVar1 + 0x10)" * (cast_expression "(undefined1 **)(lVar1 + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;" (assignment_expression "*(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0" (pointer_expression "*(undefined4 *)(lVar1 + 0x1c)" * (cast_expression "(undefined4 *)(lVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x1c)" ( (binary_expression "lVar1 + 0x1c" identifier + number_literal) )))) = identifier) ;) })) }))) (expression_statement "*plVar2 = (long)param_1;" (assignment_expression "*plVar2 = (long)param_1" (pointer_expression "*plVar2" * identifier) = (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "DAT_002b5e60 = (undefined1 *)param_1[2];" (assignment_expression "DAT_002b5e60 = (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_002b4bf4 = *DAT_002b5e60;" (assignment_expression "DAT_002b4bf4 = *DAT_002b5e60" identifier = (pointer_expression "*DAT_002b5e60" * identifier)) ;) (expression_statement "DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);" (assignment_expression "DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)((long)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "DAT_002b4be8 = DAT_002b5e60;" (assignment_expression "DAT_002b4be8 = DAT_002b5e60" identifier = identifier) ;) (expression_statement "DAT_002b4a38 = *param_1;" (assignment_expression "DAT_002b4a38 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "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 << 3);\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" (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 << 3);\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 << 3);\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 << 3);\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 << 3);\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 << 3);" (assignment_expression "ppyVar2 = (YY_BUFFER_STATE *)(yy_buffer_stack_top << 3)" identifier = (cast_expression "(YY_BUFFER_STATE *)(yy_buffer_stack_top << 3)" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(yy_buffer_stack_top << 3)" ( (binary_expression "yy_buffer_stack_top << 3" 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_001113a0(undefined8 *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  FUN_001112e0();\n  if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }\n  *plVar2 = (long)param_1;\n  DAT_002b5e60 = (undefined1 *)param_1[2];\n  DAT_002b4bf4 = *DAT_002b5e60;\n  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);\n  DAT_002b4be8 = DAT_002b5e60;\n  DAT_002b4a38 = *param_1;\n  return;\n}\n\n" (function_definition "void FUN_001113a0(undefined8 *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  FUN_001112e0();\n  if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }\n  *plVar2 = (long)param_1;\n  DAT_002b5e60 = (undefined1 *)param_1[2];\n  DAT_002b4bf4 = *DAT_002b5e60;\n  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);\n  DAT_002b4be8 = DAT_002b5e60;\n  DAT_002b4a38 = *param_1;\n  return;\n}" primitive_type (function_declarator "FUN_001113a0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  FUN_001112e0();\n  if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }\n  *plVar2 = (long)param_1;\n  DAT_002b5e60 = (undefined1 *)param_1[2];\n  DAT_002b4bf4 = *DAT_002b5e60;\n  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);\n  DAT_002b4be8 = DAT_002b5e60;\n  DAT_002b4a38 = *param_1;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "FUN_001112e0();" (call_expression "FUN_001112e0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" if (parenthesized_expression "(DAT_002b4bf8 == 0)" ( (binary_expression "DAT_002b4bf8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }" { (if_statement "if (param_1 == (undefined8 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "plVar2 = (long *)(DAT_002b4c08 << 3);" (assignment_expression "plVar2 = (long *)(DAT_002b4c08 << 3)" identifier = (cast_expression "(long *)(DAT_002b4c08 << 3)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_002b4c08 << 3)" ( (binary_expression "DAT_002b4c08 << 3" identifier << number_literal) )))) ;) }) (else_clause "else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" else (compound_statement "{\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" { (expression_statement "plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);" (assignment_expression "plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8)" identifier = (cast_expression "(long *)(DAT_002b4bf8 + DAT_002b4c08 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_002b4bf8 + DAT_002b4c08 * 8)" ( (binary_expression "DAT_002b4bf8 + DAT_002b4c08 * 8" identifier + (binary_expression "DAT_002b4c08 * 8" identifier * number_literal)) )))) ;) (if_statement "if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }" if (parenthesized_expression "((undefined8 *)*plVar2 == param_1)" ( (binary_expression "(undefined8 *)*plVar2 == param_1" (cast_expression "(undefined8 *)*plVar2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier)) == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }" if (parenthesized_expression "((undefined8 *)*plVar2 != (undefined8 *)0x0)" ( (binary_expression "(undefined8 *)*plVar2 != (undefined8 *)0x0" (cast_expression "(undefined8 *)*plVar2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier)) != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }" { (expression_statement "*DAT_002b4be8 = DAT_002b4bf4;" (assignment_expression "*DAT_002b4be8 = DAT_002b4bf4" (pointer_expression "*DAT_002b4be8" * identifier) = identifier) ;) (expression_statement "lVar1 = *plVar2;" (assignment_expression "lVar1 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ;) (expression_statement "*(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;" (assignment_expression "*(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8" (pointer_expression "*(undefined1 **)(lVar1 + 0x10)" * (cast_expression "(undefined1 **)(lVar1 + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;" (assignment_expression "*(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0" (pointer_expression "*(undefined4 *)(lVar1 + 0x1c)" * (cast_expression "(undefined4 *)(lVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x1c)" ( (binary_expression "lVar1 + 0x1c" identifier + number_literal) )))) = identifier) ;) })) }))) (expression_statement "*plVar2 = (long)param_1;" (assignment_expression "*plVar2 = (long)param_1" (pointer_expression "*plVar2" * identifier) = (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "DAT_002b5e60 = (undefined1 *)param_1[2];" (assignment_expression "DAT_002b5e60 = (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_002b4bf4 = *DAT_002b5e60;" (assignment_expression "DAT_002b4bf4 = *DAT_002b5e60" identifier = (pointer_expression "*DAT_002b5e60" * identifier)) ;) (expression_statement "DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);" (assignment_expression "DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)((long)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "DAT_002b4be8 = DAT_002b5e60;" (assignment_expression "DAT_002b4be8 = DAT_002b5e60" identifier = identifier) ;) (expression_statement "DAT_002b4a38 = *param_1;" (assignment_expression "DAT_002b4a38 = *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 (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT << LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (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 (sized_type_specifier long)) ) 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_001113a0(undefined8 *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  FUN_001112e0();\n  if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }\n  *plVar2 = (long)param_1;\n  DAT_002b5e60 = (undefined1 *)param_1[2];\n  DAT_002b4bf4 = *DAT_002b5e60;\n  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);\n  DAT_002b4be8 = DAT_002b5e60;\n  DAT_002b4a38 = *param_1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001113a0(undefined8 *param_1)" (identifier "FUN_001113a0") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  FUN_001112e0();\n  if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }\n  *plVar2 = (long)param_1;\n  DAT_002b5e60 = (undefined1 *)param_1[2];\n  DAT_002b4bf4 = *DAT_002b5e60;\n  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);\n  DAT_002b4be8 = DAT_002b5e60;\n  DAT_002b4a38 = *param_1;\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (expression_statement "FUN_001112e0();" (call_expression "FUN_001112e0()" (identifier "FUN_001112e0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (DAT_002b4bf8 == 0) {\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }\n  else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" (if "if") (parenthesized_expression "(DAT_002b4bf8 == 0)" (( "(") (binary_expression "DAT_002b4bf8 == 0" (identifier "DAT_002b4bf8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_1 == (undefined8 *)0x0) {\n      return;\n    }\n    plVar2 = (long *)(DAT_002b4c08 << 3);\n  }" ({ "{") (if_statement "if (param_1 == (undefined8 *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_1 == (undefined8 *)0x0)" (( "(") (binary_expression "param_1 == (undefined8 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "plVar2 = (long *)(DAT_002b4c08 << 3);" (assignment_expression "plVar2 = (long *)(DAT_002b4c08 << 3)" (identifier "plVar2") (= "=") (cast_expression "(long *)(DAT_002b4c08 << 3)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_002b4c08 << 3)" (( "(") (binary_expression "DAT_002b4c08 << 3" (identifier "DAT_002b4c08") (<< "<<") (number_literal "3")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" (else "else") (compound_statement "{\n    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);\n    if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }\n    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }\n  }" ({ "{") (expression_statement "plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);" (assignment_expression "plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8)" (identifier "plVar2") (= "=") (cast_expression "(long *)(DAT_002b4bf8 + DAT_002b4c08 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_002b4bf8 + DAT_002b4c08 * 8)" (( "(") (binary_expression "DAT_002b4bf8 + DAT_002b4c08 * 8" (identifier "DAT_002b4bf8") (+ "+") (binary_expression "DAT_002b4c08 * 8" (identifier "DAT_002b4c08") (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if ((undefined8 *)*plVar2 == param_1) {\n      return;\n    }" (if "if") (parenthesized_expression "((undefined8 *)*plVar2 == param_1)" (( "(") (binary_expression "(undefined8 *)*plVar2 == param_1" (cast_expression "(undefined8 *)*plVar2" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar2" (* "*") (identifier "plVar2"))) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }" (if "if") (parenthesized_expression "((undefined8 *)*plVar2 != (undefined8 *)0x0)" (( "(") (binary_expression "(undefined8 *)*plVar2 != (undefined8 *)0x0" (cast_expression "(undefined8 *)*plVar2" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar2" (* "*") (identifier "plVar2"))) (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *DAT_002b4be8 = DAT_002b4bf4;\n      lVar1 = *plVar2;\n      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;\n      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;\n    }" ({ "{") (expression_statement "*DAT_002b4be8 = DAT_002b4bf4;" (assignment_expression "*DAT_002b4be8 = DAT_002b4bf4" (pointer_expression "*DAT_002b4be8" (* "*") (identifier "DAT_002b4be8")) (= "=") (identifier "DAT_002b4bf4")) (; ";")) (expression_statement "lVar1 = *plVar2;" (assignment_expression "lVar1 = *plVar2" (identifier "lVar1") (= "=") (pointer_expression "*plVar2" (* "*") (identifier "plVar2"))) (; ";")) (expression_statement "*(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;" (assignment_expression "*(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8" (pointer_expression "*(undefined1 **)(lVar1 + 0x10)" (* "*") (cast_expression "(undefined1 **)(lVar1 + 0x10)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "DAT_002b4be8")) (; ";")) (expression_statement "*(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;" (assignment_expression "*(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0" (pointer_expression "*(undefined4 *)(lVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(lVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x1c)" (( "(") (binary_expression "lVar1 + 0x1c" (identifier "lVar1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "DAT_002b4bf0")) (; ";")) (} "}"))) (} "}")))) (expression_statement "*plVar2 = (long)param_1;" (assignment_expression "*plVar2 = (long)param_1" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (; ";")) (expression_statement "DAT_002b5e60 = (undefined1 *)param_1[2];" (assignment_expression "DAT_002b5e60 = (undefined1 *)param_1[2]" (identifier "DAT_002b5e60") (= "=") (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_002b4bf4 = *DAT_002b5e60;" (assignment_expression "DAT_002b4bf4 = *DAT_002b5e60" (identifier "DAT_002b4bf4") (= "=") (pointer_expression "*DAT_002b5e60" (* "*") (identifier "DAT_002b5e60"))) (; ";")) (expression_statement "DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);" (assignment_expression "DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c)" (identifier "DAT_002b4bf0") (= "=") (pointer_expression "*(undefined4 *)((long)param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x1c)" (( "(") (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "DAT_002b4be8 = DAT_002b5e60;" (assignment_expression "DAT_002b4be8 = DAT_002b5e60" (identifier "DAT_002b4be8") (= "=") (identifier "DAT_002b5e60")) (; ";")) (expression_statement "DAT_002b4a38 = *param_1;" (assignment_expression "DAT_002b4a38 = *param_1" (identifier "DAT_002b4a38") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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 << 3);
  }
  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: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) 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: (sized_type_specifier) 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: (sized_type_specifier) 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: (sized_type_specifier)) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (return_statement))))

void MASKED(undefined8 *param_1)

{
  long lVar1;
  long *plVar2;
  
  FUN_001112e0();
  if (DAT_002b4bf8 == 0) {
    if (param_1 == (undefined8 *)0x0) {
      return;
    }
    plVar2 = (long *)(DAT_002b4c08 << 3);
  }
  else {
    plVar2 = (long *)(DAT_002b4bf8 + DAT_002b4c08 * 8);
    if ((undefined8 *)*plVar2 == param_1) {
      return;
    }
    if ((undefined8 *)*plVar2 != (undefined8 *)0x0) {
      *DAT_002b4be8 = DAT_002b4bf4;
      lVar1 = *plVar2;
      *(undefined1 **)(lVar1 + 0x10) = DAT_002b4be8;
      *(undefined4 *)(lVar1 + 0x1c) = DAT_002b4bf0;
    }
  }
  *plVar2 = (long)param_1;
  DAT_002b5e60 = (undefined1 *)param_1[2];
  DAT_002b4bf4 = *DAT_002b5e60;
  DAT_002b4bf0 = *(undefined4 *)((long)param_1 + 0x1c);
  DAT_002b4be8 = DAT_002b5e60;
  DAT_002b4a38 = *param_1;
  return;
}

