
replacement * new_replacement(char *text,size_t length,replacement_types type)

{
  int *piVar1;
  undefined *puVar2;
  replacement *prVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  
  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {
    _obstack_newchunk((obstack *)(PTR_DAT_00042168 + 0x259c),0x14);
  }
  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);
  prVar3 = *(replacement **)(PTR_DAT_00042168 + 0x25a4);
  if ((replacement *)(*piVar1 + 0x14) == prVar3) {
    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;
  }
  puVar2 = PTR_DAT_00042168;
  uVar4 = (int)&((replacement *)(*piVar1 + 0x14))->prefix + *(uint *)(PTR_DAT_00042168 + 0x25b4) &
          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);
  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;
  iVar6 = *(int *)(puVar2 + 0x25a0);
  iVar5 = *(int *)(puVar2 + 0x25ac);
  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {
    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;
  }
  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);
  prVar3->prefix = text;
  prVar3->prefix_length = length;
  prVar3->subst_id = -1;
  prVar3->repl_type = type;
  return prVar3;
}



void FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int *piVar1;
  undefined *puVar2;
  undefined4 *puVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  
  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {
    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);
  }
  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);
  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);
  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {
    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;
  }
  puVar2 = PTR_DAT_00042168;
  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &
          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);
  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;
  iVar6 = *(int *)(puVar2 + 0x25a0);
  iVar5 = *(int *)(puVar2 + 0x25ac);
  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {
    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;
  }
  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);
  *puVar3 = param_1;
  puVar3[1] = param_2;
  puVar3[2] = 0xffffffff;
  puVar3[3] = param_3;
  return;
}


lui gp,0x3
addiu gp,gp,0x71c0
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s2,a0,zero
or s1,a1,zero
lw v1,-0x7fd8(gp)
addiu v1,v1,0x259c
lw v0,0x10(v1)
lw v1,0xc(v1)
subu v0,v0,v1
sltiu v0,v0,0x14
bne v0,zero,0x00013064
_or s0,a2,zero
lw v0,-0x7fd8(gp)
addiu v0,v0,0x259c
lw v1,0xc(v0)
addiu v1,v1,0x14
lw v0,0x8(v0)
beq v1,v0,0x00013088
_lw a0,-0x7fd8(gp)
lw a0,-0x7fd8(gp)
addiu a0,a0,0x259c
lw a1,0x18(a0)
addu v1,v1,a1
nor a1,zero,a1
and v1,v1,a1
sw v1,0xc(a0)
lw a1,0x4(a0)
lw a0,0x10(a0)
subu v1,v1,a1
subu a1,a0,a1
sltu v1,a1,v1
beq v1,zero,0x0001302c
_lw v1,-0x7fd8(gp)
lw v1,-0x7fd8(gp)
sw a0,0x25a8(v1)
lw v1,-0x7fd8(gp)
addiu v1,v1,0x259c
lw a0,0xc(v1)
sw a0,0x8(v1)
sw s2,0x0(v0)
sw s1,0x4(v0)
li v1,-0x1
sw v1,0x8(v0)
sw s0,0xc(v0)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
li a1,0x14
lw a0,-0x7fd8(gp)
addiu a0,a0,0x259c
lw t9,-0x7fc4(gp)
bal 0x0002c7fc
_nop
lw gp,0x10(sp)
b 0x00012fd0
_lw v0,-0x7fd8(gp)
addiu a0,a0,0x259c
lbu a1,0x28(a0)
li a2,0x1
ins a1,a2,0x6,0x1
b 0x00012fe8
_sb a1,0x28(a0)
(translation_unit "void FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);\n  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  *puVar3 = param_1;\n  puVar3[1] = param_2;\n  puVar3[2] = 0xffffffff;\n  puVar3[3] = param_3;\n  return;\n}\n\n" (function_definition "void FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);\n  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  *puVar3 = param_1;\n  puVar3[1] = param_2;\n  puVar3[2] = 0xffffffff;\n  puVar3[3] = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);\n  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  *puVar3 = param_1;\n  puVar3[1] = param_2;\n  puVar3[2] = 0xffffffff;\n  puVar3[3] = param_3;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }" if (parenthesized_expression "((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14)" ( (binary_expression "(uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14" (call_expression "(uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8))" ( (binary_expression "*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)" (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25ac)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25ac)" ( (binary_expression "PTR_DAT_00042168 + 0x25ac" identifier + number_literal) )))) - (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) ))))) ))) < number_literal) )) (compound_statement "{\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }" { (expression_statement "_obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);" (call_expression "_obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14)" identifier (argument_list "(PTR_DAT_00042168 + 0x259c,0x14)" ( (binary_expression "PTR_DAT_00042168 + 0x259c" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);" (assignment_expression "piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8)" identifier = (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) ;) (expression_statement "puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);" (assignment_expression "puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" identifier = (pointer_expression "*(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" * (cast_expression "(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a4)" ( (binary_expression "PTR_DAT_00042168 + 0x25a4" identifier + number_literal) ))))) ;) (if_statement "if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }" if (parenthesized_expression "((undefined4 *)(*piVar1 + 0x14) == puVar3)" ( (binary_expression "(undefined4 *)(*piVar1 + 0x14) == puVar3" (cast_expression "(undefined4 *)(*piVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))) == identifier) )) (compound_statement "{\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }" { (expression_statement "PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;" (assignment_expression "PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40" (subscript_expression "PTR_DAT_00042168[0x25c4]" identifier [ number_literal ]) = (binary_expression "PTR_DAT_00042168[0x25c4] & 0xbf | 0x40" (binary_expression "PTR_DAT_00042168[0x25c4] & 0xbf" (subscript_expression "PTR_DAT_00042168[0x25c4]" identifier [ number_literal ]) & number_literal) | number_literal)) ;) })) (expression_statement "puVar2 = PTR_DAT_00042168;" (assignment_expression "puVar2 = PTR_DAT_00042168" identifier = identifier) ;) (expression_statement "uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);" (assignment_expression "uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4)" identifier = (binary_expression "*piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4)" (binary_expression "*piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4)" (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) + (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25b4)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25b4)" ( (binary_expression "PTR_DAT_00042168 + 0x25b4" identifier + number_literal) ))))) & (unary_expression "~*(uint *)(PTR_DAT_00042168 + 0x25b4)" ~ (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25b4)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25b4)" ( (binary_expression "PTR_DAT_00042168 + 0x25b4" identifier + number_literal) ))))))) ;) (expression_statement "*(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;" (assignment_expression "*(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4" (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = *(int *)(puVar2 + 0x25a0);" (assignment_expression "iVar6 = *(int *)(puVar2 + 0x25a0)" identifier = (pointer_expression "*(int *)(puVar2 + 0x25a0)" * (cast_expression "(int *)(puVar2 + 0x25a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x25a0)" ( (binary_expression "puVar2 + 0x25a0" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(puVar2 + 0x25ac);" (assignment_expression "iVar5 = *(int *)(puVar2 + 0x25ac)" identifier = (pointer_expression "*(int *)(puVar2 + 0x25ac)" * (cast_expression "(int *)(puVar2 + 0x25ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x25ac)" ( (binary_expression "puVar2 + 0x25ac" identifier + number_literal) ))))) ;) (if_statement "if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }" if (parenthesized_expression "((uint)(iVar5 - iVar6) < uVar4 - iVar6)" ( (binary_expression "(uint)(iVar5 - iVar6) < uVar4 - iVar6" (call_expression "(uint)(iVar5 - iVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 - iVar6)" ( (binary_expression "iVar5 - iVar6" identifier - identifier) ))) < (binary_expression "uVar4 - iVar6" identifier - identifier)) )) (compound_statement "{\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }" { (expression_statement "*(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;" (assignment_expression "*(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5" (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);" (assignment_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" (pointer_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4)" * (cast_expression "(undefined4 *)(PTR_DAT_00042168 + 0x25a4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a4)" ( (binary_expression "PTR_DAT_00042168 + 0x25a4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) ))))) ;) (expression_statement "*puVar3 = param_1;" (assignment_expression "*puVar3 = param_1" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar3[1] = param_2;" (assignment_expression "puVar3[1] = param_2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[2] = 0xffffffff;" (assignment_expression "puVar3[2] = 0xffffffff" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[3] = param_3;" (assignment_expression "puVar3[3] = param_3" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "replacement * new_replacement(char *text,size_t length,replacement_types type)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  replacement *prVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk((obstack *)(PTR_DAT_00042168 + 0x259c),0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  prVar3 = *(replacement **)(PTR_DAT_00042168 + 0x25a4);\n  if ((replacement *)(*piVar1 + 0x14) == prVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = (int)&((replacement *)(*piVar1 + 0x14))->prefix + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  prVar3->prefix = text;\n  prVar3->prefix_length = length;\n  prVar3->subst_id = -1;\n  prVar3->repl_type = type;\n  return prVar3;\n}\n\n" (function_definition "replacement * new_replacement(char *text,size_t length,replacement_types type)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  replacement *prVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk((obstack *)(PTR_DAT_00042168 + 0x259c),0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  prVar3 = *(replacement **)(PTR_DAT_00042168 + 0x25a4);\n  if ((replacement *)(*piVar1 + 0x14) == prVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = (int)&((replacement *)(*piVar1 + 0x14))->prefix + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  prVar3->prefix = text;\n  prVar3->prefix_length = length;\n  prVar3->subst_id = -1;\n  prVar3->repl_type = type;\n  return prVar3;\n}" type_identifier (pointer_declarator "* new_replacement(char *text,size_t length,replacement_types type)" * (function_declarator "new_replacement(char *text,size_t length,replacement_types type)" identifier (parameter_list "(char *text,size_t length,replacement_types type)" ( (parameter_declaration "char *text" primitive_type (pointer_declarator "*text" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) , (parameter_declaration "replacement_types type" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  replacement *prVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk((obstack *)(PTR_DAT_00042168 + 0x259c),0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  prVar3 = *(replacement **)(PTR_DAT_00042168 + 0x25a4);\n  if ((replacement *)(*piVar1 + 0x14) == prVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = (int)&((replacement *)(*piVar1 + 0x14))->prefix + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  prVar3->prefix = text;\n  prVar3->prefix_length = length;\n  prVar3->subst_id = -1;\n  prVar3->repl_type = type;\n  return prVar3;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "replacement *prVar3;" type_identifier (pointer_declarator "*prVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk((obstack *)(PTR_DAT_00042168 + 0x259c),0x14);\n  }" if (parenthesized_expression "((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14)" ( (binary_expression "(uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14" (call_expression "(uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8))" ( (binary_expression "*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)" (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25ac)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25ac)" ( (binary_expression "PTR_DAT_00042168 + 0x25ac" identifier + number_literal) )))) - (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) ))))) ))) < number_literal) )) (compound_statement "{\n    _obstack_newchunk((obstack *)(PTR_DAT_00042168 + 0x259c),0x14);\n  }" { (expression_statement "_obstack_newchunk((obstack *)(PTR_DAT_00042168 + 0x259c),0x14);" (call_expression "_obstack_newchunk((obstack *)(PTR_DAT_00042168 + 0x259c),0x14)" identifier (argument_list "((obstack *)(PTR_DAT_00042168 + 0x259c),0x14)" ( (cast_expression "(obstack *)(PTR_DAT_00042168 + 0x259c)" ( (type_descriptor "obstack *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x259c)" ( (binary_expression "PTR_DAT_00042168 + 0x259c" identifier + number_literal) ))) , number_literal ))) ;) })) (expression_statement "piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);" (assignment_expression "piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8)" identifier = (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) ;) (expression_statement "prVar3 = *(replacement **)(PTR_DAT_00042168 + 0x25a4);" (assignment_expression "prVar3 = *(replacement **)(PTR_DAT_00042168 + 0x25a4)" identifier = (pointer_expression "*(replacement **)(PTR_DAT_00042168 + 0x25a4)" * (cast_expression "(replacement **)(PTR_DAT_00042168 + 0x25a4)" ( (type_descriptor "replacement **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a4)" ( (binary_expression "PTR_DAT_00042168 + 0x25a4" identifier + number_literal) ))))) ;) (if_statement "if ((replacement *)(*piVar1 + 0x14) == prVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }" if (parenthesized_expression "((replacement *)(*piVar1 + 0x14) == prVar3)" ( (binary_expression "(replacement *)(*piVar1 + 0x14) == prVar3" (cast_expression "(replacement *)(*piVar1 + 0x14)" ( (type_descriptor "replacement *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))) == identifier) )) (compound_statement "{\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }" { (expression_statement "PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;" (assignment_expression "PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40" (subscript_expression "PTR_DAT_00042168[0x25c4]" identifier [ number_literal ]) = (binary_expression "PTR_DAT_00042168[0x25c4] & 0xbf | 0x40" (binary_expression "PTR_DAT_00042168[0x25c4] & 0xbf" (subscript_expression "PTR_DAT_00042168[0x25c4]" identifier [ number_literal ]) & number_literal) | number_literal)) ;) })) (expression_statement "puVar2 = PTR_DAT_00042168;" (assignment_expression "puVar2 = PTR_DAT_00042168" identifier = identifier) ;) (expression_statement "uVar4 = (int)&((replacement *)(*piVar1 + 0x14))->prefix + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);" (assignment_expression "uVar4 = (int)&((replacement *)(*piVar1 + 0x14))->prefix + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4)" identifier = (binary_expression "(int)&((replacement *)(*piVar1 + 0x14))->prefix + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4)" (binary_expression "(int)&((replacement *)(*piVar1 + 0x14))->prefix + *(uint *)(PTR_DAT_00042168 + 0x25b4)" (cast_expression "(int)&((replacement *)(*piVar1 + 0x14))->prefix" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&((replacement *)(*piVar1 + 0x14))->prefix" & (field_expression "((replacement *)(*piVar1 + 0x14))->prefix" (parenthesized_expression "((replacement *)(*piVar1 + 0x14))" ( (cast_expression "(replacement *)(*piVar1 + 0x14)" ( (type_descriptor "replacement *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))) )) -> field_identifier))) + (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25b4)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25b4)" ( (binary_expression "PTR_DAT_00042168 + 0x25b4" identifier + number_literal) ))))) & (unary_expression "~*(uint *)(PTR_DAT_00042168 + 0x25b4)" ~ (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25b4)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25b4)" ( (binary_expression "PTR_DAT_00042168 + 0x25b4" identifier + number_literal) ))))))) ;) (expression_statement "*(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;" (assignment_expression "*(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4" (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = *(int *)(puVar2 + 0x25a0);" (assignment_expression "iVar6 = *(int *)(puVar2 + 0x25a0)" identifier = (pointer_expression "*(int *)(puVar2 + 0x25a0)" * (cast_expression "(int *)(puVar2 + 0x25a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x25a0)" ( (binary_expression "puVar2 + 0x25a0" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(puVar2 + 0x25ac);" (assignment_expression "iVar5 = *(int *)(puVar2 + 0x25ac)" identifier = (pointer_expression "*(int *)(puVar2 + 0x25ac)" * (cast_expression "(int *)(puVar2 + 0x25ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x25ac)" ( (binary_expression "puVar2 + 0x25ac" identifier + number_literal) ))))) ;) (if_statement "if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }" if (parenthesized_expression "((uint)(iVar5 - iVar6) < uVar4 - iVar6)" ( (binary_expression "(uint)(iVar5 - iVar6) < uVar4 - iVar6" (call_expression "(uint)(iVar5 - iVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 - iVar6)" ( (binary_expression "iVar5 - iVar6" identifier - identifier) ))) < (binary_expression "uVar4 - iVar6" identifier - identifier)) )) (compound_statement "{\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }" { (expression_statement "*(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;" (assignment_expression "*(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5" (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);" (assignment_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" (pointer_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4)" * (cast_expression "(undefined4 *)(PTR_DAT_00042168 + 0x25a4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a4)" ( (binary_expression "PTR_DAT_00042168 + 0x25a4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) ))))) ;) (expression_statement "prVar3->prefix = text;" (assignment_expression "prVar3->prefix = text" (field_expression "prVar3->prefix" identifier -> field_identifier) = identifier) ;) (expression_statement "prVar3->prefix_length = length;" (assignment_expression "prVar3->prefix_length = length" (field_expression "prVar3->prefix_length" identifier -> field_identifier) = identifier) ;) (expression_statement "prVar3->subst_id = -1;" (assignment_expression "prVar3->subst_id = -1" (field_expression "prVar3->subst_id" identifier -> field_identifier) = number_literal) ;) (expression_statement "prVar3->repl_type = type;" (assignment_expression "prVar3->repl_type = type" (field_expression "prVar3->repl_type" identifier -> field_identifier) = identifier) ;) (return_statement "return prVar3;" return identifier ;) })))
(translation_unit "void FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);\n  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  *puVar3 = param_1;\n  puVar3[1] = param_2;\n  puVar3[2] = 0xffffffff;\n  puVar3[3] = param_3;\n  return;\n}\n\n" (function_definition "void FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);\n  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  *puVar3 = param_1;\n  puVar3[1] = param_2;\n  puVar3[2] = 0xffffffff;\n  puVar3[3] = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);\n  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  *puVar3 = param_1;\n  puVar3[1] = param_2;\n  puVar3[2] = 0xffffffff;\n  puVar3[3] = param_3;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }" if (parenthesized_expression "((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14)" ( (binary_expression "(uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14" (call_expression "(uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8))" ( (binary_expression "*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)" (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25ac)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25ac)" ( (binary_expression "PTR_DAT_00042168 + 0x25ac" identifier + number_literal) )))) - (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) ))))) ))) < number_literal) )) (compound_statement "{\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }" { (expression_statement "_obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);" (call_expression "_obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14)" identifier (argument_list "(PTR_DAT_00042168 + 0x259c,0x14)" ( (binary_expression "PTR_DAT_00042168 + 0x259c" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);" (assignment_expression "piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8)" identifier = (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) ;) (expression_statement "puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);" (assignment_expression "puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" identifier = (pointer_expression "*(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" * (cast_expression "(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a4)" ( (binary_expression "PTR_DAT_00042168 + 0x25a4" identifier + number_literal) ))))) ;) (if_statement "if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }" if (parenthesized_expression "((undefined4 *)(*piVar1 + 0x14) == puVar3)" ( (binary_expression "(undefined4 *)(*piVar1 + 0x14) == puVar3" (cast_expression "(undefined4 *)(*piVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))) == identifier) )) (compound_statement "{\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }" { (expression_statement "PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;" (assignment_expression "PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40" (subscript_expression "PTR_DAT_00042168[0x25c4]" identifier [ number_literal ]) = (binary_expression "PTR_DAT_00042168[0x25c4] & 0xbf | 0x40" (binary_expression "PTR_DAT_00042168[0x25c4] & 0xbf" (subscript_expression "PTR_DAT_00042168[0x25c4]" identifier [ number_literal ]) & number_literal) | number_literal)) ;) })) (expression_statement "puVar2 = PTR_DAT_00042168;" (assignment_expression "puVar2 = PTR_DAT_00042168" identifier = identifier) ;) (expression_statement "uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);" (assignment_expression "uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4)" identifier = (binary_expression "*piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4)" (binary_expression "*piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4)" (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) + (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25b4)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25b4)" ( (binary_expression "PTR_DAT_00042168 + 0x25b4" identifier + number_literal) ))))) & (unary_expression "~*(uint *)(PTR_DAT_00042168 + 0x25b4)" ~ (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25b4)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25b4)" ( (binary_expression "PTR_DAT_00042168 + 0x25b4" identifier + number_literal) ))))))) ;) (expression_statement "*(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;" (assignment_expression "*(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4" (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = *(int *)(puVar2 + 0x25a0);" (assignment_expression "iVar6 = *(int *)(puVar2 + 0x25a0)" identifier = (pointer_expression "*(int *)(puVar2 + 0x25a0)" * (cast_expression "(int *)(puVar2 + 0x25a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x25a0)" ( (binary_expression "puVar2 + 0x25a0" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(puVar2 + 0x25ac);" (assignment_expression "iVar5 = *(int *)(puVar2 + 0x25ac)" identifier = (pointer_expression "*(int *)(puVar2 + 0x25ac)" * (cast_expression "(int *)(puVar2 + 0x25ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x25ac)" ( (binary_expression "puVar2 + 0x25ac" identifier + number_literal) ))))) ;) (if_statement "if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }" if (parenthesized_expression "((uint)(iVar5 - iVar6) < uVar4 - iVar6)" ( (binary_expression "(uint)(iVar5 - iVar6) < uVar4 - iVar6" (call_expression "(uint)(iVar5 - iVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 - iVar6)" ( (binary_expression "iVar5 - iVar6" identifier - identifier) ))) < (binary_expression "uVar4 - iVar6" identifier - identifier)) )) (compound_statement "{\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }" { (expression_statement "*(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;" (assignment_expression "*(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5" (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);" (assignment_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" (pointer_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4)" * (cast_expression "(undefined4 *)(PTR_DAT_00042168 + 0x25a4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a4)" ( (binary_expression "PTR_DAT_00042168 + 0x25a4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" * (cast_expression "(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" ( (binary_expression "PTR_DAT_00042168 + 0x25a8" identifier + number_literal) ))))) ;) (expression_statement "*puVar3 = param_1;" (assignment_expression "*puVar3 = param_1" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar3[1] = param_2;" (assignment_expression "puVar3[1] = param_2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[2] = 0xffffffff;" (assignment_expression "puVar3[2] = 0xffffffff" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[3] = param_3;" (assignment_expression "puVar3[3] = param_3" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) & (unary_expression ~ (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - IDENT) ))) < (binary_expression IDENT - IDENT)) )) (compound_statement { (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) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);\n  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  *puVar3 = param_1;\n  puVar3[1] = param_2;\n  puVar3[2] = 0xffffffff;\n  puVar3[3] = param_3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00012f80(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00012f80") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 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 "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }\n  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);\n  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);\n  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }\n  puVar2 = PTR_DAT_00042168;\n  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);\n  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;\n  iVar6 = *(int *)(puVar2 + 0x25a0);\n  iVar5 = *(int *)(puVar2 + 0x25ac);\n  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }\n  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);\n  *puVar3 = param_1;\n  puVar3[1] = param_2;\n  puVar3[2] = 0xffffffff;\n  puVar3[3] = param_3;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (if_statement "if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }" (if "if") (parenthesized_expression "((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14)" (( "(") (binary_expression "(uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14" (call_expression "(uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8))" (( "(") (binary_expression "*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)" (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25ac)" (* "*") (cast_expression "(int *)(PTR_DAT_00042168 + 0x25ac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25ac)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25ac" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25ac")) () ")")))) (- "-") (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25a8)" (* "*") (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25a8" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25a8")) () ")"))))) () ")"))) (< "<") (number_literal "0x14")) () ")")) (compound_statement "{\n    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);\n  }" ({ "{") (expression_statement "_obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);" (call_expression "_obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14)" (identifier "_obstack_newchunk") (argument_list "(PTR_DAT_00042168 + 0x259c,0x14)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x259c" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x259c")) (, ",") (number_literal "0x14") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);" (assignment_expression "piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8)" (identifier "piVar1") (= "=") (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25a8" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25a8")) () ")")))) (; ";")) (expression_statement "puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);" (assignment_expression "puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" (* "*") (cast_expression "(undefined4 **)(PTR_DAT_00042168 + 0x25a4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25a4)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25a4" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25a4")) () ")"))))) (; ";")) (if_statement "if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }" (if "if") (parenthesized_expression "((undefined4 *)(*piVar1 + 0x14) == puVar3)" (( "(") (binary_expression "(undefined4 *)(*piVar1 + 0x14) == puVar3" (cast_expression "(undefined4 *)(*piVar1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + 0x14)" (( "(") (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x14")) () ")"))) (== "==") (identifier "puVar3")) () ")")) (compound_statement "{\n    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;\n  }" ({ "{") (expression_statement "PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;" (assignment_expression "PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40" (subscript_expression "PTR_DAT_00042168[0x25c4]" (identifier "PTR_DAT_00042168") ([ "[") (number_literal "0x25c4") (] "]")) (= "=") (binary_expression "PTR_DAT_00042168[0x25c4] & 0xbf | 0x40" (binary_expression "PTR_DAT_00042168[0x25c4] & 0xbf" (subscript_expression "PTR_DAT_00042168[0x25c4]" (identifier "PTR_DAT_00042168") ([ "[") (number_literal "0x25c4") (] "]")) (& "&") (number_literal "0xbf")) (| "|") (number_literal "0x40"))) (; ";")) (} "}"))) (expression_statement "puVar2 = PTR_DAT_00042168;" (assignment_expression "puVar2 = PTR_DAT_00042168" (identifier "puVar2") (= "=") (identifier "PTR_DAT_00042168")) (; ";")) (expression_statement "uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);" (assignment_expression "uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4)" (identifier "uVar4") (= "=") (binary_expression "*piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &\n          ~*(uint *)(PTR_DAT_00042168 + 0x25b4)" (binary_expression "*piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4)" (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x14")) (+ "+") (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25b4)" (* "*") (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25b4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25b4)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25b4" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25b4")) () ")"))))) (& "&") (unary_expression "~*(uint *)(PTR_DAT_00042168 + 0x25b4)" (~ "~") (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25b4)" (* "*") (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25b4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25b4)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25b4" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25b4")) () ")"))))))) (; ";")) (expression_statement "*(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;" (assignment_expression "*(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4" (pointer_expression "*(uint *)(PTR_DAT_00042168 + 0x25a8)" (* "*") (cast_expression "(uint *)(PTR_DAT_00042168 + 0x25a8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25a8" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25a8")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "iVar6 = *(int *)(puVar2 + 0x25a0);" (assignment_expression "iVar6 = *(int *)(puVar2 + 0x25a0)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(puVar2 + 0x25a0)" (* "*") (cast_expression "(int *)(puVar2 + 0x25a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x25a0)" (( "(") (binary_expression "puVar2 + 0x25a0" (identifier "puVar2") (+ "+") (number_literal "0x25a0")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(puVar2 + 0x25ac);" (assignment_expression "iVar5 = *(int *)(puVar2 + 0x25ac)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(puVar2 + 0x25ac)" (* "*") (cast_expression "(int *)(puVar2 + 0x25ac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x25ac)" (( "(") (binary_expression "puVar2 + 0x25ac" (identifier "puVar2") (+ "+") (number_literal "0x25ac")) () ")"))))) (; ";")) (if_statement "if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }" (if "if") (parenthesized_expression "((uint)(iVar5 - iVar6) < uVar4 - iVar6)" (( "(") (binary_expression "(uint)(iVar5 - iVar6) < uVar4 - iVar6" (call_expression "(uint)(iVar5 - iVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar5 - iVar6)" (( "(") (binary_expression "iVar5 - iVar6" (identifier "iVar5") (- "-") (identifier "iVar6")) () ")"))) (< "<") (binary_expression "uVar4 - iVar6" (identifier "uVar4") (- "-") (identifier "iVar6"))) () ")")) (compound_statement "{\n    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;\n  }" ({ "{") (expression_statement "*(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;" (assignment_expression "*(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5" (pointer_expression "*(int *)(PTR_DAT_00042168 + 0x25a8)" (* "*") (cast_expression "(int *)(PTR_DAT_00042168 + 0x25a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25a8" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25a8")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);" (assignment_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" (pointer_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a4)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00042168 + 0x25a4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25a4)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25a4" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25a4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00042168 + 0x25a8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00042168 + 0x25a8)" (( "(") (binary_expression "PTR_DAT_00042168 + 0x25a8" (identifier "PTR_DAT_00042168") (+ "+") (number_literal "0x25a8")) () ")"))))) (; ";")) (expression_statement "*puVar3 = param_1;" (assignment_expression "*puVar3 = param_1" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar3[1] = param_2;" (assignment_expression "puVar3[1] = param_2" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar3[2] = 0xffffffff;" (assignment_expression "puVar3[2] = 0xffffffff" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "puVar3[3] = param_3;" (assignment_expression "puVar3[3] = param_3" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 * function_1(char *text,size_t length,type_2 type)

{
  int *piVar1;
  type_3 *var_4;
  type_1 *var_3;
  type_4 var_7;
  int var_5;
  int var_6;
  
  if ((type_4)(*(int *)(var_1 + 0x25ac) - *(int *)(var_1 + 0x25a8)) < 0x14) {
    var_2((type_5 *)(var_1 + 0x259c),0x14);
  }
  piVar1 = (int *)(var_1 + 0x25a8);
  var_3 = *(type_1 **)(var_1 + 0x25a4);
  if ((type_1 *)(*piVar1 + 0x14) == var_3) {
    var_1[0x25c4] = var_1[0x25c4] & 0xbf | 0x40;
  }
  var_4 = var_1;
  var_7 = (int)&((type_1 *)(*piVar1 + 0x14))->prefix + *(type_4 *)(var_1 + 0x25b4) &
          ~*(type_4 *)(var_1 + 0x25b4);
  *(type_4 *)(var_1 + 0x25a8) = var_7;
  var_6 = *(int *)(var_4 + 0x25a0);
  var_5 = *(int *)(var_4 + 0x25ac);
  if ((type_4)(var_5 - var_6) < var_7 - var_6) {
    *(int *)(var_1 + 0x25a8) = var_5;
  }
  *(type_6 *)(var_1 + 0x25a4) = *(type_6 *)(var_1 + 0x25a8);
  var_3->prefix = text;
  var_3->prefix_length = length;
  var_3->subst_id = -1;
  var_3->repl_type = type;
  return var_3;
}


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

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

{
  int *piVar1;
  undefined *puVar2;
  undefined4 *puVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  
  if ((uint)(*(int *)(PTR_DAT_00042168 + 0x25ac) - *(int *)(PTR_DAT_00042168 + 0x25a8)) < 0x14) {
    _obstack_newchunk(PTR_DAT_00042168 + 0x259c,0x14);
  }
  piVar1 = (int *)(PTR_DAT_00042168 + 0x25a8);
  puVar3 = *(undefined4 **)(PTR_DAT_00042168 + 0x25a4);
  if ((undefined4 *)(*piVar1 + 0x14) == puVar3) {
    PTR_DAT_00042168[0x25c4] = PTR_DAT_00042168[0x25c4] & 0xbf | 0x40;
  }
  puVar2 = PTR_DAT_00042168;
  uVar4 = *piVar1 + 0x14 + *(uint *)(PTR_DAT_00042168 + 0x25b4) &
          ~*(uint *)(PTR_DAT_00042168 + 0x25b4);
  *(uint *)(PTR_DAT_00042168 + 0x25a8) = uVar4;
  iVar6 = *(int *)(puVar2 + 0x25a0);
  iVar5 = *(int *)(puVar2 + 0x25ac);
  if ((uint)(iVar5 - iVar6) < uVar4 - iVar6) {
    *(int *)(PTR_DAT_00042168 + 0x25a8) = iVar5;
  }
  *(undefined4 *)(PTR_DAT_00042168 + 0x25a4) = *(undefined4 *)(PTR_DAT_00042168 + 0x25a8);
  *puVar3 = param_1;
  puVar3[1] = param_2;
  puVar3[2] = 0xffffffff;
  puVar3[3] = param_3;
  return;
}

