
void fill_match_lines(uint pos)

{
  int iVar1;
  int iVar2;
  int iVar3;
  code *pcVar4;
  int in_t9;
  
  iVar3 = **(int **)(in_t9 + 0xfa1bc);
  if ((*(char *)(iVar3 + 0x100) != '\0') && (pos <= *(uint *)(iVar3 + 0x14))) {
    pcVar4 = *(code **)(in_t9 + 0xfa270);
    do {
      iVar1 = (**(code **)(in_t9 + 0xfad44))
                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);
      if (iVar1 == 0) {
        if ((*(int *)(iVar3 + 0xdc) == 0) ||
           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {
          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);
          iVar2 = *(int *)(iVar3 + 0xdc);
          *(int *)(iVar3 + 0xd0) = iVar1;
          *(int *)(iVar3 + 0xdc) = iVar2 + 1;
          *(uint *)(iVar1 + iVar2 * 4) = pos;
        }
      }
      pos = pos + 1;
    } while (pos <= *(uint *)(iVar3 + 0x14));
    return;
  }
  return;
}



void FUN_00030148(uint param_1)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  puVar1 = PTR_FUN_0012a3b8;
  iVar4 = *(int *)PTR_DAT_0012a304;
  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {
    do {
      iVar2 = (*(code *)PTR_regexec_0012ae8c)
                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);
      if (iVar2 == 0) {
        if ((*(int *)(iVar4 + 0xdc) == 0) ||
           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1
           )) {
          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);
          iVar3 = *(int *)(iVar4 + 0xdc);
          *(int *)(iVar4 + 0xd0) = iVar2;
          *(int *)(iVar4 + 0xdc) = iVar3 + 1;
          *(uint *)(iVar2 + iVar3 * 4) = param_1;
        }
      }
      param_1 = param_1 + 1;
    } while (param_1 <= *(uint *)(iVar4 + 0x14));
    return;
  }
  return;
}


lui gp,0x10
addiu gp,gp,0x2008
addu gp,gp,t9
lw v0,-0x7e4c(gp)
addiu sp,sp,-0x38
sw s0,0x20(sp)
sw gp,0x18(sp)
sw ra,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
lw s0,0x0(v0)
lb v0,0x100(s0)
bne v0,zero,0x000301a8
_nop
lw ra,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x38
lw v0,0x14(s0)
sltu v0,v0,a0
bne v0,zero,0x00030188
_or s1,a0,zero
lui s2,0x3fff
lw s4,-0x7d98(gp)
addiu s3,s0,0xe0
ori s2,s2,0xffff
lw v1,0x38(s0)
sll v0,s1,0x2
lw t9,-0x72c4(gp)
or a3,zero,zero
or a2,zero,zero
addu v0,v1,v0
or a0,s3,zero
lw a1,0x0(v0)
jalr t9
_sw zero,0x10(sp)
bne v0,zero,0x00030230
_lw gp,0x18(sp)
lw a2,0xdc(s0)
bne a2,zero,0x00030260
_lw a0,0xd0(s0)
or t9,s4,zero
jalr t9
_li a1,0x404
lw v1,0xdc(s0)
lw gp,0x18(sp)
sw v0,0xd0(s0)
sll a0,v1,0x2
addiu v1,v1,0x1
addu v0,v0,a0
sw v1,0xdc(s0)
sw s1,0x0(v0)
lw v0,0x14(s0)
addiu s1,s1,0x1
sltu v0,v0,s1
beq v0,zero,0x000301c8
_lw ra,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x38
addu v0,a2,s2
sll v0,v0,0x2
addu v0,a0,v0
lw v0,0x0(v0)
beq v0,s1,0x00030230
_or t9,s4,zero
b 0x00030208
_nop
(translation_unit "void FUN_00030148(uint param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_FUN_0012a3b8;\n  iVar4 = *(int *)PTR_DAT_0012a304;\n  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00030148(uint param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_FUN_0012a3b8;\n  iVar4 = *(int *)PTR_DAT_0012a304;\n  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00030148(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_FUN_0012a3b8;\n  iVar4 = *(int *)PTR_DAT_0012a304;\n  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_FUN_0012a3b8;" (assignment_expression "puVar1 = PTR_FUN_0012a3b8" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar4 = *(int *)PTR_DAT_0012a304" identifier = (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }" if (parenthesized_expression "((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14)))" ( (binary_expression "(*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))" (parenthesized_expression "(*(char *)(iVar4 + 0x100) != '\0')" ( (binary_expression "*(char *)(iVar4 + 0x100) != '\0'" (pointer_expression "*(char *)(iVar4 + 0x100)" * (cast_expression "(char *)(iVar4 + 0x100)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x100)" ( (binary_expression "iVar4 + 0x100" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_1 <= *(uint *)(iVar4 + 0x14))" ( (binary_expression "param_1 <= *(uint *)(iVar4 + 0x14)" identifier <= (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ))) )) (compound_statement "{\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }" { (do_statement "do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));" do (compound_statement "{\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);" (assignment_expression "iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" identifier = (call_expression "(*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" (parenthesized_expression "(*(code *)PTR_regexec_0012ae8c)" ( (pointer_expression "*(code *)PTR_regexec_0012ae8c" * (cast_expression "(code *)PTR_regexec_0012ae8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" ( (binary_expression "iVar4 + 0xe0" identifier + number_literal) , (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4)" * (cast_expression "(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x38) + param_1 * 4)" ( (binary_expression "*(int *)(iVar4 + 0x38) + param_1 * 4" (pointer_expression "*(int *)(iVar4 + 0x38)" * (cast_expression "(int *)(iVar4 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))) + (binary_expression "param_1 * 4" identifier * number_literal)) )))) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }" { (if_statement "if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }" if (parenthesized_expression "((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           ))" ( (binary_expression "(*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )" (parenthesized_expression "(*(int *)(iVar4 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar4 + 0xdc) == 0" (pointer_expression "*(int *)(iVar4 + 0xdc)" * (cast_expression "(int *)(iVar4 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xdc)" ( (binary_expression "iVar4 + 0xdc" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )" ( (binary_expression "*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1" (pointer_expression "*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" * (cast_expression "(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" ( (binary_expression "*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4" (pointer_expression "*(int *)(iVar4 + 0xd0)" * (cast_expression "(int *)(iVar4 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xd0)" ( (binary_expression "iVar4 + 0xd0" identifier + number_literal) )))) + (binary_expression "(*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4" (parenthesized_expression "(*(int *)(iVar4 + 0xdc) + 0x3fffffff)" ( (binary_expression "*(int *)(iVar4 + 0xdc) + 0x3fffffff" (pointer_expression "*(int *)(iVar4 + 0xdc)" * (cast_expression "(int *)(iVar4 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xdc)" ( (binary_expression "iVar4 + 0xdc" identifier + number_literal) )))) + number_literal) )) * number_literal)) )))) != identifier) ))) )) (compound_statement "{\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }" { (expression_statement "iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);" (assignment_expression "iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404)" identifier = (call_expression "(*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(iVar4 + 0xd0),0x404)" ( (pointer_expression "*(int *)(iVar4 + 0xd0)" * (cast_expression "(int *)(iVar4 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xd0)" ( (binary_expression "iVar4 + 0xd0" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "iVar3 = *(int *)(iVar4 + 0xdc);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0xdc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xdc)" * (cast_expression "(int *)(iVar4 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xdc)" ( (binary_expression "iVar4 + 0xdc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar4 + 0xd0) = iVar2;" (assignment_expression "*(int *)(iVar4 + 0xd0) = iVar2" (pointer_expression "*(int *)(iVar4 + 0xd0)" * (cast_expression "(int *)(iVar4 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xd0)" ( (binary_expression "iVar4 + 0xd0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0xdc) = iVar3 + 1;" (assignment_expression "*(int *)(iVar4 + 0xdc) = iVar3 + 1" (pointer_expression "*(int *)(iVar4 + 0xdc)" * (cast_expression "(int *)(iVar4 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xdc)" ( (binary_expression "iVar4 + 0xdc" identifier + number_literal) )))) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar2 + iVar3 * 4) = param_1;" (assignment_expression "*(uint *)(iVar2 + iVar3 * 4) = param_1" (pointer_expression "*(uint *)(iVar2 + iVar3 * 4)" * (cast_expression "(uint *)(iVar2 + iVar3 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3 * 4)" ( (binary_expression "iVar2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) = identifier) ;) })) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 <= *(uint *)(iVar4 + 0x14))" ( (binary_expression "param_1 <= *(uint *)(iVar4 + 0x14)" identifier <= (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) )) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void fill_match_lines(uint pos)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  code *pcVar4;\n  int in_t9;\n  \n  iVar3 = **(int **)(in_t9 + 0xfa1bc);\n  if ((*(char *)(iVar3 + 0x100) != '\0') && (pos <= *(uint *)(iVar3 + 0x14))) {\n    pcVar4 = *(code **)(in_t9 + 0xfa270);\n    do {\n      iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);\n      if (iVar1 == 0) {\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }\n      pos = pos + 1;\n    } while (pos <= *(uint *)(iVar3 + 0x14));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void fill_match_lines(uint pos)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  code *pcVar4;\n  int in_t9;\n  \n  iVar3 = **(int **)(in_t9 + 0xfa1bc);\n  if ((*(char *)(iVar3 + 0x100) != '\0') && (pos <= *(uint *)(iVar3 + 0x14))) {\n    pcVar4 = *(code **)(in_t9 + 0xfa270);\n    do {\n      iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);\n      if (iVar1 == 0) {\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }\n      pos = pos + 1;\n    } while (pos <= *(uint *)(iVar3 + 0x14));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "fill_match_lines(uint pos)" identifier (parameter_list "(uint pos)" ( (parameter_declaration "uint pos" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  code *pcVar4;\n  int in_t9;\n  \n  iVar3 = **(int **)(in_t9 + 0xfa1bc);\n  if ((*(char *)(iVar3 + 0x100) != '\0') && (pos <= *(uint *)(iVar3 + 0x14))) {\n    pcVar4 = *(code **)(in_t9 + 0xfa270);\n    do {\n      iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);\n      if (iVar1 == 0) {\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }\n      pos = pos + 1;\n    } while (pos <= *(uint *)(iVar3 + 0x14));\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (expression_statement "iVar3 = **(int **)(in_t9 + 0xfa1bc);" (assignment_expression "iVar3 = **(int **)(in_t9 + 0xfa1bc)" identifier = (pointer_expression "**(int **)(in_t9 + 0xfa1bc)" * (pointer_expression "*(int **)(in_t9 + 0xfa1bc)" * (cast_expression "(int **)(in_t9 + 0xfa1bc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0xfa1bc)" ( (binary_expression "in_t9 + 0xfa1bc" identifier + number_literal) )))))) ;) (if_statement "if ((*(char *)(iVar3 + 0x100) != '\0') && (pos <= *(uint *)(iVar3 + 0x14))) {\n    pcVar4 = *(code **)(in_t9 + 0xfa270);\n    do {\n      iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);\n      if (iVar1 == 0) {\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }\n      pos = pos + 1;\n    } while (pos <= *(uint *)(iVar3 + 0x14));\n    return;\n  }" if (parenthesized_expression "((*(char *)(iVar3 + 0x100) != '\0') && (pos <= *(uint *)(iVar3 + 0x14)))" ( (binary_expression "(*(char *)(iVar3 + 0x100) != '\0') && (pos <= *(uint *)(iVar3 + 0x14))" (parenthesized_expression "(*(char *)(iVar3 + 0x100) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x100) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x100)" * (cast_expression "(char *)(iVar3 + 0x100)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100)" ( (binary_expression "iVar3 + 0x100" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(pos <= *(uint *)(iVar3 + 0x14))" ( (binary_expression "pos <= *(uint *)(iVar3 + 0x14)" identifier <= (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ))) )) (compound_statement "{\n    pcVar4 = *(code **)(in_t9 + 0xfa270);\n    do {\n      iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);\n      if (iVar1 == 0) {\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }\n      pos = pos + 1;\n    } while (pos <= *(uint *)(iVar3 + 0x14));\n    return;\n  }" { (expression_statement "pcVar4 = *(code **)(in_t9 + 0xfa270);" (assignment_expression "pcVar4 = *(code **)(in_t9 + 0xfa270)" identifier = (pointer_expression "*(code **)(in_t9 + 0xfa270)" * (cast_expression "(code **)(in_t9 + 0xfa270)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0xfa270)" ( (binary_expression "in_t9 + 0xfa270" identifier + number_literal) ))))) ;) (do_statement "do {\n      iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);\n      if (iVar1 == 0) {\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }\n      pos = pos + 1;\n    } while (pos <= *(uint *)(iVar3 + 0x14));" do (compound_statement "{\n      iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);\n      if (iVar1 == 0) {\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }\n      pos = pos + 1;\n    }" { (expression_statement "iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0)" identifier = (call_expression "(**(code **)(in_t9 + 0xfad44))\n                        (iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0)" (parenthesized_expression "(**(code **)(in_t9 + 0xfad44))" ( (pointer_expression "**(code **)(in_t9 + 0xfad44)" * (pointer_expression "*(code **)(in_t9 + 0xfad44)" * (cast_expression "(code **)(in_t9 + 0xfad44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0xfad44)" ( (binary_expression "in_t9 + 0xfad44" identifier + number_literal) ))))) )) (argument_list "(iVar3 + 0xe0,*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4),0,0,0)" ( (binary_expression "iVar3 + 0xe0" identifier + number_literal) , (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4)" * (cast_expression "(undefined4 *)(*(int *)(iVar3 + 0x38) + pos * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x38) + pos * 4)" ( (binary_expression "*(int *)(iVar3 + 0x38) + pos * 4" (pointer_expression "*(int *)(iVar3 + 0x38)" * (cast_expression "(int *)(iVar3 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x38)" ( (binary_expression "iVar3 + 0x38" identifier + number_literal) )))) + (binary_expression "pos * 4" identifier * number_literal)) )))) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }\n      }" { (if_statement "if ((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)) {\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }" if (parenthesized_expression "((*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos))" ( (binary_expression "(*(int *)(iVar3 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)" (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos)" ( (binary_expression "*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4) != pos" (pointer_expression "*(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4)" * (cast_expression "(uint *)(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4)" ( (binary_expression "*(int *)(iVar3 + 0xd0) + (*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4" (pointer_expression "*(int *)(iVar3 + 0xd0)" * (cast_expression "(int *)(iVar3 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xd0)" ( (binary_expression "iVar3 + 0xd0" identifier + number_literal) )))) + (binary_expression "(*(int *)(iVar3 + 0xdc) + 0x3fffffff) * 4" (parenthesized_expression "(*(int *)(iVar3 + 0xdc) + 0x3fffffff)" ( (binary_expression "*(int *)(iVar3 + 0xdc) + 0x3fffffff" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) + number_literal) )) * number_literal)) )))) != identifier) ))) )) (compound_statement "{\n          iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);\n          iVar2 = *(int *)(iVar3 + 0xdc);\n          *(int *)(iVar3 + 0xd0) = iVar1;\n          *(int *)(iVar3 + 0xdc) = iVar2 + 1;\n          *(uint *)(iVar1 + iVar2 * 4) = pos;\n        }" { (expression_statement "iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404);" (assignment_expression "iVar1 = (*pcVar4)(*(int *)(iVar3 + 0xd0),0x404)" identifier = (call_expression "(*pcVar4)(*(int *)(iVar3 + 0xd0),0x404)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(*(int *)(iVar3 + 0xd0),0x404)" ( (pointer_expression "*(int *)(iVar3 + 0xd0)" * (cast_expression "(int *)(iVar3 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xd0)" ( (binary_expression "iVar3 + 0xd0" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "iVar2 = *(int *)(iVar3 + 0xdc);" (assignment_expression "iVar2 = *(int *)(iVar3 + 0xdc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar3 + 0xd0) = iVar1;" (assignment_expression "*(int *)(iVar3 + 0xd0) = iVar1" (pointer_expression "*(int *)(iVar3 + 0xd0)" * (cast_expression "(int *)(iVar3 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xd0)" ( (binary_expression "iVar3 + 0xd0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 0xdc) = iVar2 + 1;" (assignment_expression "*(int *)(iVar3 + 0xdc) = iVar2 + 1" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar1 + iVar2 * 4) = pos;" (assignment_expression "*(uint *)(iVar1 + iVar2 * 4) = pos" (pointer_expression "*(uint *)(iVar1 + iVar2 * 4)" * (cast_expression "(uint *)(iVar1 + iVar2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar2 * 4)" ( (binary_expression "iVar1 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = identifier) ;) })) })) (expression_statement "pos = pos + 1;" (assignment_expression "pos = pos + 1" identifier = (binary_expression "pos + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pos <= *(uint *)(iVar3 + 0x14))" ( (binary_expression "pos <= *(uint *)(iVar3 + 0x14)" identifier <= (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) )) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00030148(uint param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_FUN_0012a3b8;\n  iVar4 = *(int *)PTR_DAT_0012a304;\n  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00030148(uint param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_FUN_0012a3b8;\n  iVar4 = *(int *)PTR_DAT_0012a304;\n  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00030148(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_FUN_0012a3b8;\n  iVar4 = *(int *)PTR_DAT_0012a304;\n  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_FUN_0012a3b8;" (assignment_expression "puVar1 = PTR_FUN_0012a3b8" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar4 = *(int *)PTR_DAT_0012a304" identifier = (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }" if (parenthesized_expression "((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14)))" ( (binary_expression "(*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))" (parenthesized_expression "(*(char *)(iVar4 + 0x100) != '\0')" ( (binary_expression "*(char *)(iVar4 + 0x100) != '\0'" (pointer_expression "*(char *)(iVar4 + 0x100)" * (cast_expression "(char *)(iVar4 + 0x100)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x100)" ( (binary_expression "iVar4 + 0x100" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_1 <= *(uint *)(iVar4 + 0x14))" ( (binary_expression "param_1 <= *(uint *)(iVar4 + 0x14)" identifier <= (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ))) )) (compound_statement "{\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }" { (do_statement "do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));" do (compound_statement "{\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);" (assignment_expression "iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" identifier = (call_expression "(*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" (parenthesized_expression "(*(code *)PTR_regexec_0012ae8c)" ( (pointer_expression "*(code *)PTR_regexec_0012ae8c" * (cast_expression "(code *)PTR_regexec_0012ae8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" ( (binary_expression "iVar4 + 0xe0" identifier + number_literal) , (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4)" * (cast_expression "(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x38) + param_1 * 4)" ( (binary_expression "*(int *)(iVar4 + 0x38) + param_1 * 4" (pointer_expression "*(int *)(iVar4 + 0x38)" * (cast_expression "(int *)(iVar4 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))) + (binary_expression "param_1 * 4" identifier * number_literal)) )))) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }" { (if_statement "if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }" if (parenthesized_expression "((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           ))" ( (binary_expression "(*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )" (parenthesized_expression "(*(int *)(iVar4 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar4 + 0xdc) == 0" (pointer_expression "*(int *)(iVar4 + 0xdc)" * (cast_expression "(int *)(iVar4 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xdc)" ( (binary_expression "iVar4 + 0xdc" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )" ( (binary_expression "*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1" (pointer_expression "*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" * (cast_expression "(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" ( (binary_expression "*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4" (pointer_expression "*(int *)(iVar4 + 0xd0)" * (cast_expression "(int *)(iVar4 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xd0)" ( (binary_expression "iVar4 + 0xd0" identifier + number_literal) )))) + (binary_expression "(*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4" (parenthesized_expression "(*(int *)(iVar4 + 0xdc) + 0x3fffffff)" ( (binary_expression "*(int *)(iVar4 + 0xdc) + 0x3fffffff" (pointer_expression "*(int *)(iVar4 + 0xdc)" * (cast_expression "(int *)(iVar4 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xdc)" ( (binary_expression "iVar4 + 0xdc" identifier + number_literal) )))) + number_literal) )) * number_literal)) )))) != identifier) ))) )) (compound_statement "{\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }" { (expression_statement "iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);" (assignment_expression "iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404)" identifier = (call_expression "(*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(iVar4 + 0xd0),0x404)" ( (pointer_expression "*(int *)(iVar4 + 0xd0)" * (cast_expression "(int *)(iVar4 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xd0)" ( (binary_expression "iVar4 + 0xd0" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "iVar3 = *(int *)(iVar4 + 0xdc);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0xdc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xdc)" * (cast_expression "(int *)(iVar4 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xdc)" ( (binary_expression "iVar4 + 0xdc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar4 + 0xd0) = iVar2;" (assignment_expression "*(int *)(iVar4 + 0xd0) = iVar2" (pointer_expression "*(int *)(iVar4 + 0xd0)" * (cast_expression "(int *)(iVar4 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xd0)" ( (binary_expression "iVar4 + 0xd0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0xdc) = iVar3 + 1;" (assignment_expression "*(int *)(iVar4 + 0xdc) = iVar3 + 1" (pointer_expression "*(int *)(iVar4 + 0xdc)" * (cast_expression "(int *)(iVar4 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xdc)" ( (binary_expression "iVar4 + 0xdc" identifier + number_literal) )))) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar2 + iVar3 * 4) = param_1;" (assignment_expression "*(uint *)(iVar2 + iVar3 * 4) = param_1" (pointer_expression "*(uint *)(iVar2 + iVar3 * 4)" * (cast_expression "(uint *)(iVar2 + iVar3 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3 * 4)" ( (binary_expression "iVar2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) = identifier) ;) })) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 <= *(uint *)(iVar4 + 0x14))" ( (binary_expression "param_1 <= *(uint *)(iVar4 + 0x14)" identifier <= (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) )) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (do_statement do (compound_statement { (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) , (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) )))) + (binary_expression IDENT * LIT)) )))) , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) || (parenthesized_expression ( (binary_expression (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) )))) + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )) * LIT)) )))) != 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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00030148(uint param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_FUN_0012a3b8;\n  iVar4 = *(int *)PTR_DAT_0012a304;\n  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00030148(uint param_1)" (identifier "FUN_00030148") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_FUN_0012a3b8;\n  iVar4 = *(int *)PTR_DAT_0012a304;\n  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "puVar1 = PTR_FUN_0012a3b8;" (assignment_expression "puVar1 = PTR_FUN_0012a3b8" (identifier "puVar1") (= "=") (identifier "PTR_FUN_0012a3b8")) (; ";")) (expression_statement "iVar4 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar4 = *(int *)PTR_DAT_0012a304" (identifier "iVar4") (= "=") (pointer_expression "*(int *)PTR_DAT_0012a304" (* "*") (cast_expression "(int *)PTR_DAT_0012a304" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a304")))) (; ";")) (if_statement "if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }" (if "if") (parenthesized_expression "((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14)))" (( "(") (binary_expression "(*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))" (parenthesized_expression "(*(char *)(iVar4 + 0x100) != '\0')" (( "(") (binary_expression "*(char *)(iVar4 + 0x100) != '\0'" (pointer_expression "*(char *)(iVar4 + 0x100)" (* "*") (cast_expression "(char *)(iVar4 + 0x100)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x100)" (( "(") (binary_expression "iVar4 + 0x100" (identifier "iVar4") (+ "+") (number_literal "0x100")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(param_1 <= *(uint *)(iVar4 + 0x14))" (( "(") (binary_expression "param_1 <= *(uint *)(iVar4 + 0x14)" (identifier "param_1") (<= "<=") (pointer_expression "*(uint *)(iVar4 + 0x14)" (* "*") (cast_expression "(uint *)(iVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n    do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));\n    return;\n  }" ({ "{") (do_statement "do {\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= *(uint *)(iVar4 + 0x14));" (do "do") (compound_statement "{\n      iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);\n      if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }\n      param_1 = param_1 + 1;\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);" (assignment_expression "iVar2 = (*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_regexec_0012ae8c)\n                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" (parenthesized_expression "(*(code *)PTR_regexec_0012ae8c)" (( "(") (pointer_expression "*(code *)PTR_regexec_0012ae8c" (* "*") (cast_expression "(code *)PTR_regexec_0012ae8c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_regexec_0012ae8c"))) () ")")) (argument_list "(iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0)" (( "(") (binary_expression "iVar4 + 0xe0" (identifier "iVar4") (+ "+") (number_literal "0xe0")) (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x38) + param_1 * 4)" (( "(") (binary_expression "*(int *)(iVar4 + 0x38) + param_1 * 4" (pointer_expression "*(int *)(iVar4 + 0x38)" (* "*") (cast_expression "(int *)(iVar4 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x38)" (( "(") (binary_expression "iVar4 + 0x38" (identifier "iVar4") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4"))) () ")")))) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }\n      }" ({ "{") (if_statement "if ((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )) {\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }" (if "if") (parenthesized_expression "((*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           ))" (( "(") (binary_expression "(*(int *)(iVar4 + 0xdc) == 0) ||\n           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )" (parenthesized_expression "(*(int *)(iVar4 + 0xdc) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0xdc) == 0" (pointer_expression "*(int *)(iVar4 + 0xdc)" (* "*") (cast_expression "(int *)(iVar4 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xdc)" (( "(") (binary_expression "iVar4 + 0xdc" (identifier "iVar4") (+ "+") (number_literal "0xdc")) () ")")))) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1\n           )" (( "(") (binary_expression "*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1" (pointer_expression "*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" (* "*") (cast_expression "(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4)" (( "(") (binary_expression "*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4" (pointer_expression "*(int *)(iVar4 + 0xd0)" (* "*") (cast_expression "(int *)(iVar4 + 0xd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xd0)" (( "(") (binary_expression "iVar4 + 0xd0" (identifier "iVar4") (+ "+") (number_literal "0xd0")) () ")")))) (+ "+") (binary_expression "(*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4" (parenthesized_expression "(*(int *)(iVar4 + 0xdc) + 0x3fffffff)" (( "(") (binary_expression "*(int *)(iVar4 + 0xdc) + 0x3fffffff" (pointer_expression "*(int *)(iVar4 + 0xdc)" (* "*") (cast_expression "(int *)(iVar4 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xdc)" (( "(") (binary_expression "iVar4 + 0xdc" (identifier "iVar4") (+ "+") (number_literal "0xdc")) () ")")))) (+ "+") (number_literal "0x3fffffff")) () ")")) (* "*") (number_literal "4"))) () ")")))) (!= "!=") (identifier "param_1")) () ")"))) () ")")) (compound_statement "{\n          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);\n          iVar3 = *(int *)(iVar4 + 0xdc);\n          *(int *)(iVar4 + 0xd0) = iVar2;\n          *(int *)(iVar4 + 0xdc) = iVar3 + 1;\n          *(uint *)(iVar2 + iVar3 * 4) = param_1;\n        }" ({ "{") (expression_statement "iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);" (assignment_expression "iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404)" (identifier "iVar2") (= "=") (call_expression "(*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(*(int *)(iVar4 + 0xd0),0x404)" (( "(") (pointer_expression "*(int *)(iVar4 + 0xd0)" (* "*") (cast_expression "(int *)(iVar4 + 0xd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xd0)" (( "(") (binary_expression "iVar4 + 0xd0" (identifier "iVar4") (+ "+") (number_literal "0xd0")) () ")")))) (, ",") (number_literal "0x404") () ")")))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar4 + 0xdc);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0xdc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar4 + 0xdc)" (* "*") (cast_expression "(int *)(iVar4 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xdc)" (( "(") (binary_expression "iVar4 + 0xdc" (identifier "iVar4") (+ "+") (number_literal "0xdc")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar4 + 0xd0) = iVar2;" (assignment_expression "*(int *)(iVar4 + 0xd0) = iVar2" (pointer_expression "*(int *)(iVar4 + 0xd0)" (* "*") (cast_expression "(int *)(iVar4 + 0xd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xd0)" (( "(") (binary_expression "iVar4 + 0xd0" (identifier "iVar4") (+ "+") (number_literal "0xd0")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)(iVar4 + 0xdc) = iVar3 + 1;" (assignment_expression "*(int *)(iVar4 + 0xdc) = iVar3 + 1" (pointer_expression "*(int *)(iVar4 + 0xdc)" (* "*") (cast_expression "(int *)(iVar4 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xdc)" (( "(") (binary_expression "iVar4 + 0xdc" (identifier "iVar4") (+ "+") (number_literal "0xdc")) () ")")))) (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(uint *)(iVar2 + iVar3 * 4) = param_1;" (assignment_expression "*(uint *)(iVar2 + iVar3 * 4) = param_1" (pointer_expression "*(uint *)(iVar2 + iVar3 * 4)" (* "*") (cast_expression "(uint *)(iVar2 + iVar3 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar3 * 4)" (( "(") (binary_expression "iVar2 + iVar3 * 4" (identifier "iVar2") (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}"))) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 <= *(uint *)(iVar4 + 0x14))" (( "(") (binary_expression "param_1 <= *(uint *)(iVar4 + 0x14)" (identifier "param_1") (<= "<=") (pointer_expression "*(uint *)(iVar4 + 0x14)" (* "*") (cast_expression "(uint *)(iVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (do_statement body: (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 (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))) (number_literal) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (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))) right: (number_literal)))))) 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 (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))))) (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: (identifier) 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: (identifier))) (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: (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: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement))) (return_statement))))

void MASKED(uint param_1)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  puVar1 = PTR_FUN_0012a3b8;
  iVar4 = *(int *)PTR_DAT_0012a304;
  if ((*(char *)(iVar4 + 0x100) != '\0') && (param_1 <= *(uint *)(iVar4 + 0x14))) {
    do {
      iVar2 = (*(code *)PTR_regexec_0012ae8c)
                        (iVar4 + 0xe0,*(undefined4 *)(*(int *)(iVar4 + 0x38) + param_1 * 4),0,0,0);
      if (iVar2 == 0) {
        if ((*(int *)(iVar4 + 0xdc) == 0) ||
           (*(uint *)(*(int *)(iVar4 + 0xd0) + (*(int *)(iVar4 + 0xdc) + 0x3fffffff) * 4) != param_1
           )) {
          iVar2 = (*(code *)puVar1)(*(int *)(iVar4 + 0xd0),0x404);
          iVar3 = *(int *)(iVar4 + 0xdc);
          *(int *)(iVar4 + 0xd0) = iVar2;
          *(int *)(iVar4 + 0xdc) = iVar3 + 1;
          *(uint *)(iVar2 + iVar3 * 4) = param_1;
        }
      }
      param_1 = param_1 + 1;
    } while (param_1 <= *(uint *)(iVar4 + 0x14));
    return;
  }
  return;
}

