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

int yylex(YYSTYPE *lvalp,void *closurev)

{
}



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

int FUN_0033fdd0(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_0033ec20();
    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];
    *(undefined4 *)(param_2 + 0x30) = puVar3[5];
    iVar4 = 0;
    switch(*puVar3) {
    case 0:
      FUN_0033ffa0(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_005f24c8;
      }
      else if (iVar4 == 3) {
        puVar3 = &DAT_005f24c0;
      }
      else {
        if (iVar4 != 0) goto code_r0x0033fe96;
        puVar3 = &DAT_005f24d0;
      }
      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);
      if (iVar4 == 0) {
code_r0x0033fe96:
        *(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_r0x0033fe2d;
    case 5:
      uVar5 = FUN_0033e1f0(puVar3);
      *param_1 = uVar5;
      return 0x115;
    default:
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../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_r0x0033fe2d:
    iVar4 = puVar3[3];
  }
  return iVar4;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x2aa227
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 0x0033fe40
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 0x0033ec20
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 0x0033ff79
MOV EDX,dword ptr [EAX]
MOV ECX,dword ptr [EBX + EDX*0x4 + 0xffeaea54]
ADD ECX,EBX
JMP ECX
PUSH EAX
LEA EAX,[EBX + 0xffeaebc4]
PUSH EAX
LEA EAX,[EBX + 0xffeadbec]
PUSH 0xa30
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0033fdd0(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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../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_r0x0033fe2d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}\n\n" comment (function_definition "int FUN_0033fdd0(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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../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_r0x0033fe2d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_0033fdd0(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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../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_r0x0033fe2d:\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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../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_r0x0033fe2d:\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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)FUN_0033ec20();" (assignment_expression "puVar3 = (undefined4 *)FUN_0033ec20()" identifier = (cast_expression "(undefined4 *)FUN_0033ec20()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0033ec20()" 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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" switch (parenthesized_expression "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )) (compound_statement "{\n    case 0:\n      FUN_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" { (case_statement "case 0:\n      FUN_0033ffa0(param_2,"invalid character");\n      return 0;" case number_literal : (expression_statement "FUN_0033ffa0(param_2,"invalid character");" (call_expression "FUN_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_005f24c8;\n      }" { (expression_statement "puVar3 = &DAT_005f24c8;" (assignment_expression "puVar3 = &DAT_005f24c8" identifier = (pointer_expression "&DAT_005f24c8" & identifier)) ;) }) (else_clause "else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" else (if_statement "if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_005f24c0;\n      }" { (expression_statement "puVar3 = &DAT_005f24c0;" (assignment_expression "puVar3 = &DAT_005f24c0" identifier = (pointer_expression "&DAT_005f24c0" & identifier)) ;) }) (else_clause "else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" else (compound_statement "{\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" { (if_statement "if (iVar4 != 0) goto code_r0x0033fe96;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto code_r0x0033fe96;" goto statement_identifier ;)) (expression_statement "puVar3 = &DAT_005f24d0;" (assignment_expression "puVar3 = &DAT_005f24d0" identifier = (pointer_expression "&DAT_005f24d0" & identifier)) ;) }))))) (expression_statement "iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);" (assignment_expression "iVar4 = FUN_0033f490(puVar3,uVar1,uVar2)" identifier = (call_expression "FUN_0033f490(puVar3,uVar1,uVar2)" identifier (argument_list "(puVar3,uVar1,uVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe96:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" { (labeled_statement "code_r0x0033fe96:\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_r0x0033fe2d;" case number_literal : (goto_statement "goto code_r0x0033fe2d;" goto statement_identifier ;)) (case_statement "case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;" case number_literal : (expression_statement "uVar5 = FUN_0033e1f0(puVar3);" (assignment_expression "uVar5 = FUN_0033e1f0(puVar3)" identifier = (call_expression "FUN_0033e1f0(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_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);" default : comment (expression_statement "FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);" (call_expression "FUN_002446e0("../../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_r0x0033fe2d:\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_r0x0033fe2d:\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_r0x0033fe2d:\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}\n\n" comment (function_definition "int yylex(YYSTYPE *lvalp,void *closurev)\n\n{\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}" { })))
(translation_unit "int FUN_0033fdd0(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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../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_r0x0033fe2d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_0033fdd0(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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../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_r0x0033fe2d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_0033fdd0(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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../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_r0x0033fe2d:\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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../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_r0x0033fe2d:\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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)FUN_0033ec20();" (assignment_expression "puVar3 = (undefined4 *)FUN_0033ec20()" identifier = (cast_expression "(undefined4 *)FUN_0033ec20()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0033ec20()" 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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" switch (parenthesized_expression "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )) (compound_statement "{\n    case 0:\n      FUN_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" { (case_statement "case 0:\n      FUN_0033ffa0(param_2,"invalid character");\n      return 0;" case number_literal : (expression_statement "FUN_0033ffa0(param_2,"invalid character");" (call_expression "FUN_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_005f24c8;\n      }" { (expression_statement "puVar3 = &DAT_005f24c8;" (assignment_expression "puVar3 = &DAT_005f24c8" identifier = (pointer_expression "&DAT_005f24c8" & identifier)) ;) }) (else_clause "else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" else (if_statement "if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_005f24c0;\n      }" { (expression_statement "puVar3 = &DAT_005f24c0;" (assignment_expression "puVar3 = &DAT_005f24c0" identifier = (pointer_expression "&DAT_005f24c0" & identifier)) ;) }) (else_clause "else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" else (compound_statement "{\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" { (if_statement "if (iVar4 != 0) goto code_r0x0033fe96;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto code_r0x0033fe96;" goto statement_identifier ;)) (expression_statement "puVar3 = &DAT_005f24d0;" (assignment_expression "puVar3 = &DAT_005f24d0" identifier = (pointer_expression "&DAT_005f24d0" & identifier)) ;) }))))) (expression_statement "iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);" (assignment_expression "iVar4 = FUN_0033f490(puVar3,uVar1,uVar2)" identifier = (call_expression "FUN_0033f490(puVar3,uVar1,uVar2)" identifier (argument_list "(puVar3,uVar1,uVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe96:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" { (labeled_statement "code_r0x0033fe96:\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_r0x0033fe2d;" case number_literal : (goto_statement "goto code_r0x0033fe2d;" goto statement_identifier ;)) (case_statement "case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;" case number_literal : (expression_statement "uVar5 = FUN_0033e1f0(puVar3);" (assignment_expression "uVar5 = FUN_0033e1f0(puVar3)" identifier = (call_expression "FUN_0033e1f0(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_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);" default : (expression_statement "FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);" (call_expression "FUN_002446e0("../../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_r0x0033fe2d:\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_r0x0033fe2d:\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_r0x0033fe2d:\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_0033fdd0(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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../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_r0x0033fe2d:\n    iVar4 = puVar3[3];\n  }\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_0033fdd0(undefined8 *param_1,int param_2)" (identifier "FUN_0033fdd0") (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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../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_r0x0033fe2d:\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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../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_r0x0033fe2d:\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_0033ec20();\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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)FUN_0033ec20();" (assignment_expression "puVar3 = (undefined4 *)FUN_0033ec20()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_0033ec20()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0033ec20()" (identifier "FUN_0033ec20") (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_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" (switch "switch") (parenthesized_expression "(*puVar3)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")) (compound_statement "{\n    case 0:\n      FUN_0033ffa0(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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe2d;\n    case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;\n    default:\n                    \n      FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);\n    }" ({ "{") (case_statement "case 0:\n      FUN_0033ffa0(param_2,"invalid character");\n      return 0;" (case "case") (number_literal "0") (: ":") (expression_statement "FUN_0033ffa0(param_2,"invalid character");" (call_expression "FUN_0033ffa0(param_2,"invalid character")" (identifier "FUN_0033ffa0") (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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }\n      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);\n      if (iVar4 == 0) {\ncode_r0x0033fe96:\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_005f24c8;\n      }\n      else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" (if "if") (parenthesized_expression "(iVar4 == 2)" (( "(") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        puVar3 = &DAT_005f24c8;\n      }" ({ "{") (expression_statement "puVar3 = &DAT_005f24c8;" (assignment_expression "puVar3 = &DAT_005f24c8" (identifier "puVar3") (= "=") (pointer_expression "&DAT_005f24c8" (& "&") (identifier "DAT_005f24c8"))) (; ";")) (} "}")) (else_clause "else if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" (else "else") (if_statement "if (iVar4 == 3) {\n        puVar3 = &DAT_005f24c0;\n      }\n      else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" (if "if") (parenthesized_expression "(iVar4 == 3)" (( "(") (binary_expression "iVar4 == 3" (identifier "iVar4") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        puVar3 = &DAT_005f24c0;\n      }" ({ "{") (expression_statement "puVar3 = &DAT_005f24c0;" (assignment_expression "puVar3 = &DAT_005f24c0" (identifier "puVar3") (= "=") (pointer_expression "&DAT_005f24c0" (& "&") (identifier "DAT_005f24c0"))) (; ";")) (} "}")) (else_clause "else {\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" (else "else") (compound_statement "{\n        if (iVar4 != 0) goto code_r0x0033fe96;\n        puVar3 = &DAT_005f24d0;\n      }" ({ "{") (if_statement "if (iVar4 != 0) goto code_r0x0033fe96;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto code_r0x0033fe96;" (goto "goto") (statement_identifier "code_r0x0033fe96") (; ";"))) (expression_statement "puVar3 = &DAT_005f24d0;" (assignment_expression "puVar3 = &DAT_005f24d0" (identifier "puVar3") (= "=") (pointer_expression "&DAT_005f24d0" (& "&") (identifier "DAT_005f24d0"))) (; ";")) (} "}")))))) (expression_statement "iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);" (assignment_expression "iVar4 = FUN_0033f490(puVar3,uVar1,uVar2)" (identifier "iVar4") (= "=") (call_expression "FUN_0033f490(puVar3,uVar1,uVar2)" (identifier "FUN_0033f490") (argument_list "(puVar3,uVar1,uVar2)" (( "(") (identifier "puVar3") (, ",") (identifier "uVar1") (, ",") (identifier "uVar2") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\ncode_r0x0033fe96:\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_r0x0033fe96:\n        *(undefined4 *)param_1 = uVar1;\n        *(undefined4 *)((int)param_1 + 4) = uVar2;\n        return 0x113;\n      }" ({ "{") (labeled_statement "code_r0x0033fe96:\n        *(undefined4 *)param_1 = uVar1;" (statement_identifier "code_r0x0033fe96") (: ":") (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_r0x0033fe2d;" (case "case") (number_literal "4") (: ":") (goto_statement "goto code_r0x0033fe2d;" (goto "goto") (statement_identifier "code_r0x0033fe2d") (; ";"))) (case_statement "case 5:\n      uVar5 = FUN_0033e1f0(puVar3);\n      *param_1 = uVar5;\n      return 0x115;" (case "case") (number_literal "5") (: ":") (expression_statement "uVar5 = FUN_0033e1f0(puVar3);" (assignment_expression "uVar5 = FUN_0033e1f0(puVar3)" (identifier "uVar5") (= "=") (call_expression "FUN_0033e1f0(puVar3)" (identifier "FUN_0033e1f0") (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_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);" (default "default") (: ":") (expression_statement "FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3);" (call_expression "FUN_002446e0("../../gold/script.cc",0xa30,"yylex",puVar3)" (identifier "FUN_002446e0") (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_r0x0033fe2d:\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_r0x0033fe2d:\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_r0x0033fe2d:\n    iVar4 = puVar3[3];" (statement_identifier "code_r0x0033fe2d") (: ":") (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)

{
}


(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_0033ec20();
    *(undefined4 *)(param_2 + 0x2c) = puVar3[4];
    *(undefined4 *)(param_2 + 0x30) = puVar3[5];
    iVar4 = 0;
    switch(*puVar3) {
    case 0:
      FUN_0033ffa0(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_005f24c8;
      }
      else if (iVar4 == 3) {
        puVar3 = &DAT_005f24c0;
      }
      else {
        if (iVar4 != 0) goto code_r0x0033fe96;
        puVar3 = &DAT_005f24d0;
      }
      iVar4 = FUN_0033f490(puVar3,uVar1,uVar2);
      if (iVar4 == 0) {
code_r0x0033fe96:
        *(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_r0x0033fe2d;
    case 5:
      uVar5 = FUN_0033e1f0(puVar3);
      *param_1 = uVar5;
      return 0x115;
    default:
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../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_r0x0033fe2d:
    iVar4 = puVar3[3];
  }
  return iVar4;
}

