
void yy_flush_buffer(YY_BUFFER_STATE b)

{
  if (b != (YY_BUFFER_STATE)0x0) {
    b->yy_n_chars = 0;
    *b->yy_ch_buf = '\0';
    b->yy_ch_buf[1] = '\0';
    b->yy_buf_pos = b->yy_ch_buf;
    b->yy_at_bol = 1;
    b->yy_buffer_status = 0;
    if ((yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top]))
    {
      yy_load_buffer_state();
    }
  }
  return;
}



void FUN_00116846(long param_1)

{
  if (param_1 != 0) {
    *(undefined4 *)(param_1 + 0x1c) = 0;
    **(undefined1 **)(param_1 + 8) = 0;
    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;
    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);
    *(undefined4 *)(param_1 + 0x28) = 1;
    *(undefined4 *)(param_1 + 0x38) = 0;
    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {
      FUN_00116633();
    }
  }
  return;
}


TEST RDI,RDI
JZ 0x00116890
MOV dword ptr [RDI + 0x1c],0x0
MOV RAX,qword ptr [RDI + 0x8]
MOV byte ptr [RAX],0x0
MOV RAX,qword ptr [RDI + 0x8]
MOV byte ptr [RAX + 0x1],0x0
MOV RAX,qword ptr [RDI + 0x8]
MOV qword ptr [RDI + 0x10],RAX
MOV dword ptr [RDI + 0x28],0x1
MOV dword ptr [RDI + 0x38],0x0
MOV RAX,qword ptr [0x00170778]
TEST RAX,RAX
JZ 0x00116890
MOV RDX,qword ptr [0x00170788]
CMP RDI,qword ptr [RAX + RDX*0x8]
JZ 0x00116891
RET
CALL 0x00116633
JMP 0x00116890
(translation_unit "void FUN_00116846(long param_1)\n\n{\n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00116846(long param_1)\n\n{\n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00116846(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined1 **)(param_1 + 8) = 0;" (assignment_expression "**(undefined1 **)(param_1 + 8) = 0" (pointer_expression "**(undefined1 **)(param_1 + 8)" * (pointer_expression "*(undefined1 **)(param_1 + 8)" * (cast_expression "(undefined1 **)(param_1 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0" (pointer_expression "*(undefined1 *)(*(long *)(param_1 + 8) + 1)" * (cast_expression "(undefined1 *)(*(long *)(param_1 + 8) + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 1)" ( (binary_expression "*(long *)(param_1 + 8) + 1" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8)" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x38) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }" if (parenthesized_expression "((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8)))" ( (binary_expression "(DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))" (parenthesized_expression "(DAT_00170778 != 0)" ( (binary_expression "DAT_00170778 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))" ( (binary_expression "param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8)" identifier == (pointer_expression "*(long *)(DAT_00170778 + DAT_00170788 * 8)" * (cast_expression "(long *)(DAT_00170778 + DAT_00170788 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00170778 + DAT_00170788 * 8)" ( (binary_expression "DAT_00170778 + DAT_00170788 * 8" identifier + (binary_expression "DAT_00170788 * 8" identifier * number_literal)) ))))) ))) )) (compound_statement "{\n      FUN_00116633();\n    }" { (expression_statement "FUN_00116633();" (call_expression "FUN_00116633()" identifier (argument_list "()" ( ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void yy_flush_buffer(YY_BUFFER_STATE b)\n\n{\n  if (b != (YY_BUFFER_STATE)0x0) {\n    b->yy_n_chars = 0;\n    *b->yy_ch_buf = '\0';\n    b->yy_ch_buf[1] = '\0';\n    b->yy_buf_pos = b->yy_ch_buf;\n    b->yy_at_bol = 1;\n    b->yy_buffer_status = 0;\n    if ((yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top]))\n    {\n      yy_load_buffer_state();\n    }\n  }\n  return;\n}\n\n" (function_definition "void yy_flush_buffer(YY_BUFFER_STATE b)\n\n{\n  if (b != (YY_BUFFER_STATE)0x0) {\n    b->yy_n_chars = 0;\n    *b->yy_ch_buf = '\0';\n    b->yy_ch_buf[1] = '\0';\n    b->yy_buf_pos = b->yy_ch_buf;\n    b->yy_at_bol = 1;\n    b->yy_buffer_status = 0;\n    if ((yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top]))\n    {\n      yy_load_buffer_state();\n    }\n  }\n  return;\n}" primitive_type (function_declarator "yy_flush_buffer(YY_BUFFER_STATE b)" identifier (parameter_list "(YY_BUFFER_STATE b)" ( (parameter_declaration "YY_BUFFER_STATE b" type_identifier identifier) ))) (compound_statement "{\n  if (b != (YY_BUFFER_STATE)0x0) {\n    b->yy_n_chars = 0;\n    *b->yy_ch_buf = '\0';\n    b->yy_ch_buf[1] = '\0';\n    b->yy_buf_pos = b->yy_ch_buf;\n    b->yy_at_bol = 1;\n    b->yy_buffer_status = 0;\n    if ((yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top]))\n    {\n      yy_load_buffer_state();\n    }\n  }\n  return;\n}" { (if_statement "if (b != (YY_BUFFER_STATE)0x0) {\n    b->yy_n_chars = 0;\n    *b->yy_ch_buf = '\0';\n    b->yy_ch_buf[1] = '\0';\n    b->yy_buf_pos = b->yy_ch_buf;\n    b->yy_at_bol = 1;\n    b->yy_buffer_status = 0;\n    if ((yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top]))\n    {\n      yy_load_buffer_state();\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_n_chars = 0;\n    *b->yy_ch_buf = '\0';\n    b->yy_ch_buf[1] = '\0';\n    b->yy_buf_pos = b->yy_ch_buf;\n    b->yy_at_bol = 1;\n    b->yy_buffer_status = 0;\n    if ((yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top]))\n    {\n      yy_load_buffer_state();\n    }\n  }" { (expression_statement "b->yy_n_chars = 0;" (assignment_expression "b->yy_n_chars = 0" (field_expression "b->yy_n_chars" identifier -> field_identifier) = number_literal) ;) (expression_statement "*b->yy_ch_buf = '\0';" (assignment_expression "*b->yy_ch_buf = '\0'" (pointer_expression "*b->yy_ch_buf" * (field_expression "b->yy_ch_buf" identifier -> field_identifier)) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "b->yy_ch_buf[1] = '\0';" (assignment_expression "b->yy_ch_buf[1] = '\0'" (subscript_expression "b->yy_ch_buf[1]" (field_expression "b->yy_ch_buf" identifier -> field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "b->yy_buf_pos = b->yy_ch_buf;" (assignment_expression "b->yy_buf_pos = b->yy_ch_buf" (field_expression "b->yy_buf_pos" identifier -> field_identifier) = (field_expression "b->yy_ch_buf" identifier -> field_identifier)) ;) (expression_statement "b->yy_at_bol = 1;" (assignment_expression "b->yy_at_bol = 1" (field_expression "b->yy_at_bol" identifier -> field_identifier) = number_literal) ;) (expression_statement "b->yy_buffer_status = 0;" (assignment_expression "b->yy_buffer_status = 0" (field_expression "b->yy_buffer_status" identifier -> field_identifier) = number_literal) ;) (if_statement "if ((yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top]))\n    {\n      yy_load_buffer_state();\n    }" if (parenthesized_expression "((yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top]))" ( (binary_expression "(yy_buffer_stack != (YY_BUFFER_STATE *)0x0) && (b == yy_buffer_stack[yy_buffer_stack_top])" (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)) )) && (parenthesized_expression "(b == yy_buffer_stack[yy_buffer_stack_top])" ( (binary_expression "b == yy_buffer_stack[yy_buffer_stack_top]" identifier == (subscript_expression "yy_buffer_stack[yy_buffer_stack_top]" identifier [ identifier ])) ))) )) (compound_statement "{\n      yy_load_buffer_state();\n    }" { (expression_statement "yy_load_buffer_state();" (call_expression "yy_load_buffer_state()" identifier (argument_list "()" ( ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00116846(long param_1)\n\n{\n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00116846(long param_1)\n\n{\n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00116846(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined1 **)(param_1 + 8) = 0;" (assignment_expression "**(undefined1 **)(param_1 + 8) = 0" (pointer_expression "**(undefined1 **)(param_1 + 8)" * (pointer_expression "*(undefined1 **)(param_1 + 8)" * (cast_expression "(undefined1 **)(param_1 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0" (pointer_expression "*(undefined1 *)(*(long *)(param_1 + 8) + 1)" * (cast_expression "(undefined1 *)(*(long *)(param_1 + 8) + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 1)" ( (binary_expression "*(long *)(param_1 + 8) + 1" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8)" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x38) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }" if (parenthesized_expression "((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8)))" ( (binary_expression "(DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))" (parenthesized_expression "(DAT_00170778 != 0)" ( (binary_expression "DAT_00170778 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))" ( (binary_expression "param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8)" identifier == (pointer_expression "*(long *)(DAT_00170778 + DAT_00170788 * 8)" * (cast_expression "(long *)(DAT_00170778 + DAT_00170788 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00170778 + DAT_00170788 * 8)" ( (binary_expression "DAT_00170778 + DAT_00170788 * 8" identifier + (binary_expression "DAT_00170788 * 8" identifier * number_literal)) ))))) ))) )) (compound_statement "{\n      FUN_00116633();\n    }" { (expression_statement "FUN_00116633();" (call_expression "FUN_00116633()" identifier (argument_list "()" ( ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (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 (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00116846(long param_1)\n\n{\n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00116846(long param_1)" (identifier "FUN_00116846") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }\n  return;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x1c) = 0;\n    **(undefined1 **)(param_1 + 8) = 0;\n    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;\n    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x28) = 1;\n    *(undefined4 *)(param_1 + 0x38) = 0;\n    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "**(undefined1 **)(param_1 + 8) = 0;" (assignment_expression "**(undefined1 **)(param_1 + 8) = 0" (pointer_expression "**(undefined1 **)(param_1 + 8)" (* "*") (pointer_expression "*(undefined1 **)(param_1 + 8)" (* "*") (cast_expression "(undefined1 **)(param_1 + 8)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0" (pointer_expression "*(undefined1 *)(*(long *)(param_1 + 8) + 1)" (* "*") (cast_expression "(undefined1 *)(*(long *)(param_1 + 8) + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 1)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 1" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8)" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x38) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x38)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {\n      FUN_00116633();\n    }" (if "if") (parenthesized_expression "((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8)))" (( "(") (binary_expression "(DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))" (parenthesized_expression "(DAT_00170778 != 0)" (( "(") (binary_expression "DAT_00170778 != 0" (identifier "DAT_00170778") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))" (( "(") (binary_expression "param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8)" (identifier "param_1") (== "==") (pointer_expression "*(long *)(DAT_00170778 + DAT_00170788 * 8)" (* "*") (cast_expression "(long *)(DAT_00170778 + DAT_00170788 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00170778 + DAT_00170788 * 8)" (( "(") (binary_expression "DAT_00170778 + DAT_00170788 * 8" (identifier "DAT_00170778") (+ "+") (binary_expression "DAT_00170788 * 8" (identifier "DAT_00170788") (* "*") (number_literal "8"))) () ")"))))) () ")"))) () ")")) (compound_statement "{\n      FUN_00116633();\n    }" ({ "{") (expression_statement "FUN_00116633();" (call_expression "FUN_00116633()" (identifier "FUN_00116633") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 var_1)

{
  if (var_1 != (type_1)0x0) {
    var_1->yy_n_chars = 0;
    *var_1->yy_ch_buf = '\0';
    var_1->yy_ch_buf[1] = '\0';
    var_1->yy_buf_pos = var_1->yy_ch_buf;
    var_1->yy_at_bol = 1;
    var_1->yy_buffer_status = 0;
    if ((var_2 != (type_1 *)0x0) && (var_1 == var_2[yy_buffer_stack_top]))
    {
      var_3();
    }
  }
  return;
}


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

void MASKED(long param_1)

{
  if (param_1 != 0) {
    *(undefined4 *)(param_1 + 0x1c) = 0;
    **(undefined1 **)(param_1 + 8) = 0;
    *(undefined1 *)(*(long *)(param_1 + 8) + 1) = 0;
    *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)(param_1 + 8);
    *(undefined4 *)(param_1 + 0x28) = 1;
    *(undefined4 *)(param_1 + 0x38) = 0;
    if ((DAT_00170778 != 0) && (param_1 == *(long *)(DAT_00170778 + DAT_00170788 * 8))) {
      FUN_00116633();
    }
  }
  return;
}

