
void restore(int *pos)

{
  curs = *pos;
  if (curs == 0) {
    return;
  }
  tok.type = token_stack[(long)curs + -1].type;
  tok._4_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x4;
  tok.token = token_stack[(long)curs + -1].token;
  tok.line = token_stack[(long)curs + -1].line;
  tok._20_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x14;
  debugtoken(&tok,"restored stack");
  return;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_00109267(int *param_1)

{
  long lVar1;
  
  DAT_00123380 = *param_1;
  if (DAT_00123380 == 0) {
    return;
  }
  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;
  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);
  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);
  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);
  FUN_00108ece(&DAT_001232e0,"restored stack");
  return;
}


MOV EAX,dword ptr [RDI]
MOV dword ptr [0x00123380],EAX
TEST EAX,EAX
JNZ 0x00109274
RET
SUB RSP,0x8
CDQE
LEA RAX,[RAX + RAX*0x2]
SHL RAX,0x3
ADD RAX,qword ptr [0x00123300]
MOVDQU XMM0,xmmword ptr [RAX + -0x18]
MOVUPS xmmword ptr [0x001232e0],XMM0
MOV RAX,qword ptr [RAX + -0x8]
MOV qword ptr [0x001232f0],RAX
LEA RSI,[0x11ab85]
LEA RDI,[0x1232e0]
MOV EAX,0x0
CALL 0x00108ece
ADD RSP,0x8
RET
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_00109267(int *param_1)\n\n{\n  long lVar1;\n  \n  DAT_00123380 = *param_1;\n  if (DAT_00123380 == 0) {\n    return;\n  }\n  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;\n  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);\n  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);\n  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);\n  FUN_00108ece(&DAT_001232e0,"restored stack");\n  return;\n}\n\n" comment (function_definition "void FUN_00109267(int *param_1)\n\n{\n  long lVar1;\n  \n  DAT_00123380 = *param_1;\n  if (DAT_00123380 == 0) {\n    return;\n  }\n  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;\n  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);\n  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);\n  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);\n  FUN_00108ece(&DAT_001232e0,"restored stack");\n  return;\n}" primitive_type (function_declarator "FUN_00109267(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  DAT_00123380 = *param_1;\n  if (DAT_00123380 == 0) {\n    return;\n  }\n  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;\n  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);\n  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);\n  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);\n  FUN_00108ece(&DAT_001232e0,"restored stack");\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "DAT_00123380 = *param_1;" (assignment_expression "DAT_00123380 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (DAT_00123380 == 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_00123380 == 0)" ( (binary_expression "DAT_00123380 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;" (assignment_expression "lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300" identifier = (binary_expression "(long)DAT_00123380 * 0x18 + DAT_00123300" (binary_expression "(long)DAT_00123380 * 0x18" (cast_expression "(long)DAT_00123380" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) + identifier)) ;) (expression_statement "_DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);" (assignment_expression "_DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18)" identifier = (pointer_expression "*(undefined8 *)(lVar1 + -0x18)" * (cast_expression "(undefined8 *)(lVar1 + -0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);" (assignment_expression "DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10)" identifier = (pointer_expression "*(undefined8 *)(lVar1 + -0x10)" * (cast_expression "(undefined8 *)(lVar1 + -0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x10)" ( (binary_expression "lVar1 + -0x10" identifier + number_literal) ))))) ;) (expression_statement "_DAT_001232f0 = *(undefined8 *)(lVar1 + -8);" (assignment_expression "_DAT_001232f0 = *(undefined8 *)(lVar1 + -8)" identifier = (pointer_expression "*(undefined8 *)(lVar1 + -8)" * (cast_expression "(undefined8 *)(lVar1 + -8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -8)" ( (binary_expression "lVar1 + -8" identifier + number_literal) ))))) ;) (expression_statement "FUN_00108ece(&DAT_001232e0,"restored stack");" (call_expression "FUN_00108ece(&DAT_001232e0,"restored stack")" identifier (argument_list "(&DAT_001232e0,"restored stack")" ( (pointer_expression "&DAT_001232e0" & identifier) , (string_literal ""restored stack"" " string_content ") ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void restore(int *pos)\n\n{\n  curs = *pos;\n  if (curs == 0) {\n    return;\n  }\n  tok.type = token_stack[(long)curs + -1].type;\n  tok._4_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x4;\n  tok.token = token_stack[(long)curs + -1].token;\n  tok.line = token_stack[(long)curs + -1].line;\n  tok._20_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x14;\n  debugtoken(&tok,"restored stack");\n  return;\n}\n\n" (function_definition "void restore(int *pos)\n\n{\n  curs = *pos;\n  if (curs == 0) {\n    return;\n  }\n  tok.type = token_stack[(long)curs + -1].type;\n  tok._4_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x4;\n  tok.token = token_stack[(long)curs + -1].token;\n  tok.line = token_stack[(long)curs + -1].line;\n  tok._20_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x14;\n  debugtoken(&tok,"restored stack");\n  return;\n}" primitive_type (function_declarator "restore(int *pos)" identifier (parameter_list "(int *pos)" ( (parameter_declaration "int *pos" primitive_type (pointer_declarator "*pos" * identifier)) ))) (compound_statement "{\n  curs = *pos;\n  if (curs == 0) {\n    return;\n  }\n  tok.type = token_stack[(long)curs + -1].type;\n  tok._4_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x4;\n  tok.token = token_stack[(long)curs + -1].token;\n  tok.line = token_stack[(long)curs + -1].line;\n  tok._20_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x14;\n  debugtoken(&tok,"restored stack");\n  return;\n}" { (expression_statement "curs = *pos;" (assignment_expression "curs = *pos" identifier = (pointer_expression "*pos" * identifier)) ;) (if_statement "if (curs == 0) {\n    return;\n  }" if (parenthesized_expression "(curs == 0)" ( (binary_expression "curs == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "tok.type = token_stack[(long)curs + -1].type;" (assignment_expression "tok.type = token_stack[(long)curs + -1].type" (field_expression "tok.type" identifier . field_identifier) = (field_expression "token_stack[(long)curs + -1].type" (subscript_expression "token_stack[(long)curs + -1]" identifier [ (binary_expression "(long)curs + -1" (cast_expression "(long)curs" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ]) . field_identifier)) ;) (expression_statement "tok._4_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x4;" (assignment_expression "tok._4_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x4" (field_expression "tok._4_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)&token_stack[(long)curs + -1].field_0x4" * (cast_expression "(undefined4 *)&token_stack[(long)curs + -1].field_0x4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&token_stack[(long)curs + -1].field_0x4" & (field_expression "token_stack[(long)curs + -1].field_0x4" (subscript_expression "token_stack[(long)curs + -1]" identifier [ (binary_expression "(long)curs + -1" (cast_expression "(long)curs" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ]) . field_identifier))))) ;) (expression_statement "tok.token = token_stack[(long)curs + -1].token;" (assignment_expression "tok.token = token_stack[(long)curs + -1].token" (field_expression "tok.token" identifier . field_identifier) = (field_expression "token_stack[(long)curs + -1].token" (subscript_expression "token_stack[(long)curs + -1]" identifier [ (binary_expression "(long)curs + -1" (cast_expression "(long)curs" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ]) . field_identifier)) ;) (expression_statement "tok.line = token_stack[(long)curs + -1].line;" (assignment_expression "tok.line = token_stack[(long)curs + -1].line" (field_expression "tok.line" identifier . field_identifier) = (field_expression "token_stack[(long)curs + -1].line" (subscript_expression "token_stack[(long)curs + -1]" identifier [ (binary_expression "(long)curs + -1" (cast_expression "(long)curs" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ]) . field_identifier)) ;) (expression_statement "tok._20_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x14;" (assignment_expression "tok._20_4_ = *(undefined4 *)&token_stack[(long)curs + -1].field_0x14" (field_expression "tok._20_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)&token_stack[(long)curs + -1].field_0x14" * (cast_expression "(undefined4 *)&token_stack[(long)curs + -1].field_0x14" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&token_stack[(long)curs + -1].field_0x14" & (field_expression "token_stack[(long)curs + -1].field_0x14" (subscript_expression "token_stack[(long)curs + -1]" identifier [ (binary_expression "(long)curs + -1" (cast_expression "(long)curs" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ]) . field_identifier))))) ;) (expression_statement "debugtoken(&tok,"restored stack");" (call_expression "debugtoken(&tok,"restored stack")" identifier (argument_list "(&tok,"restored stack")" ( (pointer_expression "&tok" & identifier) , (string_literal ""restored stack"" " string_content ") ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00109267(int *param_1)\n\n{\n  long lVar1;\n  \n  DAT_00123380 = *param_1;\n  if (DAT_00123380 == 0) {\n    return;\n  }\n  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;\n  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);\n  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);\n  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);\n  FUN_00108ece(&DAT_001232e0,"restored stack");\n  return;\n}\n\n" (function_definition "void FUN_00109267(int *param_1)\n\n{\n  long lVar1;\n  \n  DAT_00123380 = *param_1;\n  if (DAT_00123380 == 0) {\n    return;\n  }\n  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;\n  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);\n  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);\n  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);\n  FUN_00108ece(&DAT_001232e0,"restored stack");\n  return;\n}" primitive_type (function_declarator "FUN_00109267(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  DAT_00123380 = *param_1;\n  if (DAT_00123380 == 0) {\n    return;\n  }\n  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;\n  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);\n  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);\n  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);\n  FUN_00108ece(&DAT_001232e0,"restored stack");\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "DAT_00123380 = *param_1;" (assignment_expression "DAT_00123380 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (DAT_00123380 == 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_00123380 == 0)" ( (binary_expression "DAT_00123380 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;" (assignment_expression "lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300" identifier = (binary_expression "(long)DAT_00123380 * 0x18 + DAT_00123300" (binary_expression "(long)DAT_00123380 * 0x18" (cast_expression "(long)DAT_00123380" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) + identifier)) ;) (expression_statement "_DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);" (assignment_expression "_DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18)" identifier = (pointer_expression "*(undefined8 *)(lVar1 + -0x18)" * (cast_expression "(undefined8 *)(lVar1 + -0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);" (assignment_expression "DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10)" identifier = (pointer_expression "*(undefined8 *)(lVar1 + -0x10)" * (cast_expression "(undefined8 *)(lVar1 + -0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x10)" ( (binary_expression "lVar1 + -0x10" identifier + number_literal) ))))) ;) (expression_statement "_DAT_001232f0 = *(undefined8 *)(lVar1 + -8);" (assignment_expression "_DAT_001232f0 = *(undefined8 *)(lVar1 + -8)" identifier = (pointer_expression "*(undefined8 *)(lVar1 + -8)" * (cast_expression "(undefined8 *)(lVar1 + -8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -8)" ( (binary_expression "lVar1 + -8" identifier + number_literal) ))))) ;) (expression_statement "FUN_00108ece(&DAT_001232e0,"restored stack");" (call_expression "FUN_00108ece(&DAT_001232e0,"restored stack")" identifier (argument_list "(&DAT_001232e0,"restored stack")" ( (pointer_expression "&DAT_001232e0" & identifier) , (string_literal ""restored stack"" " string_content ") ))) ;) (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 ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (string_literal " string_content ") ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00109267(int *param_1)\n\n{\n  long lVar1;\n  \n  DAT_00123380 = *param_1;\n  if (DAT_00123380 == 0) {\n    return;\n  }\n  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;\n  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);\n  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);\n  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);\n  FUN_00108ece(&DAT_001232e0,"restored stack");\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00109267(int *param_1)" (identifier "FUN_00109267") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  DAT_00123380 = *param_1;\n  if (DAT_00123380 == 0) {\n    return;\n  }\n  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;\n  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);\n  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);\n  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);\n  FUN_00108ece(&DAT_001232e0,"restored stack");\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "DAT_00123380 = *param_1;" (assignment_expression "DAT_00123380 = *param_1" (identifier "DAT_00123380") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (DAT_00123380 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_00123380 == 0)" (( "(") (binary_expression "DAT_00123380 == 0" (identifier "DAT_00123380") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;" (assignment_expression "lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300" (identifier "lVar1") (= "=") (binary_expression "(long)DAT_00123380 * 0x18 + DAT_00123300" (binary_expression "(long)DAT_00123380 * 0x18" (cast_expression "(long)DAT_00123380" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "DAT_00123380")) (* "*") (number_literal "0x18")) (+ "+") (identifier "DAT_00123300"))) (; ";")) (expression_statement "_DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);" (assignment_expression "_DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18)" (identifier "_DAT_001232e0") (= "=") (pointer_expression "*(undefined8 *)(lVar1 + -0x18)" (* "*") (cast_expression "(undefined8 *)(lVar1 + -0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + -0x18)" (( "(") (binary_expression "lVar1 + -0x18" (identifier "lVar1") (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (expression_statement "DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);" (assignment_expression "DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10)" (identifier "DAT_001232e8") (= "=") (pointer_expression "*(undefined8 *)(lVar1 + -0x10)" (* "*") (cast_expression "(undefined8 *)(lVar1 + -0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + -0x10)" (( "(") (binary_expression "lVar1 + -0x10" (identifier "lVar1") (+ "+") (number_literal "-0x10")) () ")"))))) (; ";")) (expression_statement "_DAT_001232f0 = *(undefined8 *)(lVar1 + -8);" (assignment_expression "_DAT_001232f0 = *(undefined8 *)(lVar1 + -8)" (identifier "_DAT_001232f0") (= "=") (pointer_expression "*(undefined8 *)(lVar1 + -8)" (* "*") (cast_expression "(undefined8 *)(lVar1 + -8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + -8)" (( "(") (binary_expression "lVar1 + -8" (identifier "lVar1") (+ "+") (number_literal "-8")) () ")"))))) (; ";")) (expression_statement "FUN_00108ece(&DAT_001232e0,"restored stack");" (call_expression "FUN_00108ece(&DAT_001232e0,"restored stack")" (identifier "FUN_00108ece") (argument_list "(&DAT_001232e0,"restored stack")" (( "(") (pointer_expression "&DAT_001232e0" (& "&") (identifier "DAT_001232e0")) (, ",") (string_literal ""restored stack"" (" """) (string_content "restored stack") (" """)) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(int *pos)

{
  var_1 = *pos;
  if (var_1 == 0) {
    return;
  }
  tok.type = token_stack[(long)var_1 + -1].type;
  tok._4_4_ = *(type_1 *)&token_stack[(long)var_1 + -1].field_0x4;
  tok.token = token_stack[(long)var_1 + -1].token;
  tok.line = token_stack[(long)var_1 + -1].line;
  tok._20_4_ = *(type_1 *)&token_stack[(long)var_1 + -1].field_0x14;
  var_2(&tok,"restored stack");
  return;
}


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

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(int *param_1)

{
  long lVar1;
  
  DAT_00123380 = *param_1;
  if (DAT_00123380 == 0) {
    return;
  }
  lVar1 = (long)DAT_00123380 * 0x18 + DAT_00123300;
  _DAT_001232e0 = *(undefined8 *)(lVar1 + -0x18);
  DAT_001232e8 = *(undefined8 *)(lVar1 + -0x10);
  _DAT_001232f0 = *(undefined8 *)(lVar1 + -8);
  FUN_00108ece(&DAT_001232e0,"restored stack");
  return;
}

