
uint script_phdr_string_to_type(void *closurev,char *name,size_t namelen)

{
  size_t sVar1;
  int iVar2;
  char *message;
  undefined4 *puVar3;
  int iVar4;
  undefined4 *puVar5;
  
  sVar1 = 7;
  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);
  iVar4 = 0;
  puVar3 = puVar5;
  while( true ) {
    if (sVar1 == namelen) {
      iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);
      if (iVar2 == 0) {
        return puVar5[iVar4 * 3 + 2];
      }
    }
    iVar4 = iVar4 + 1;
    if (iVar4 == 0xb) break;
    sVar1 = puVar3[4];
    puVar3 = puVar3 + 3;
  }
  message = (char *)(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4b34);
  yyerror(closurev,message);
  return 0;
}



undefined4 script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 *puVar5;
  
  iVar1 = 7;
  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);
  iVar4 = 0;
  puVar3 = puVar5;
  while( true ) {
    if (iVar1 == param_3) {
      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);
      if (iVar1 == 0) {
        return puVar5[iVar4 * 3 + 2];
      }
    }
    iVar4 = iVar4 + 1;
    if (iVar4 == 0xb) break;
    iVar1 = puVar3[4];
    puVar3 = puVar3 + 3;
  }
  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);
  yyerror(param_1,uVar2);
  return 0;
}


lui gp,0x22
addiu gp,gp,-0x3dcc
addu gp,gp,t9
addiu sp,sp,-0x38
li v0,0x7
sw s4,0x28(sp)
sw gp,0x10(sp)
lw s4,-0x7fd8(gp)
sw s6,0x30(sp)
or s6,a0,zero
sw s5,0x2c(sp)
or s5,a1,zero
addiu s4,s4,-0x77c4
sw s3,0x24(sp)
sw s2,0x20(sp)
li s3,0xb
sw s1,0x1c(sp)
or s2,a2,zero
sw s0,0x18(sp)
or s1,zero,zero
sw ra,0x34(sp)
b 0x0021e008
_or s0,s4,zero
addiu s1,s1,0x1
beq s1,s3,0x0021e064
_addiu s0,s0,0xc
lw v0,0x4(s0)
bne v0,s2,0x0021dff8
_lw t9,-0x3b30(gp)
or a2,v0,zero
lw a1,0x0(s0)
jalr t9
_or a0,s5,zero
bne v0,zero,0x0021dff8
_lw gp,0x10(sp)
sll v0,s1,0x1
lw ra,0x34(sp)
lw s6,0x30(sp)
addu s1,v0,s1
lw s5,0x2c(sp)
lw s3,0x24(sp)
sll s1,s1,0x2
lw s2,0x20(sp)
lw s0,0x18(sp)
addu s4,s4,s1
lw s1,0x1c(sp)
lw v0,0x8(s4)
lw s4,0x28(sp)
jr ra
_addiu sp,sp,0x38
lw a0,-0x7f64(gp)
lw t9,-0x39b8(gp)
jalr t9
_addiu a0,a0,-0x4b34
or a0,s6,zero
lw gp,0x10(sp)
lw t9,-0x6c0c(gp)
bal 0x0021d884
_or a1,v0,zero
or v0,zero,zero
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "undefined4 script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  iVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);\n  yyerror(param_1,uVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  iVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);\n  yyerror(param_1,uVar2);\n  return 0;\n}" type_identifier (function_declarator "script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  iVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);\n  yyerror(param_1,uVar2);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "iVar1 = 7;" (assignment_expression "iVar1 = 7" identifier = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);" (assignment_expression "puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x77c4" identifier + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) (while_statement "while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }" { (if_statement "if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }" if (parenthesized_expression "(iVar1 == param_3)" ( (binary_expression "iVar1 == param_3" identifier == identifier) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1)" identifier = (call_expression "(*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1)" (parenthesized_expression "(*(code *)PTR_strncmp_004366a0)" ( (pointer_expression "*(code *)PTR_strncmp_004366a0" * (cast_expression "(code *)PTR_strncmp_004366a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,*puVar3,iVar1)" ( identifier , (pointer_expression "*puVar3" * identifier) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return puVar5[iVar4 * 3 + 2];\n      }" { (return_statement "return puVar5[iVar4 * 3 + 2];" return (subscript_expression "puVar5[iVar4 * 3 + 2]" identifier [ (binary_expression "iVar4 * 3 + 2" (binary_expression "iVar4 * 3" identifier * number_literal) + number_literal) ]) ;) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 == 0xb) break;" if (parenthesized_expression "(iVar4 == 0xb)" ( (binary_expression "iVar4 == 0xb" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = puVar3[4];" (assignment_expression "iVar1 = puVar3[4]" identifier = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = puVar3 + 3;" (assignment_expression "puVar3 = puVar3 + 3" identifier = (binary_expression "puVar3 + 3" identifier + number_literal)) ;) })) (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34)" identifier = (call_expression "(*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0043226c + -0x4b34)" ( (binary_expression "PTR_DAT_0043226c + -0x4b34" identifier + number_literal) )))) ;) (expression_statement "yyerror(param_1,uVar2);" (call_expression "yyerror(param_1,uVar2)" identifier (argument_list "(param_1,uVar2)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "uint script_phdr_string_to_type(void *closurev,char *name,size_t namelen)\n\n{\n  size_t sVar1;\n  int iVar2;\n  char *message;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  sVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (sVar1 == namelen) {\n      iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);\n      if (iVar2 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    sVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  message = (char *)(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4b34);\n  yyerror(closurev,message);\n  return 0;\n}\n\n" (function_definition "uint script_phdr_string_to_type(void *closurev,char *name,size_t namelen)\n\n{\n  size_t sVar1;\n  int iVar2;\n  char *message;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  sVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (sVar1 == namelen) {\n      iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);\n      if (iVar2 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    sVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  message = (char *)(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4b34);\n  yyerror(closurev,message);\n  return 0;\n}" type_identifier (function_declarator "script_phdr_string_to_type(void *closurev,char *name,size_t namelen)" identifier (parameter_list "(void *closurev,char *name,size_t namelen)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t namelen" primitive_type identifier) ))) (compound_statement "{\n  size_t sVar1;\n  int iVar2;\n  char *message;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  sVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (sVar1 == namelen) {\n      iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);\n      if (iVar2 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    sVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  message = (char *)(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4b34);\n  yyerror(closurev,message);\n  return 0;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *message;" primitive_type (pointer_declarator "*message" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "sVar1 = 7;" (assignment_expression "sVar1 = 7" identifier = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);" (assignment_expression "puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x77c4" identifier + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) (while_statement "while( true ) {\n    if (sVar1 == namelen) {\n      iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);\n      if (iVar2 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    sVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (sVar1 == namelen) {\n      iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);\n      if (iVar2 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    sVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }" { (if_statement "if (sVar1 == namelen) {\n      iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);\n      if (iVar2 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }" if (parenthesized_expression "(sVar1 == namelen)" ( (binary_expression "sVar1 == namelen" identifier == identifier) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);\n      if (iVar2 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1)" identifier = (call_expression "(*(code *)PTR_strncmp_004366a0)(name,*puVar3,sVar1)" (parenthesized_expression "(*(code *)PTR_strncmp_004366a0)" ( (pointer_expression "*(code *)PTR_strncmp_004366a0" * (cast_expression "(code *)PTR_strncmp_004366a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(name,*puVar3,sVar1)" ( identifier , (pointer_expression "*puVar3" * identifier) , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return puVar5[iVar4 * 3 + 2];\n      }" { (return_statement "return puVar5[iVar4 * 3 + 2];" return (subscript_expression "puVar5[iVar4 * 3 + 2]" identifier [ (binary_expression "iVar4 * 3 + 2" (binary_expression "iVar4 * 3" identifier * number_literal) + number_literal) ]) ;) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 == 0xb) break;" if (parenthesized_expression "(iVar4 == 0xb)" ( (binary_expression "iVar4 == 0xb" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "sVar1 = puVar3[4];" (assignment_expression "sVar1 = puVar3[4]" identifier = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = puVar3 + 3;" (assignment_expression "puVar3 = puVar3 + 3" identifier = (binary_expression "puVar3 + 3" identifier + number_literal)) ;) })) (expression_statement "message = (char *)(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4b34);" (assignment_expression "message = (char *)(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4b34)" identifier = (cast_expression "(char *)(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4b34)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4b34)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__0043226c + -0x4b34)" ( (binary_expression "PTR_s__0043226c + -0x4b34" identifier + number_literal) ))))) ;) (expression_statement "yyerror(closurev,message);" (call_expression "yyerror(closurev,message)" identifier (argument_list "(closurev,message)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  iVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);\n  yyerror(param_1,uVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  iVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);\n  yyerror(param_1,uVar2);\n  return 0;\n}" type_identifier (function_declarator "script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  iVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);\n  yyerror(param_1,uVar2);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "iVar1 = 7;" (assignment_expression "iVar1 = 7" identifier = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);" (assignment_expression "puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x77c4" identifier + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) (while_statement "while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }" { (if_statement "if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }" if (parenthesized_expression "(iVar1 == param_3)" ( (binary_expression "iVar1 == param_3" identifier == identifier) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1)" identifier = (call_expression "(*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1)" (parenthesized_expression "(*(code *)PTR_strncmp_004366a0)" ( (pointer_expression "*(code *)PTR_strncmp_004366a0" * (cast_expression "(code *)PTR_strncmp_004366a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,*puVar3,iVar1)" ( identifier , (pointer_expression "*puVar3" * identifier) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return puVar5[iVar4 * 3 + 2];\n      }" { (return_statement "return puVar5[iVar4 * 3 + 2];" return (subscript_expression "puVar5[iVar4 * 3 + 2]" identifier [ (binary_expression "iVar4 * 3 + 2" (binary_expression "iVar4 * 3" identifier * number_literal) + number_literal) ]) ;) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 == 0xb) break;" if (parenthesized_expression "(iVar4 == 0xb)" ( (binary_expression "iVar4 == 0xb" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = puVar3[4];" (assignment_expression "iVar1 = puVar3[4]" identifier = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = puVar3 + 3;" (assignment_expression "puVar3 = puVar3 + 3" identifier = (binary_expression "puVar3 + 3" identifier + number_literal)) ;) })) (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34)" identifier = (call_expression "(*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0043226c + -0x4b34)" ( (binary_expression "PTR_DAT_0043226c + -0x4b34" identifier + number_literal) )))) ;) (expression_statement "yyerror(param_1,uVar2);" (call_expression "yyerror(param_1,uVar2)" identifier (argument_list "(param_1,uVar2)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  iVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);\n  yyerror(param_1,uVar2);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "script_phdr_string_to_type(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "script_phdr_string_to_type") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  iVar1 = 7;\n  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);\n  iVar4 = 0;\n  puVar3 = puVar5;\n  while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);\n  yyerror(param_1,uVar2);\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (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 "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "iVar1 = 7;" (assignment_expression "iVar1 = 7" (identifier "iVar1") (= "=") (number_literal "7")) (; ";")) (expression_statement "puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);" (assignment_expression "puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x77c4)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x77c4" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (number_literal "-0x77c4")) () ")")))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" (identifier "puVar3") (= "=") (identifier "puVar5")) (; ";")) (while_statement "while( true ) {\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }\n    iVar4 = iVar4 + 1;\n    if (iVar4 == 0xb) break;\n    iVar1 = puVar3[4];\n    puVar3 = puVar3 + 3;\n  }" ({ "{") (if_statement "if (iVar1 == param_3) {\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }" (if "if") (parenthesized_expression "(iVar1 == param_3)" (( "(") (binary_expression "iVar1 == param_3" (identifier "iVar1") (== "==") (identifier "param_3")) () ")")) (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);\n      if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1)" (parenthesized_expression "(*(code *)PTR_strncmp_004366a0)" (( "(") (pointer_expression "*(code *)PTR_strncmp_004366a0" (* "*") (cast_expression "(code *)PTR_strncmp_004366a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_004366a0"))) () ")")) (argument_list "(param_2,*puVar3,iVar1)" (( "(") (identifier "param_2") (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (, ",") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        return puVar5[iVar4 * 3 + 2];\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return puVar5[iVar4 * 3 + 2];\n      }" ({ "{") (return_statement "return puVar5[iVar4 * 3 + 2];" (return "return") (subscript_expression "puVar5[iVar4 * 3 + 2]" (identifier "puVar5") ([ "[") (binary_expression "iVar4 * 3 + 2" (binary_expression "iVar4 * 3" (identifier "iVar4") (* "*") (number_literal "3")) (+ "+") (number_literal "2")) (] "]")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar4 == 0xb) break;" (if "if") (parenthesized_expression "(iVar4 == 0xb)" (( "(") (binary_expression "iVar4 == 0xb" (identifier "iVar4") (== "==") (number_literal "0xb")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = puVar3[4];" (assignment_expression "iVar1 = puVar3[4]" (identifier "iVar1") (= "=") (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "puVar3 = puVar3 + 3;" (assignment_expression "puVar3 = puVar3 + 3" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 3" (identifier "puVar3") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" (( "(") (pointer_expression "*(code *)PTR_gettext_00436818" (* "*") (cast_expression "(code *)PTR_gettext_00436818" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_00436818"))) () ")")) (argument_list "(PTR_DAT_0043226c + -0x4b34)" (( "(") (binary_expression "PTR_DAT_0043226c + -0x4b34" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "-0x4b34")) () ")")))) (; ";")) (expression_statement "yyerror(param_1,uVar2);" (call_expression "yyerror(param_1,uVar2)" (identifier "yyerror") (argument_list "(param_1,uVar2)" (( "(") (identifier "param_1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) 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: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 *puVar5;
  
  iVar1 = 7;
  puVar5 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x77c4);
  iVar4 = 0;
  puVar3 = puVar5;
  while( true ) {
    if (iVar1 == param_3) {
      iVar1 = (*(code *)PTR_strncmp_004366a0)(param_2,*puVar3,iVar1);
      if (iVar1 == 0) {
        return puVar5[iVar4 * 3 + 2];
      }
    }
    iVar4 = iVar4 + 1;
    if (iVar4 == 0xb) break;
    iVar1 = puVar3[4];
    puVar3 = puVar3 + 3;
  }
  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4b34);
  yyerror(param_1,uVar2);
  return 0;
}

