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

int yylex(YYSTYPE *lvalp,void *closurev)

{
  size_t len;
  char *pcVar1;
  Token *this;
  Keyword_to_parsecode *this_00;
  int iVar2;
  uint64_t uVar3;
  Lex *in_stack_ffffffd4;
  
  iVar2 = *(int *)((int)closurev + 0x28);
  if (*(int *)(iVar2 + 0x10) == 0) {
    this = gold::Lex::next_token(in_stack_ffffffd4);
    *(int *)((int)closurev + 0x2c) = this->lineno_;
    *(int *)((int)closurev + 0x30) = this->charpos_;
    iVar2 = 0;
    switch(this->classification_) {
    case TOKEN_INVALID:
      yyerror(closurev,"invalid character");
      return 0;
    case TOKEN_EOF:
      break;
    case TOKEN_STRING:
      len = this->value_length_;
      pcVar1 = this->value_;
      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);
      if (iVar2 == 2) {
        this_00 = &gold::version_script_keywords;
      }
      else if (iVar2 == 3) {
        this_00 = &gold::dynamic_list_keywords;
      }
      else {
        if (iVar2 != 0) goto LAB_0016a9e6;
        this_00 = &gold::script_keywords;
      }
      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);
      if (iVar2 == 0) {
LAB_0016a9e6:
        (lvalp->string).value = pcVar1;
        (lvalp->string).length = len;
        return 0x113;
      }
      break;
    case TOKEN_QUOTED_STRING:
      pcVar1 = this->value_;
      (lvalp->string).length = this->value_length_;
      (lvalp->string).value = pcVar1;
      return 0x114;
    case TOKEN_OPERATOR:
      goto _L535;
    case TOKEN_INTEGER:
      uVar3 = gold::Token::integer_value(this);
      lvalp->integer = uVar3;
      return 0x115;
    default:
                    /* WARNING: Subroutine does not return */
      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");
    }
  }
  else {
    *(undefined4 *)(iVar2 + 0x14) = 4;
    this = (Token *)(iVar2 + 0x14);
    *(undefined4 *)(iVar2 + 0x18) = 0;
    *(undefined4 *)(iVar2 + 0x1c) = 0;
    *(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10);
    *(undefined4 *)(iVar2 + 0x24) = 0;
    *(undefined4 *)(iVar2 + 0x28) = 0;
    *(undefined4 *)(iVar2 + 0x10) = 0;
    *(undefined4 *)((int)closurev + 0x2c) = 0;
    *(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28);
_L535:
    iVar2 = this->opcode_;
  }
  return iVar2;
}



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

int FUN_0016a920(undefined8 *param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined8 uVar5;
  
  iVar4 = *(int *)(param_2 + 0x28);
  if (*(int *)(iVar4 + 0x10) == 0) {
    puVar3 = (undefined4 *)FUN_00169770();
    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];
    *(undefined4 *)(param_2 + 0x30) = puVar3[5];
    iVar4 = 0;
    switch(*puVar3) {
    case 0:
      FUN_0016aaf0(param_2,"invalid character");
      return 0;
    case 1:
      break;
    case 2:
      uVar2 = puVar3[2];
      uVar1 = puVar3[1];
      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);
      if (iVar4 == 2) {
        puVar3 = &DAT_00396248;
      }
      else if (iVar4 == 3) {
        puVar3 = &DAT_00396240;
      }
      else {
        if (iVar4 != 0) goto code_r0x0016a9e6;
        puVar3 = &DAT_00396250;
      }
      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);
      if (iVar4 == 0) {
code_r0x0016a9e6:
        *(undefined4 *)param_1 = uVar1;
        *(undefined4 *)((int)param_1 + 4) = uVar2;
        return 0x113;
      }
      break;
    case 3:
      uVar2 = puVar3[1];
      *(undefined4 *)((int)param_1 + 4) = puVar3[2];
      *(undefined4 *)param_1 = uVar2;
      return 0x114;
    case 4:
      goto code_r0x0016a97d;
    case 5:
      uVar5 = FUN_00168d40(puVar3);
      *param_1 = uVar5;
      return 0x115;
    default:
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);
    }
  }
  else {
    *(undefined4 *)(iVar4 + 0x14) = 4;
    puVar3 = (undefined4 *)(iVar4 + 0x14);
    *(undefined4 *)(iVar4 + 0x18) = 0;
    *(undefined4 *)(iVar4 + 0x1c) = 0;
    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);
    *(undefined4 *)(iVar4 + 0x24) = 0;
    *(undefined4 *)(iVar4 + 0x28) = 0;
    *(undefined4 *)(iVar4 + 0x10) = 0;
    *(undefined4 *)(param_2 + 0x2c) = 0;
    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);
code_r0x0016a97d:
    iVar4 = puVar3[3];
  }
  return iVar4;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2246d7
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [EDI + 0x28]
MOV ESI,dword ptr [EDX + 0x10]
TEST ESI,ESI
JZ 0x0016a990
MOV dword ptr [EDX + 0x14],0x4
LEA EAX,[EDX + 0x14]
MOV dword ptr [EDX + 0x18],0x0
MOV dword ptr [EDX + 0x1c],0x0
MOV dword ptr [EDX + 0x20],ESI
MOV dword ptr [EDX + 0x24],0x0
MOV dword ptr [EDX + 0x28],0x0
MOV dword ptr [EDX + 0x10],0x0
MOV dword ptr [EDI + 0x2c],0x0
MOV EDX,dword ptr [EDX + 0x28]
MOV dword ptr [EDI + 0x30],EDX
MOV ESI,dword ptr [EAX + 0xc]
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,EDX
CALL 0x00169770
MOV EDX,dword ptr [EAX + 0x10]
CMP dword ptr [EAX],0x5
MOV dword ptr [EDI + 0x2c],EDX
MOV EDX,dword ptr [EAX + 0x14]
MOV dword ptr [EDI + 0x30],EDX
JA 0x0016aac9
MOV EDX,dword ptr [EAX]
MOV ECX,dword ptr [EBX + EDX*0x4 + 0xfff09f8c]
ADD ECX,EBX
JMP ECX
PUSH EAX
LEA EAX,[EBX + 0xfff0a0fc]
PUSH EAX
LEA EAX,[EBX + 0xfff0910c]
PUSH 0xa30
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0016a920(undefined8 *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined8 uVar5;\n  \n  iVar4 = *(int *)(param_2 + 0x28);\n  if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}\n\n" comment (function_definition "int FUN_0016a920(undefined8 *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined8 uVar5;\n  \n  iVar4 = *(int *)(param_2 + 0x28);\n  if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_0016a920(undefined8 *param_1,int param_2)" identifier (parameter_list "(undefined8 *param_1,int param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined8 uVar5;\n  \n  iVar4 = *(int *)(param_2 + 0x28);\n  if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "iVar4 = *(int *)(param_2 + 0x28);" (assignment_expression "iVar4 = *(int *)(param_2 + 0x28)" identifier = (pointer_expression "*(int *)(param_2 + 0x28)" * (cast_expression "(int *)(param_2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" if (parenthesized_expression "(*(int *)(iVar4 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x10) == 0" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)FUN_00169770();" (assignment_expression "puVar3 = (undefined4 *)FUN_00169770()" identifier = (cast_expression "(undefined4 *)FUN_00169770()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00169770()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x2c) = puVar3[4];" (assignment_expression "*(undefined4 *)(param_2 + 0x2c) = puVar3[4]" (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_2 + 0x30) = puVar3[5];" (assignment_expression "*(undefined4 *)(param_2 + 0x30) = puVar3[5]" (pointer_expression "*(undefined4 *)(param_2 + 0x30)" * (cast_expression "(undefined4 *)(param_2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) = (subscript_expression "puVar3[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (switch_statement "switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" switch (parenthesized_expression "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )) (compound_statement "{\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" { (case_statement "case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;" case number_literal : (expression_statement "FUN_0016aaf0(param_2,"invalid character");" (call_expression "FUN_0016aaf0(param_2,"invalid character")" identifier (argument_list "(param_2,"invalid character")" ( identifier , (string_literal ""invalid character"" " string_content ") ))) ;) (return_statement "return 0;" return number_literal ;)) (case_statement "case 1:\n      break;" case number_literal : (break_statement "break;" break ;)) (case_statement "case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;" case number_literal : (expression_statement "uVar2 = puVar3[2];" (assignment_expression "uVar2 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "uVar1 = puVar3[1];" (assignment_expression "uVar1 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4)" identifier = (pointer_expression "*(int *)(*(int *)(param_2 + 0x38) + -4)" * (cast_expression "(int *)(*(int *)(param_2 + 0x38) + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x38) + -4)" ( (binary_expression "*(int *)(param_2 + 0x38) + -4" (pointer_expression "*(int *)(param_2 + 0x38)" * (cast_expression "(int *)(param_2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_00396248;\n      }" { (expression_statement "puVar3 = &DAT_00396248;" (assignment_expression "puVar3 = &DAT_00396248" identifier = (pointer_expression "&DAT_00396248" & identifier)) ;) }) (else_clause "else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" else (if_statement "if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_00396240;\n      }" { (expression_statement "puVar3 = &DAT_00396240;" (assignment_expression "puVar3 = &DAT_00396240" identifier = (pointer_expression "&DAT_00396240" & identifier)) ;) }) (else_clause "else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" else (compound_statement "{\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" { (if_statement "if (iVar4 != 0) goto code_r0x0016a9e6;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto code_r0x0016a9e6;" goto statement_identifier ;)) (expression_statement "puVar3 = &DAT_00396250;" (assignment_expression "puVar3 = &DAT_00396250" identifier = (pointer_expression "&DAT_00396250" & identifier)) ;) }))))) (expression_statement "iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);" (assignment_expression "iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2)" identifier = (call_expression "FUN_00169fe0(puVar3,uVar1,uVar2)" identifier (argument_list "(puVar3,uVar1,uVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" { (labeled_statement "code_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;" statement_identifier : (expression_statement "*(undefined4 *)param_1 = uVar1;" (assignment_expression "*(undefined4 *)param_1 = uVar1" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;)) (expression_statement "*(undefined4 *)((int)param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return 0x113;" return number_literal ;) })) (break_statement "break;" break ;)) (case_statement "case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;" case number_literal : (expression_statement "uVar2 = puVar3[1];" (assignment_expression "uVar2 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)((int)param_1 + 4) = puVar3[2];" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = puVar3[2]" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)param_1 = uVar2;" (assignment_expression "*(undefined4 *)param_1 = uVar2" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return 0x114;" return number_literal ;)) (case_statement "case 4:\n      goto code_r0x0016a97d;" case number_literal : (goto_statement "goto code_r0x0016a97d;" goto statement_identifier ;)) (case_statement "case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;" case number_literal : (expression_statement "uVar5 = FUN_00168d40(puVar3);" (assignment_expression "uVar5 = FUN_00168d40(puVar3)" identifier = (call_expression "FUN_00168d40(puVar3)" identifier (argument_list "(puVar3)" ( identifier )))) ;) (expression_statement "*param_1 = uVar5;" (assignment_expression "*param_1 = uVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return 0x115;" return number_literal ;)) (case_statement "default:\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);" default : comment (expression_statement "FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);" (call_expression "FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3)" identifier (argument_list "("../../gold/script.cc",0xa30,"yylex",puVar3)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""yylex"" " string_content ") , identifier ))) ;)) })) }) (else_clause "else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" else (compound_statement "{\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" { (expression_statement "*(undefined4 *)(iVar4 + 0x14) = 4;" (assignment_expression "*(undefined4 *)(iVar4 + 0x14) = 4" (pointer_expression "*(undefined4 *)(iVar4 + 0x14)" * (cast_expression "(undefined4 *)(iVar4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)(iVar4 + 0x14);" (assignment_expression "puVar3 = (undefined4 *)(iVar4 + 0x14)" identifier = (cast_expression "(undefined4 *)(iVar4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" * (cast_expression "(undefined4 *)(iVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);" (assignment_expression "*(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10)" (pointer_expression "*(int *)(iVar4 + 0x20)" * (cast_expression "(int *)(iVar4 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) = (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x24) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" * (cast_expression "(undefined4 *)(iVar4 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x28) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" * (cast_expression "(undefined4 *)(iVar4 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);" (assignment_expression "*(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28)" (pointer_expression "*(undefined4 *)(param_2 + 0x30)" * (cast_expression "(undefined4 *)(param_2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" * (cast_expression "(undefined4 *)(iVar4 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) ))))) ;) (labeled_statement "code_r0x0016a97d:\n    iVar4 = puVar3[3];" statement_identifier : (expression_statement "iVar4 = puVar3[3];" (assignment_expression "iVar4 = puVar3[3]" identifier = (subscript_expression "puVar3[3]" identifier [ number_literal ])) ;)) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint yylex(YYSTYPE *lvalp,void *closurev)\n\n{\n  size_t len;\n  char *pcVar1;\n  Token *this;\n  Keyword_to_parsecode *this_00;\n  int iVar2;\n  uint64_t uVar3;\n  Lex *in_stack_ffffffd4;\n  \n  iVar2 = *(int *)((int)closurev + 0x28);\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    this = gold::Lex::next_token(in_stack_ffffffd4);\n    *(int *)((int)closurev + 0x2c) = this->lineno_;\n    *(int *)((int)closurev + 0x30) = this->charpos_;\n    iVar2 = 0;\n    switch(this->classification_) {\n    case TOKEN_INVALID:\n      yyerror(closurev,"invalid character");\n      return 0;\n    case TOKEN_EOF:\n      break;\n    case TOKEN_STRING:\n      len = this->value_length_;\n      pcVar1 = this->value_;\n      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);\n      if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }\n      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);\n      if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }\n      break;\n    case TOKEN_QUOTED_STRING:\n      pcVar1 = this->value_;\n      (lvalp->string).length = this->value_length_;\n      (lvalp->string).value = pcVar1;\n      return 0x114;\n    case TOKEN_OPERATOR:\n      goto _L535;\n    case TOKEN_INTEGER:\n      uVar3 = gold::Token::integer_value(this);\n      lvalp->integer = uVar3;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");\n    }\n  }\n  else {\n    *(undefined4 *)(iVar2 + 0x14) = 4;\n    this = (Token *)(iVar2 + 0x14);\n    *(undefined4 *)(iVar2 + 0x18) = 0;\n    *(undefined4 *)(iVar2 + 0x1c) = 0;\n    *(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10);\n    *(undefined4 *)(iVar2 + 0x24) = 0;\n    *(undefined4 *)(iVar2 + 0x28) = 0;\n    *(undefined4 *)(iVar2 + 0x10) = 0;\n    *(undefined4 *)((int)closurev + 0x2c) = 0;\n    *(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28);\n_L535:\n    iVar2 = this->opcode_;\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int yylex(YYSTYPE *lvalp,void *closurev)\n\n{\n  size_t len;\n  char *pcVar1;\n  Token *this;\n  Keyword_to_parsecode *this_00;\n  int iVar2;\n  uint64_t uVar3;\n  Lex *in_stack_ffffffd4;\n  \n  iVar2 = *(int *)((int)closurev + 0x28);\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    this = gold::Lex::next_token(in_stack_ffffffd4);\n    *(int *)((int)closurev + 0x2c) = this->lineno_;\n    *(int *)((int)closurev + 0x30) = this->charpos_;\n    iVar2 = 0;\n    switch(this->classification_) {\n    case TOKEN_INVALID:\n      yyerror(closurev,"invalid character");\n      return 0;\n    case TOKEN_EOF:\n      break;\n    case TOKEN_STRING:\n      len = this->value_length_;\n      pcVar1 = this->value_;\n      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);\n      if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }\n      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);\n      if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }\n      break;\n    case TOKEN_QUOTED_STRING:\n      pcVar1 = this->value_;\n      (lvalp->string).length = this->value_length_;\n      (lvalp->string).value = pcVar1;\n      return 0x114;\n    case TOKEN_OPERATOR:\n      goto _L535;\n    case TOKEN_INTEGER:\n      uVar3 = gold::Token::integer_value(this);\n      lvalp->integer = uVar3;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");\n    }\n  }\n  else {\n    *(undefined4 *)(iVar2 + 0x14) = 4;\n    this = (Token *)(iVar2 + 0x14);\n    *(undefined4 *)(iVar2 + 0x18) = 0;\n    *(undefined4 *)(iVar2 + 0x1c) = 0;\n    *(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10);\n    *(undefined4 *)(iVar2 + 0x24) = 0;\n    *(undefined4 *)(iVar2 + 0x28) = 0;\n    *(undefined4 *)(iVar2 + 0x10) = 0;\n    *(undefined4 *)((int)closurev + 0x2c) = 0;\n    *(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28);\n_L535:\n    iVar2 = this->opcode_;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "yylex(YYSTYPE *lvalp,void *closurev)" identifier (parameter_list "(YYSTYPE *lvalp,void *closurev)" ( (parameter_declaration "YYSTYPE *lvalp" type_identifier (pointer_declarator "*lvalp" * identifier)) , (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) ))) (compound_statement "{\n  size_t len;\n  char *pcVar1;\n  Token *this;\n  Keyword_to_parsecode *this_00;\n  int iVar2;\n  uint64_t uVar3;\n  Lex *in_stack_ffffffd4;\n  \n  iVar2 = *(int *)((int)closurev + 0x28);\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    this = gold::Lex::next_token(in_stack_ffffffd4);\n    *(int *)((int)closurev + 0x2c) = this->lineno_;\n    *(int *)((int)closurev + 0x30) = this->charpos_;\n    iVar2 = 0;\n    switch(this->classification_) {\n    case TOKEN_INVALID:\n      yyerror(closurev,"invalid character");\n      return 0;\n    case TOKEN_EOF:\n      break;\n    case TOKEN_STRING:\n      len = this->value_length_;\n      pcVar1 = this->value_;\n      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);\n      if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }\n      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);\n      if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }\n      break;\n    case TOKEN_QUOTED_STRING:\n      pcVar1 = this->value_;\n      (lvalp->string).length = this->value_length_;\n      (lvalp->string).value = pcVar1;\n      return 0x114;\n    case TOKEN_OPERATOR:\n      goto _L535;\n    case TOKEN_INTEGER:\n      uVar3 = gold::Token::integer_value(this);\n      lvalp->integer = uVar3;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");\n    }\n  }\n  else {\n    *(undefined4 *)(iVar2 + 0x14) = 4;\n    this = (Token *)(iVar2 + 0x14);\n    *(undefined4 *)(iVar2 + 0x18) = 0;\n    *(undefined4 *)(iVar2 + 0x1c) = 0;\n    *(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10);\n    *(undefined4 *)(iVar2 + 0x24) = 0;\n    *(undefined4 *)(iVar2 + 0x28) = 0;\n    *(undefined4 *)(iVar2 + 0x10) = 0;\n    *(undefined4 *)((int)closurev + 0x2c) = 0;\n    *(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28);\n_L535:\n    iVar2 = this->opcode_;\n  }\n  return iVar2;\n}" { (declaration "size_t len;" primitive_type identifier ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "Token *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "Keyword_to_parsecode *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint64_t uVar3;" primitive_type identifier ;) (declaration "Lex *in_stack_ffffffd4;" type_identifier (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (expression_statement "iVar2 = *(int *)((int)closurev + 0x28);" (assignment_expression "iVar2 = *(int *)((int)closurev + 0x28)" identifier = (pointer_expression "*(int *)((int)closurev + 0x28)" * (cast_expression "(int *)((int)closurev + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x28)" ( (binary_expression "(int)closurev + 0x28" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar2 + 0x10) == 0) {\n    this = gold::Lex::next_token(in_stack_ffffffd4);\n    *(int *)((int)closurev + 0x2c) = this->lineno_;\n    *(int *)((int)closurev + 0x30) = this->charpos_;\n    iVar2 = 0;\n    switch(this->classification_) {\n    case TOKEN_INVALID:\n      yyerror(closurev,"invalid character");\n      return 0;\n    case TOKEN_EOF:\n      break;\n    case TOKEN_STRING:\n      len = this->value_length_;\n      pcVar1 = this->value_;\n      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);\n      if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }\n      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);\n      if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }\n      break;\n    case TOKEN_QUOTED_STRING:\n      pcVar1 = this->value_;\n      (lvalp->string).length = this->value_length_;\n      (lvalp->string).value = pcVar1;\n      return 0x114;\n    case TOKEN_OPERATOR:\n      goto _L535;\n    case TOKEN_INTEGER:\n      uVar3 = gold::Token::integer_value(this);\n      lvalp->integer = uVar3;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");\n    }\n  }\n  else {\n    *(undefined4 *)(iVar2 + 0x14) = 4;\n    this = (Token *)(iVar2 + 0x14);\n    *(undefined4 *)(iVar2 + 0x18) = 0;\n    *(undefined4 *)(iVar2 + 0x1c) = 0;\n    *(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10);\n    *(undefined4 *)(iVar2 + 0x24) = 0;\n    *(undefined4 *)(iVar2 + 0x28) = 0;\n    *(undefined4 *)(iVar2 + 0x10) = 0;\n    *(undefined4 *)((int)closurev + 0x2c) = 0;\n    *(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28);\n_L535:\n    iVar2 = this->opcode_;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x10) == 0" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    this = gold::Lex::next_token(in_stack_ffffffd4);\n    *(int *)((int)closurev + 0x2c) = this->lineno_;\n    *(int *)((int)closurev + 0x30) = this->charpos_;\n    iVar2 = 0;\n    switch(this->classification_) {\n    case TOKEN_INVALID:\n      yyerror(closurev,"invalid character");\n      return 0;\n    case TOKEN_EOF:\n      break;\n    case TOKEN_STRING:\n      len = this->value_length_;\n      pcVar1 = this->value_;\n      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);\n      if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }\n      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);\n      if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }\n      break;\n    case TOKEN_QUOTED_STRING:\n      pcVar1 = this->value_;\n      (lvalp->string).length = this->value_length_;\n      (lvalp->string).value = pcVar1;\n      return 0x114;\n    case TOKEN_OPERATOR:\n      goto _L535;\n    case TOKEN_INTEGER:\n      uVar3 = gold::Token::integer_value(this);\n      lvalp->integer = uVar3;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");\n    }\n  }" { (ERROR "this = gold::" (assignment_expression "this = gold" identifier = identifier) : :) (labeled_statement "Lex::next_token(in_stack_ffffffd4);" statement_identifier : (ERROR ":" :) (expression_statement "next_token(in_stack_ffffffd4);" (call_expression "next_token(in_stack_ffffffd4)" identifier (argument_list "(in_stack_ffffffd4)" ( identifier ))) ;)) (expression_statement "*(int *)((int)closurev + 0x2c) = this->lineno_;" (assignment_expression "*(int *)((int)closurev + 0x2c) = this->lineno_" (pointer_expression "*(int *)((int)closurev + 0x2c)" * (cast_expression "(int *)((int)closurev + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x2c)" ( (binary_expression "(int)closurev + 0x2c" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (field_expression "this->lineno_" identifier -> field_identifier)) ;) (expression_statement "*(int *)((int)closurev + 0x30) = this->charpos_;" (assignment_expression "*(int *)((int)closurev + 0x30) = this->charpos_" (pointer_expression "*(int *)((int)closurev + 0x30)" * (cast_expression "(int *)((int)closurev + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x30)" ( (binary_expression "(int)closurev + 0x30" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (field_expression "this->charpos_" identifier -> field_identifier)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (switch_statement "switch(this->classification_) {\n    case TOKEN_INVALID:\n      yyerror(closurev,"invalid character");\n      return 0;\n    case TOKEN_EOF:\n      break;\n    case TOKEN_STRING:\n      len = this->value_length_;\n      pcVar1 = this->value_;\n      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);\n      if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }\n      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);\n      if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }\n      break;\n    case TOKEN_QUOTED_STRING:\n      pcVar1 = this->value_;\n      (lvalp->string).length = this->value_length_;\n      (lvalp->string).value = pcVar1;\n      return 0x114;\n    case TOKEN_OPERATOR:\n      goto _L535;\n    case TOKEN_INTEGER:\n      uVar3 = gold::Token::integer_value(this);\n      lvalp->integer = uVar3;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");\n    }" switch (parenthesized_expression "(this->classification_)" ( (field_expression "this->classification_" identifier -> field_identifier) )) (compound_statement "{\n    case TOKEN_INVALID:\n      yyerror(closurev,"invalid character");\n      return 0;\n    case TOKEN_EOF:\n      break;\n    case TOKEN_STRING:\n      len = this->value_length_;\n      pcVar1 = this->value_;\n      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);\n      if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }\n      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);\n      if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }\n      break;\n    case TOKEN_QUOTED_STRING:\n      pcVar1 = this->value_;\n      (lvalp->string).length = this->value_length_;\n      (lvalp->string).value = pcVar1;\n      return 0x114;\n    case TOKEN_OPERATOR:\n      goto _L535;\n    case TOKEN_INTEGER:\n      uVar3 = gold::Token::integer_value(this);\n      lvalp->integer = uVar3;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");\n    }" { (case_statement "case TOKEN_INVALID:\n      yyerror(closurev,"invalid character");\n      return 0;" case identifier : (expression_statement "yyerror(closurev,"invalid character");" (call_expression "yyerror(closurev,"invalid character")" identifier (argument_list "(closurev,"invalid character")" ( identifier , (string_literal ""invalid character"" " string_content ") ))) ;) (return_statement "return 0;" return number_literal ;)) (case_statement "case TOKEN_EOF:\n      break;" case identifier : (break_statement "break;" break ;)) (case_statement "case TOKEN_STRING:\n      len = this->value_length_;\n      pcVar1 = this->value_;\n      iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);\n      if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }\n      iVar2 = gold::Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);\n      if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }\n      break;" case identifier : (expression_statement "len = this->value_length_;" (assignment_expression "len = this->value_length_" identifier = (field_expression "this->value_length_" identifier -> field_identifier)) ;) (expression_statement "pcVar1 = this->value_;" (assignment_expression "pcVar1 = this->value_" identifier = (field_expression "this->value_" identifier -> field_identifier)) ;) (expression_statement "iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4);" (assignment_expression "iVar2 = *(int *)(*(int *)((int)closurev + 0x38) + -4)" identifier = (pointer_expression "*(int *)(*(int *)((int)closurev + 0x38) + -4)" * (cast_expression "(int *)(*(int *)((int)closurev + 0x38) + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)closurev + 0x38) + -4)" ( (binary_expression "*(int *)((int)closurev + 0x38) + -4" (pointer_expression "*(int *)((int)closurev + 0x38)" * (cast_expression "(int *)((int)closurev + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x38)" ( (binary_expression "(int)closurev + 0x38" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar2 == 2) {\n        this_00 = &gold::version_script_keywords;\n      }\n      else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (compound_statement "{\n        this_00 = &gold::version_script_keywords;\n      }" { (ERROR "this_00 = &gold::" (assignment_expression "this_00 = &gold" identifier = (pointer_expression "&gold" & identifier)) : :) type_identifier ; }) (else_clause "else if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }" else (if_statement "if (iVar2 == 3) {\n        this_00 = &gold::dynamic_list_keywords;\n      }\n      else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }" if (parenthesized_expression "(iVar2 == 3)" ( (binary_expression "iVar2 == 3" identifier == number_literal) )) (compound_statement "{\n        this_00 = &gold::dynamic_list_keywords;\n      }" { (ERROR "this_00 = &gold::" (assignment_expression "this_00 = &gold" identifier = (pointer_expression "&gold" & identifier)) : :) type_identifier ; }) (else_clause "else {\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }" else (compound_statement "{\n        if (iVar2 != 0) goto LAB_0016a9e6;\n        this_00 = &gold::script_keywords;\n      }" { (if_statement "if (iVar2 != 0) goto LAB_0016a9e6;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0016a9e6;" goto statement_identifier ;)) (ERROR "this_00 = &gold::" (assignment_expression "this_00 = &gold" identifier = (pointer_expression "&gold" & identifier)) : :) (expression_statement "script_keywords;" identifier ;) }))))) (ERROR "iVar2 = gold::" (assignment_expression "iVar2 = gold" identifier = identifier) : :) (labeled_statement "Keyword_to_parsecode::keyword_to_parsecode(this_00,pcVar1,len);" statement_identifier : (ERROR ":" :) (expression_statement "keyword_to_parsecode(this_00,pcVar1,len);" (call_expression "keyword_to_parsecode(this_00,pcVar1,len)" identifier (argument_list "(this_00,pcVar1,len)" ( identifier , identifier , identifier ))) ;)) (if_statement "if (iVar2 == 0) {\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0016a9e6:\n        (lvalp->string).value = pcVar1;\n        (lvalp->string).length = len;\n        return 0x113;\n      }" { (labeled_statement "LAB_0016a9e6:\n        (lvalp->string).value = pcVar1;" statement_identifier : (expression_statement "(lvalp->string).value = pcVar1;" (assignment_expression "(lvalp->string).value = pcVar1" (field_expression "(lvalp->string).value" (parenthesized_expression "(lvalp->string)" ( (field_expression "lvalp->string" identifier -> field_identifier) )) . field_identifier) = identifier) ;)) (expression_statement "(lvalp->string).length = len;" (assignment_expression "(lvalp->string).length = len" (field_expression "(lvalp->string).length" (parenthesized_expression "(lvalp->string)" ( (field_expression "lvalp->string" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return 0x113;" return number_literal ;) })) (break_statement "break;" break ;)) (case_statement "case TOKEN_QUOTED_STRING:\n      pcVar1 = this->value_;\n      (lvalp->string).length = this->value_length_;\n      (lvalp->string).value = pcVar1;\n      return 0x114;" case identifier : (expression_statement "pcVar1 = this->value_;" (assignment_expression "pcVar1 = this->value_" identifier = (field_expression "this->value_" identifier -> field_identifier)) ;) (expression_statement "(lvalp->string).length = this->value_length_;" (assignment_expression "(lvalp->string).length = this->value_length_" (field_expression "(lvalp->string).length" (parenthesized_expression "(lvalp->string)" ( (field_expression "lvalp->string" identifier -> field_identifier) )) . field_identifier) = (field_expression "this->value_length_" identifier -> field_identifier)) ;) (expression_statement "(lvalp->string).value = pcVar1;" (assignment_expression "(lvalp->string).value = pcVar1" (field_expression "(lvalp->string).value" (parenthesized_expression "(lvalp->string)" ( (field_expression "lvalp->string" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return 0x114;" return number_literal ;)) (case_statement "case TOKEN_OPERATOR:\n      goto _L535;" case identifier : (goto_statement "goto _L535;" goto statement_identifier ;)) (case_statement "case TOKEN_INTEGER:\n      uVar3 = gold::Token::integer_value(this);\n      lvalp->integer = uVar3;\n      return 0x115;" case identifier : (ERROR "uVar3 = gold::" (assignment_expression "uVar3 = gold" identifier = identifier) : :) (labeled_statement "Token::integer_value(this);" statement_identifier : (ERROR ":" :) (expression_statement "integer_value(this);" (call_expression "integer_value(this)" identifier (argument_list "(this)" ( identifier ))) ;)) (expression_statement "lvalp->integer = uVar3;" (assignment_expression "lvalp->integer = uVar3" (field_expression "lvalp->integer" identifier -> field_identifier) = identifier) ;) (return_statement "return 0x115;" return number_literal ;)) (case_statement "default:\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");" default : comment (labeled_statement "gold::do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/script.cc",0xa30,"yylex");" (call_expression "do_gold_unreachable("../../gold/script.cc",0xa30,"yylex")" identifier (argument_list "("../../gold/script.cc",0xa30,"yylex")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""yylex"" " string_content ") ))) ;))) })) }) (else_clause "else {\n    *(undefined4 *)(iVar2 + 0x14) = 4;\n    this = (Token *)(iVar2 + 0x14);\n    *(undefined4 *)(iVar2 + 0x18) = 0;\n    *(undefined4 *)(iVar2 + 0x1c) = 0;\n    *(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10);\n    *(undefined4 *)(iVar2 + 0x24) = 0;\n    *(undefined4 *)(iVar2 + 0x28) = 0;\n    *(undefined4 *)(iVar2 + 0x10) = 0;\n    *(undefined4 *)((int)closurev + 0x2c) = 0;\n    *(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28);\n_L535:\n    iVar2 = this->opcode_;\n  }" else (compound_statement "{\n    *(undefined4 *)(iVar2 + 0x14) = 4;\n    this = (Token *)(iVar2 + 0x14);\n    *(undefined4 *)(iVar2 + 0x18) = 0;\n    *(undefined4 *)(iVar2 + 0x1c) = 0;\n    *(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10);\n    *(undefined4 *)(iVar2 + 0x24) = 0;\n    *(undefined4 *)(iVar2 + 0x28) = 0;\n    *(undefined4 *)(iVar2 + 0x10) = 0;\n    *(undefined4 *)((int)closurev + 0x2c) = 0;\n    *(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28);\n_L535:\n    iVar2 = this->opcode_;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 4;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 4" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this = (Token *)(iVar2 + 0x14);" (assignment_expression "this = (Token *)(iVar2 + 0x14)" identifier = (cast_expression "(Token *)(iVar2 + 0x14)" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10);" (assignment_expression "*(int *)(iVar2 + 0x20) = *(int *)(iVar2 + 0x10)" (pointer_expression "*(int *)(iVar2 + 0x20)" * (cast_expression "(int *)(iVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) = (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x24) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x24)" * (cast_expression "(undefined4 *)(iVar2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x28) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x28)" * (cast_expression "(undefined4 *)(iVar2 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)closurev + 0x2c) = 0;" (assignment_expression "*(undefined4 *)((int)closurev + 0x2c) = 0" (pointer_expression "*(undefined4 *)((int)closurev + 0x2c)" * (cast_expression "(undefined4 *)((int)closurev + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x2c)" ( (binary_expression "(int)closurev + 0x2c" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28);" (assignment_expression "*(undefined4 *)((int)closurev + 0x30) = *(undefined4 *)(iVar2 + 0x28)" (pointer_expression "*(undefined4 *)((int)closurev + 0x30)" * (cast_expression "(undefined4 *)((int)closurev + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x30)" ( (binary_expression "(int)closurev + 0x30" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x28)" * (cast_expression "(undefined4 *)(iVar2 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) ))))) ;) (labeled_statement "_L535:\n    iVar2 = this->opcode_;" statement_identifier : (expression_statement "iVar2 = this->opcode_;" (assignment_expression "iVar2 = this->opcode_" identifier = (field_expression "this->opcode_" identifier -> field_identifier)) ;)) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int FUN_0016a920(undefined8 *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined8 uVar5;\n  \n  iVar4 = *(int *)(param_2 + 0x28);\n  if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_0016a920(undefined8 *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined8 uVar5;\n  \n  iVar4 = *(int *)(param_2 + 0x28);\n  if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_0016a920(undefined8 *param_1,int param_2)" identifier (parameter_list "(undefined8 *param_1,int param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined8 uVar5;\n  \n  iVar4 = *(int *)(param_2 + 0x28);\n  if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "iVar4 = *(int *)(param_2 + 0x28);" (assignment_expression "iVar4 = *(int *)(param_2 + 0x28)" identifier = (pointer_expression "*(int *)(param_2 + 0x28)" * (cast_expression "(int *)(param_2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" if (parenthesized_expression "(*(int *)(iVar4 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x10) == 0" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)FUN_00169770();" (assignment_expression "puVar3 = (undefined4 *)FUN_00169770()" identifier = (cast_expression "(undefined4 *)FUN_00169770()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00169770()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x2c) = puVar3[4];" (assignment_expression "*(undefined4 *)(param_2 + 0x2c) = puVar3[4]" (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_2 + 0x30) = puVar3[5];" (assignment_expression "*(undefined4 *)(param_2 + 0x30) = puVar3[5]" (pointer_expression "*(undefined4 *)(param_2 + 0x30)" * (cast_expression "(undefined4 *)(param_2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) = (subscript_expression "puVar3[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (switch_statement "switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" switch (parenthesized_expression "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )) (compound_statement "{\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" { (case_statement "case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;" case number_literal : (expression_statement "FUN_0016aaf0(param_2,"invalid character");" (call_expression "FUN_0016aaf0(param_2,"invalid character")" identifier (argument_list "(param_2,"invalid character")" ( identifier , (string_literal ""invalid character"" " string_content ") ))) ;) (return_statement "return 0;" return number_literal ;)) (case_statement "case 1:\n      break;" case number_literal : (break_statement "break;" break ;)) (case_statement "case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;" case number_literal : (expression_statement "uVar2 = puVar3[2];" (assignment_expression "uVar2 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "uVar1 = puVar3[1];" (assignment_expression "uVar1 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4)" identifier = (pointer_expression "*(int *)(*(int *)(param_2 + 0x38) + -4)" * (cast_expression "(int *)(*(int *)(param_2 + 0x38) + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x38) + -4)" ( (binary_expression "*(int *)(param_2 + 0x38) + -4" (pointer_expression "*(int *)(param_2 + 0x38)" * (cast_expression "(int *)(param_2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_00396248;\n      }" { (expression_statement "puVar3 = &DAT_00396248;" (assignment_expression "puVar3 = &DAT_00396248" identifier = (pointer_expression "&DAT_00396248" & identifier)) ;) }) (else_clause "else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" else (if_statement "if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_00396240;\n      }" { (expression_statement "puVar3 = &DAT_00396240;" (assignment_expression "puVar3 = &DAT_00396240" identifier = (pointer_expression "&DAT_00396240" & identifier)) ;) }) (else_clause "else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" else (compound_statement "{\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" { (if_statement "if (iVar4 != 0) goto code_r0x0016a9e6;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto code_r0x0016a9e6;" goto statement_identifier ;)) (expression_statement "puVar3 = &DAT_00396250;" (assignment_expression "puVar3 = &DAT_00396250" identifier = (pointer_expression "&DAT_00396250" & identifier)) ;) }))))) (expression_statement "iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);" (assignment_expression "iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2)" identifier = (call_expression "FUN_00169fe0(puVar3,uVar1,uVar2)" identifier (argument_list "(puVar3,uVar1,uVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" { (labeled_statement "code_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;" statement_identifier : (expression_statement "*(undefined4 *)param_1 = uVar1;" (assignment_expression "*(undefined4 *)param_1 = uVar1" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;)) (expression_statement "*(undefined4 *)((int)param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return 0x113;" return number_literal ;) })) (break_statement "break;" break ;)) (case_statement "case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;" case number_literal : (expression_statement "uVar2 = puVar3[1];" (assignment_expression "uVar2 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)((int)param_1 + 4) = puVar3[2];" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = puVar3[2]" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)param_1 = uVar2;" (assignment_expression "*(undefined4 *)param_1 = uVar2" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return 0x114;" return number_literal ;)) (case_statement "case 4:\n      goto code_r0x0016a97d;" case number_literal : (goto_statement "goto code_r0x0016a97d;" goto statement_identifier ;)) (case_statement "case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;" case number_literal : (expression_statement "uVar5 = FUN_00168d40(puVar3);" (assignment_expression "uVar5 = FUN_00168d40(puVar3)" identifier = (call_expression "FUN_00168d40(puVar3)" identifier (argument_list "(puVar3)" ( identifier )))) ;) (expression_statement "*param_1 = uVar5;" (assignment_expression "*param_1 = uVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return 0x115;" return number_literal ;)) (case_statement "default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);" default : (expression_statement "FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);" (call_expression "FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3)" identifier (argument_list "("../../gold/script.cc",0xa30,"yylex",puVar3)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""yylex"" " string_content ") , identifier ))) ;)) })) }) (else_clause "else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" else (compound_statement "{\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" { (expression_statement "*(undefined4 *)(iVar4 + 0x14) = 4;" (assignment_expression "*(undefined4 *)(iVar4 + 0x14) = 4" (pointer_expression "*(undefined4 *)(iVar4 + 0x14)" * (cast_expression "(undefined4 *)(iVar4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)(iVar4 + 0x14);" (assignment_expression "puVar3 = (undefined4 *)(iVar4 + 0x14)" identifier = (cast_expression "(undefined4 *)(iVar4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" * (cast_expression "(undefined4 *)(iVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);" (assignment_expression "*(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10)" (pointer_expression "*(int *)(iVar4 + 0x20)" * (cast_expression "(int *)(iVar4 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) = (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x24) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" * (cast_expression "(undefined4 *)(iVar4 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x28) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" * (cast_expression "(undefined4 *)(iVar4 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);" (assignment_expression "*(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28)" (pointer_expression "*(undefined4 *)(param_2 + 0x30)" * (cast_expression "(undefined4 *)(param_2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" * (cast_expression "(undefined4 *)(iVar4 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) ))))) ;) (labeled_statement "code_r0x0016a97d:\n    iVar4 = puVar3[3];" statement_identifier : (expression_statement "iVar4 = puVar3[3];" (assignment_expression "iVar4 = puVar3[3]" identifier = (subscript_expression "puVar3[3]" identifier [ number_literal ])) ;)) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (switch_statement switch (parenthesized_expression ( (pointer_expression * IDENT) )) (compound_statement { (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;) (return_statement return LIT ;)) (case_statement case LIT : (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }))))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (return_statement return LIT ;)) (case_statement case LIT : (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;)) (case_statement default : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;)) })) }) (else_clause else (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 IDENT = (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) ;) (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) ;) (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) ;) (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) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_0016a920(undefined8 *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined8 uVar5;\n  \n  iVar4 = *(int *)(param_2 + 0x28);\n  if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_0016a920(undefined8 *param_1,int param_2)" (identifier "FUN_0016a920") (parameter_list "(undefined8 *param_1,int param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined8 uVar5;\n  \n  iVar4 = *(int *)(param_2 + 0x28);\n  if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (expression_statement "iVar4 = *(int *)(param_2 + 0x28);" (assignment_expression "iVar4 = *(int *)(param_2 + 0x28)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_2 + 0x28)" (* "*") (cast_expression "(int *)(param_2 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar4 + 0x10) == 0) {\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }\n  else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x10) == 0" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_00169770();\n    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];\n    *(undefined4 *)(param_2 + 0x30) = puVar3[5];\n    iVar4 = 0;\n    switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)FUN_00169770();" (assignment_expression "puVar3 = (undefined4 *)FUN_00169770()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_00169770()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00169770()" (identifier "FUN_00169770") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x2c) = puVar3[4];" (assignment_expression "*(undefined4 *)(param_2 + 0x2c) = puVar3[4]" (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x30) = puVar3[5];" (assignment_expression "*(undefined4 *)(param_2 + 0x30) = puVar3[5]" (pointer_expression "*(undefined4 *)(param_2 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (subscript_expression "puVar3[5]" (identifier "puVar3") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (switch_statement "switch(*puVar3) {\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" (switch "switch") (parenthesized_expression "(*puVar3)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")) (compound_statement "{\n    case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;\n    case 1:\n      break;\n    case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;\n    case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;\n    case 4:\n      goto code_r0x0016a97d;\n    case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" ({ "{") (case_statement "case 0:\n      FUN_0016aaf0(param_2,"invalid character");\n      return 0;" (case "case") (number_literal "0") (: ":") (expression_statement "FUN_0016aaf0(param_2,"invalid character");" (call_expression "FUN_0016aaf0(param_2,"invalid character")" (identifier "FUN_0016aaf0") (argument_list "(param_2,"invalid character")" (( "(") (identifier "param_2") (, ",") (string_literal ""invalid character"" (" """) (string_content "invalid character") (" """)) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";"))) (case_statement "case 1:\n      break;" (case "case") (number_literal "1") (: ":") (break_statement "break;" (break "break") (; ";"))) (case_statement "case 2:\n      uVar2 = puVar3[2];\n      uVar1 = puVar3[1];\n      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);\n      if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }\n      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }\n      break;" (case "case") (number_literal "2") (: ":") (expression_statement "uVar2 = puVar3[2];" (assignment_expression "uVar2 = puVar3[2]" (identifier "uVar2") (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar1 = puVar3[1];" (assignment_expression "uVar1 = puVar3[1]" (identifier "uVar1") (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(*(int *)(param_2 + 0x38) + -4)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 0x38) + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x38) + -4)" (( "(") (binary_expression "*(int *)(param_2 + 0x38) + -4" (pointer_expression "*(int *)(param_2 + 0x38)" (* "*") (cast_expression "(int *)(param_2 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x38)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 2) {\n        puVar3 = &DAT_00396248;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" (if "if") (parenthesized_expression "(iVar4 == 2)" (( "(") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        puVar3 = &DAT_00396248;\n      }" ({ "{") (expression_statement "puVar3 = &DAT_00396248;" (assignment_expression "puVar3 = &DAT_00396248" (identifier "puVar3") (= "=") (pointer_expression "&DAT_00396248" (& "&") (identifier "DAT_00396248"))) (; ";")) (} "}")) (else_clause "else if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" (else "else") (if_statement "if (iVar4 == 3) {\n        puVar3 = &DAT_00396240;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" (if "if") (parenthesized_expression "(iVar4 == 3)" (( "(") (binary_expression "iVar4 == 3" (identifier "iVar4") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        puVar3 = &DAT_00396240;\n      }" ({ "{") (expression_statement "puVar3 = &DAT_00396240;" (assignment_expression "puVar3 = &DAT_00396240" (identifier "puVar3") (= "=") (pointer_expression "&DAT_00396240" (& "&") (identifier "DAT_00396240"))) (; ";")) (} "}")) (else_clause "else {\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" (else "else") (compound_statement "{\n        if (iVar4 != 0) goto code_r0x0016a9e6;\n        puVar3 = &DAT_00396250;\n      }" ({ "{") (if_statement "if (iVar4 != 0) goto code_r0x0016a9e6;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto code_r0x0016a9e6;" (goto "goto") (statement_identifier "code_r0x0016a9e6") (; ";"))) (expression_statement "puVar3 = &DAT_00396250;" (assignment_expression "puVar3 = &DAT_00396250" (identifier "puVar3") (= "=") (pointer_expression "&DAT_00396250" (& "&") (identifier "DAT_00396250"))) (; ";")) (} "}")))))) (expression_statement "iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);" (assignment_expression "iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2)" (identifier "iVar4") (= "=") (call_expression "FUN_00169fe0(puVar3,uVar1,uVar2)" (identifier "FUN_00169fe0") (argument_list "(puVar3,uVar1,uVar2)" (( "(") (identifier "puVar3") (, ",") (identifier "uVar1") (, ",") (identifier "uVar2") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\ncode_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" ({ "{") (labeled_statement "code_r0x0016a9e6:\n        *(undefined4 *)param_1 = uVar1;" (statement_identifier "code_r0x0016a9e6") (: ":") (expression_statement "*(undefined4 *)param_1 = uVar1;" (assignment_expression "*(undefined4 *)param_1 = uVar1" (pointer_expression "*(undefined4 *)param_1" (* "*") (cast_expression "(undefined4 *)param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (= "=") (identifier "uVar1")) (; ";"))) (expression_statement "*(undefined4 *)((int)param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 4)" (( "(") (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return 0x113;" (return "return") (number_literal "0x113") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 3:\n      uVar2 = puVar3[1];\n      *(undefined4 *)((int)param_1 + 4) = puVar3[2];\n      *(undefined4 *)param_1 = uVar2;\n      return 0x114;" (case "case") (number_literal "3") (: ":") (expression_statement "uVar2 = puVar3[1];" (assignment_expression "uVar2 = puVar3[1]" (identifier "uVar2") (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + 4) = puVar3[2];" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = puVar3[2]" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 4)" (( "(") (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)param_1 = uVar2;" (assignment_expression "*(undefined4 *)param_1 = uVar2" (pointer_expression "*(undefined4 *)param_1" (* "*") (cast_expression "(undefined4 *)param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return 0x114;" (return "return") (number_literal "0x114") (; ";"))) (case_statement "case 4:\n      goto code_r0x0016a97d;" (case "case") (number_literal "4") (: ":") (goto_statement "goto code_r0x0016a97d;" (goto "goto") (statement_identifier "code_r0x0016a97d") (; ";"))) (case_statement "case 5:\n      uVar5 = FUN_00168d40(puVar3);\n      *param_1 = uVar5;\n      return 0x115;" (case "case") (number_literal "5") (: ":") (expression_statement "uVar5 = FUN_00168d40(puVar3);" (assignment_expression "uVar5 = FUN_00168d40(puVar3)" (identifier "uVar5") (= "=") (call_expression "FUN_00168d40(puVar3)" (identifier "FUN_00168d40") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")")))) (; ";")) (expression_statement "*param_1 = uVar5;" (assignment_expression "*param_1 = uVar5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar5")) (; ";")) (return_statement "return 0x115;" (return "return") (number_literal "0x115") (; ";"))) (case_statement "default:\n                    \n      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);" (default "default") (: ":") (expression_statement "FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);" (call_expression "FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3)" (identifier "FUN_00069d00") (argument_list "("../../gold/script.cc",0xa30,"yylex",puVar3)" (( "(") (string_literal ""../../gold/script.cc"" (" """) (string_content "../../gold/script.cc") (" """)) (, ",") (number_literal "0xa30") (, ",") (string_literal ""yylex"" (" """) (string_content "yylex") (" """)) (, ",") (identifier "puVar3") () ")"))) (; ";"))) (} "}"))) (} "}")) (else_clause "else {\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(iVar4 + 0x14) = 4;\n    puVar3 = (undefined4 *)(iVar4 + 0x14);\n    *(undefined4 *)(iVar4 + 0x18) = 0;\n    *(undefined4 *)(iVar4 + 0x1c) = 0;\n    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);\n    *(undefined4 *)(iVar4 + 0x24) = 0;\n    *(undefined4 *)(iVar4 + 0x28) = 0;\n    *(undefined4 *)(iVar4 + 0x10) = 0;\n    *(undefined4 *)(param_2 + 0x2c) = 0;\n    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);\ncode_r0x0016a97d:\n    iVar4 = puVar3[3];\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar4 + 0x14) = 4;" (assignment_expression "*(undefined4 *)(iVar4 + 0x14) = 4" (pointer_expression "*(undefined4 *)(iVar4 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "4")) (; ";")) (expression_statement "puVar3 = (undefined4 *)(iVar4 + 0x14);" (assignment_expression "puVar3 = (undefined4 *)(iVar4 + 0x14)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(iVar4 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);" (assignment_expression "*(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10)" (pointer_expression "*(int *)(iVar4 + 0x20)" (* "*") (cast_expression "(int *)(iVar4 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x20)" (( "(") (binary_expression "iVar4 + 0x20" (identifier "iVar4") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x24) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x24)" (( "(") (binary_expression "iVar4 + 0x24" (identifier "iVar4") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x28) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x28)" (( "(") (binary_expression "iVar4 + 0x28" (identifier "iVar4") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);" (assignment_expression "*(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28)" (pointer_expression "*(undefined4 *)(param_2 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x28)" (( "(") (binary_expression "iVar4 + 0x28" (identifier "iVar4") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (labeled_statement "code_r0x0016a97d:\n    iVar4 = puVar3[3];" (statement_identifier "code_r0x0016a97d") (: ":") (expression_statement "iVar4 = puVar3[3];" (assignment_expression "iVar4 = puVar3[3]" (identifier "iVar4") (= "=") (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]"))) (; ";"))) (} "}")))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))

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

int function_1(type_1 *lvalp,void *closurev)

{
  size_t len;
  char *pcVar1;
  type_2 *this;
  type_3 *this_00;
  int var_1;
  uint64_t uVar3;
  type_4 *in_stack_ffffffd4;
  
  var_1 = *(int *)((int)closurev + 0x28);
  if (*(int *)(var_1 + 0x10) == 0) {
    this = gold::Lex::var_2(in_stack_ffffffd4);
    *(int *)((int)closurev + 0x2c) = this->lineno_;
    *(int *)((int)closurev + 0x30) = this->charpos_;
    var_1 = 0;
    switch(this->classification_) {
    case TOKEN_INVALID:
      var_3(closurev,"invalid character");
      return 0;
    case TOKEN_EOF:
      break;
    case TOKEN_STRING:
      len = this->value_length_;
      pcVar1 = this->value_;
      var_1 = *(int *)(*(int *)((int)closurev + 0x38) + -4);
      if (var_1 == 2) {
        this_00 = &gold::type_5;
      }
      else if (var_1 == 3) {
        this_00 = &gold::type_6;
      }
      else {
        if (var_1 != 0) goto LAB_0016a9e6;
        this_00 = &gold::script_keywords;
      }
      var_1 = gold::Keyword_to_parsecode::var_4(this_00,pcVar1,len);
      if (var_1 == 0) {
LAB_0016a9e6:
        (lvalp->string).value = pcVar1;
        (lvalp->string).length = len;
        return 0x113;
      }
      break;
    case TOKEN_QUOTED_STRING:
      pcVar1 = this->value_;
      (lvalp->string).length = this->value_length_;
      (lvalp->string).value = pcVar1;
      return 0x114;
    case TOKEN_OPERATOR:
      goto _L535;
    case TOKEN_INTEGER:
      uVar3 = gold::Token::var_5(this);
      lvalp->integer = uVar3;
      return 0x115;
    default:
                    /* WARNING: Subroutine does not return */
      gold::var_6("../../gold/script.cc",0xa30,"yylex");
    }
  }
  else {
    *(type_7 *)(var_1 + 0x14) = 4;
    this = (type_2 *)(var_1 + 0x14);
    *(type_7 *)(var_1 + 0x18) = 0;
    *(type_7 *)(var_1 + 0x1c) = 0;
    *(int *)(var_1 + 0x20) = *(int *)(var_1 + 0x10);
    *(type_7 *)(var_1 + 0x24) = 0;
    *(type_7 *)(var_1 + 0x28) = 0;
    *(type_7 *)(var_1 + 0x10) = 0;
    *(type_7 *)((int)closurev + 0x2c) = 0;
    *(type_7 *)((int)closurev + 0x30) = *(type_7 *)(var_1 + 0x28);
_L535:
    var_1 = this->opcode_;
  }
  return var_1;
}


(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))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (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: (subscript_expression argument: (identifier) index: (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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (switch_statement condition: (parenthesized_expression (pointer_expression argument: (identifier))) body: (compound_statement (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content))))) (return_statement (number_literal))) (case_statement value: (number_literal) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (return_statement (number_literal)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (return_statement (number_literal))) (case_statement value: (number_literal) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal))) (case_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))) alternative: (else_clause (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: (identifier) right: (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))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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))) (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))) (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))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))))) (return_statement (identifier)))))

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

int MASKED(undefined8 *param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined8 uVar5;
  
  iVar4 = *(int *)(param_2 + 0x28);
  if (*(int *)(iVar4 + 0x10) == 0) {
    puVar3 = (undefined4 *)FUN_00169770();
    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];
    *(undefined4 *)(param_2 + 0x30) = puVar3[5];
    iVar4 = 0;
    switch(*puVar3) {
    case 0:
      FUN_0016aaf0(param_2,"invalid character");
      return 0;
    case 1:
      break;
    case 2:
      uVar2 = puVar3[2];
      uVar1 = puVar3[1];
      iVar4 = *(int *)(*(int *)(param_2 + 0x38) + -4);
      if (iVar4 == 2) {
        puVar3 = &DAT_00396248;
      }
      else if (iVar4 == 3) {
        puVar3 = &DAT_00396240;
      }
      else {
        if (iVar4 != 0) goto code_r0x0016a9e6;
        puVar3 = &DAT_00396250;
      }
      iVar4 = FUN_00169fe0(puVar3,uVar1,uVar2);
      if (iVar4 == 0) {
code_r0x0016a9e6:
        *(undefined4 *)param_1 = uVar1;
        *(undefined4 *)((int)param_1 + 4) = uVar2;
        return 0x113;
      }
      break;
    case 3:
      uVar2 = puVar3[1];
      *(undefined4 *)((int)param_1 + 4) = puVar3[2];
      *(undefined4 *)param_1 = uVar2;
      return 0x114;
    case 4:
      goto code_r0x0016a97d;
    case 5:
      uVar5 = FUN_00168d40(puVar3);
      *param_1 = uVar5;
      return 0x115;
    default:
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/script.cc",0xa30,"yylex",puVar3);
    }
  }
  else {
    *(undefined4 *)(iVar4 + 0x14) = 4;
    puVar3 = (undefined4 *)(iVar4 + 0x14);
    *(undefined4 *)(iVar4 + 0x18) = 0;
    *(undefined4 *)(iVar4 + 0x1c) = 0;
    *(int *)(iVar4 + 0x20) = *(int *)(iVar4 + 0x10);
    *(undefined4 *)(iVar4 + 0x24) = 0;
    *(undefined4 *)(iVar4 + 0x28) = 0;
    *(undefined4 *)(iVar4 + 0x10) = 0;
    *(undefined4 *)(param_2 + 0x2c) = 0;
    *(undefined4 *)(param_2 + 0x30) = *(undefined4 *)(iVar4 + 0x28);
code_r0x0016a97d:
    iVar4 = puVar3[3];
  }
  return iVar4;
}

