
void install_insn(mips_cl_insn *insn)

{
  undefined *puVar1;
  char *buf;
  uint uVar2;
  int iVar3;
  uint uVar4;
  undefined4 in_stack_ffffffec;
  
  puVar1 = PTR_DAT_000b5ca8;
  uVar4 = insn->insn_opcode;
  buf = insn->frag->fr_literal + insn->where;
  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {
                    /* WARNING: Subroutine does not return */
    md_number_to_chars(buf,CONCAT44(4,in_stack_ffffffec),uVar4);
  }
  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {
    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {
      uVar2 = 4;
    }
    else {
      uVar2 = 4;
      if (uVar4 >> 0x10 == 0) {
        uVar2 = 2;
      }
    }
  }
  else {
    uVar2 = 4;
    if (*(short *)&insn->insn_mo->mask == 0) {
      uVar2 = 2;
    }
  }
  write_compressed_insn(buf,uVar4,uVar2);
  uVar2 = *(uint *)(puVar1 + 0x53b0);
  iVar3 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);
  uVar4 = *(uint *)(iVar3 + 0x34);
  if (uVar4 >> 0x1f != uVar2) {
    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7);
    uVar4 = *(uint *)(iVar3 + 0x34);
  }
  uVar2 = *(uint *)(puVar1 + 0x53b4);
  if ((uVar4 << 1) >> 0x1f != uVar2) {
    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6);
  }
  return;
}



void FUN_00067d7c(int *param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  
  puVar1 = PTR_DAT_000b5ca8;
  uVar5 = param_1[1];
  iVar2 = param_1[2] + 0x4c + param_1[3];
  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {
    md_number_to_chars(iVar2,uVar5,0,uVar5,4);
  }
  else {
    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {
      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {
        uVar3 = 4;
      }
      else {
        uVar3 = 4;
        if (uVar5 >> 0x10 == 0) {
          uVar3 = 2;
        }
      }
    }
    else {
      uVar3 = 4;
      if (*(short *)(*param_1 + 0xc) == 0) {
        uVar3 = 2;
      }
    }
    FUN_00067cd0(iVar2,uVar5,uVar3);
  }
  uVar4 = *(uint *)(puVar1 + 0x53b0);
  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);
  uVar5 = *(uint *)(iVar2 + 0x34);
  if (uVar5 >> 0x1f != uVar4) {
    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);
    uVar5 = *(uint *)(iVar2 + 0x34);
  }
  uVar4 = *(uint *)(puVar1 + 0x53b4);
  if ((uVar5 << 1) >> 0x1f != uVar4) {
    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);
  }
  return;
}


lui gp,0x5
addiu gp,gp,0x5f04
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,0x8(a0)
lw a3,0xc(a0)
lw a1,0x4(a0)
sw s0,0x20(sp)
addiu v0,v0,0x4c
lw s0,-0x7fd8(gp)
sw gp,0x18(sp)
addu v0,v0,a3
sw ra,0x24(sp)
addiu s0,s0,0x53a8
lw a2,0x8(s0)
lw v1,0xc(s0)
or a3,a2,v1
beq a3,zero,0x00067e58
_lw t9,-0x7cf8(gp)
bne v1,zero,0x00067e78
_nop
beq a2,zero,0x00067e94
_li a0,0x2
srl a2,a1,0x10
li v1,0x4
movz v1,a0,a2
or a2,v1,zero
lw t9,-0x78bc(gp)
addiu t9,t9,0x7cd0
bal 0x00067cd0
_or a0,v0,zero
lw gp,0x18(sp)
lw v0,-0x7d64(gp)
lw a0,0x8(s0)
lw v0,0x0(v0)
lw v1,0x88(v0)
lw v0,0x34(v1)
srl a1,v0,0x1f
beq a1,a0,0x00067e2c
_nop
lbu v0,0x34(v1)
ins v0,a0,0x7,0x1
sb v0,0x34(v1)
lw v0,0x34(v1)
lw a0,0xc(s0)
ext v0,v0,0x1e,0x1
beq v0,a0,0x00067e4c
_lw ra,0x24(sp)
lbu v0,0x34(v1)
ins v0,a0,0x6,0x1
sb v0,0x34(v1)
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
li v1,0x4
or a2,zero,zero
sw v1,0x10(sp)
or a3,a1,zero
bal 0x00067ca0
_or a0,v0,zero
b 0x00067dfc
_lw gp,0x18(sp)
lw v1,0x0(a0)
li a0,0x2
lhu a2,0xc(v1)
li v1,0x4
movz v1,a0,a2
b 0x00067de8
_or a2,v1,zero
b 0x00067de8
_li a2,0x4
(translation_unit "void FUN_00067d7c(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar5 = param_1[1];\n  iVar2 = param_1[2] + 0x4c + param_1[3];\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b0);\n  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar5 = *(uint *)(iVar2 + 0x34);\n  if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00067d7c(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar5 = param_1[1];\n  iVar2 = param_1[2] + 0x4c + param_1[3];\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b0);\n  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar5 = *(uint *)(iVar2 + 0x34);\n  if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00067d7c(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar5 = param_1[1];\n  iVar2 = param_1[2] + 0x4c + param_1[3];\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b0);\n  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar5 = *(uint *)(iVar2 + 0x34);\n  if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_000b5ca8;" (assignment_expression "puVar1 = PTR_DAT_000b5ca8" identifier = identifier) ;) (expression_statement "uVar5 = param_1[1];" (assignment_expression "uVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[2] + 0x4c + param_1[3];" (assignment_expression "iVar2 = param_1[2] + 0x4c + param_1[3]" identifier = (binary_expression "param_1[2] + 0x4c + param_1[3]" (binary_expression "param_1[2] + 0x4c" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) + (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b0" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) == number_literal)) )) (compound_statement "{\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }" { (expression_statement "md_number_to_chars(iVar2,uVar5,0,uVar5,4);" (call_expression "md_number_to_chars(iVar2,uVar5,0,uVar5,4)" identifier (argument_list "(iVar2,uVar5,0,uVar5,4)" ( identifier , identifier , number_literal , identifier , number_literal ))) ;) }) (else_clause "else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" else (compound_statement "{\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" { (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }" { (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        uVar3 = 4;\n      }" { (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) }) (else_clause "else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" else (compound_statement "{\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" { (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (if_statement "if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }" if (parenthesized_expression "(uVar5 >> 0x10 == 0)" ( (binary_expression "uVar5 >> 0x10 == 0" (binary_expression "uVar5 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n          uVar3 = 2;\n        }" { (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" else (compound_statement "{\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" { (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (if_statement "if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }" if (parenthesized_expression "(*(short *)(*param_1 + 0xc) == 0)" ( (binary_expression "*(short *)(*param_1 + 0xc) == 0" (pointer_expression "*(short *)(*param_1 + 0xc)" * (cast_expression "(short *)(*param_1 + 0xc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n        uVar3 = 2;\n      }" { (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) })) }))) (expression_statement "FUN_00067cd0(iVar2,uVar5,uVar3);" (call_expression "FUN_00067cd0(iVar2,uVar5,uVar3)" identifier (argument_list "(iVar2,uVar5,uVar3)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "uVar4 = *(uint *)(puVar1 + 0x53b0);" (assignment_expression "uVar4 = *(uint *)(puVar1 + 0x53b0)" identifier = (pointer_expression "*(uint *)(puVar1 + 0x53b0)" * (cast_expression "(uint *)(puVar1 + 0x53b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x53b0)" ( (binary_expression "puVar1 + 0x53b0" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);" (assignment_expression "iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" identifier = (pointer_expression "*(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" * (cast_expression "(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_now_seg_000b5f1c + 0x88)" ( (binary_expression "*(int *)PTR_now_seg_000b5f1c + 0x88" (pointer_expression "*(int *)PTR_now_seg_000b5f1c" * (cast_expression "(int *)PTR_now_seg_000b5f1c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x34);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x34)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x34)" * (cast_expression "(uint *)(iVar2 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }" if (parenthesized_expression "(uVar5 >> 0x1f != uVar4)" ( (binary_expression "uVar5 >> 0x1f != uVar4" (binary_expression "uVar5 >> 0x1f" identifier >> number_literal) != identifier) )) (compound_statement "{\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }" { (expression_statement "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);" (assignment_expression "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7)" (pointer_expression "*(byte *)(iVar2 + 0x34)" * (cast_expression "(byte *)(iVar2 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7)" (binary_expression "*(byte *)(iVar2 + 0x34) & 0x7f" (pointer_expression "*(byte *)(iVar2 + 0x34)" * (cast_expression "(byte *)(iVar2 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) & number_literal) | (call_expression "(byte)((uVar4 & 1) << 7)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((uVar4 & 1) << 7)" ( (binary_expression "(uVar4 & 1) << 7" (parenthesized_expression "(uVar4 & 1)" ( (binary_expression "uVar4 & 1" identifier & number_literal) )) << number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x34);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x34)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x34)" * (cast_expression "(uint *)(iVar2 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) })) (expression_statement "uVar4 = *(uint *)(puVar1 + 0x53b4);" (assignment_expression "uVar4 = *(uint *)(puVar1 + 0x53b4)" identifier = (pointer_expression "*(uint *)(puVar1 + 0x53b4)" * (cast_expression "(uint *)(puVar1 + 0x53b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x53b4)" ( (binary_expression "puVar1 + 0x53b4" identifier + number_literal) ))))) ;) (if_statement "if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }" if (parenthesized_expression "((uVar5 << 1) >> 0x1f != uVar4)" ( (binary_expression "(uVar5 << 1) >> 0x1f != uVar4" (binary_expression "(uVar5 << 1) >> 0x1f" (parenthesized_expression "(uVar5 << 1)" ( (binary_expression "uVar5 << 1" identifier << number_literal) )) >> number_literal) != identifier) )) (compound_statement "{\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }" { (expression_statement "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);" (assignment_expression "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6)" (pointer_expression "*(byte *)(iVar2 + 0x34)" * (cast_expression "(byte *)(iVar2 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6)" (binary_expression "*(byte *)(iVar2 + 0x34) & 0xbf" (pointer_expression "*(byte *)(iVar2 + 0x34)" * (cast_expression "(byte *)(iVar2 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) & number_literal) | (call_expression "(byte)((uVar4 & 1) << 6)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((uVar4 & 1) << 6)" ( (binary_expression "(uVar4 & 1) << 6" (parenthesized_expression "(uVar4 & 1)" ( (binary_expression "uVar4 & 1" identifier & number_literal) )) << number_literal) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void install_insn(mips_cl_insn *insn)\n\n{\n  undefined *puVar1;\n  char *buf;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 in_stack_ffffffec;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar4 = insn->insn_opcode;\n  buf = insn->frag->fr_literal + insn->where;\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    md_number_to_chars(buf,CONCAT44(4,in_stack_ffffffec),uVar4);\n  }\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n      uVar2 = 4;\n    }\n    else {\n      uVar2 = 4;\n      if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }\n    }\n  }\n  else {\n    uVar2 = 4;\n    if (*(short *)&insn->insn_mo->mask == 0) {\n      uVar2 = 2;\n    }\n  }\n  write_compressed_insn(buf,uVar4,uVar2);\n  uVar2 = *(uint *)(puVar1 + 0x53b0);\n  iVar3 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar4 = *(uint *)(iVar3 + 0x34);\n  if (uVar4 >> 0x1f != uVar2) {\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7);\n    uVar4 = *(uint *)(iVar3 + 0x34);\n  }\n  uVar2 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar4 << 1) >> 0x1f != uVar2) {\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6);\n  }\n  return;\n}\n\n" (function_definition "void install_insn(mips_cl_insn *insn)\n\n{\n  undefined *puVar1;\n  char *buf;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 in_stack_ffffffec;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar4 = insn->insn_opcode;\n  buf = insn->frag->fr_literal + insn->where;\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    md_number_to_chars(buf,CONCAT44(4,in_stack_ffffffec),uVar4);\n  }\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n      uVar2 = 4;\n    }\n    else {\n      uVar2 = 4;\n      if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }\n    }\n  }\n  else {\n    uVar2 = 4;\n    if (*(short *)&insn->insn_mo->mask == 0) {\n      uVar2 = 2;\n    }\n  }\n  write_compressed_insn(buf,uVar4,uVar2);\n  uVar2 = *(uint *)(puVar1 + 0x53b0);\n  iVar3 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar4 = *(uint *)(iVar3 + 0x34);\n  if (uVar4 >> 0x1f != uVar2) {\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7);\n    uVar4 = *(uint *)(iVar3 + 0x34);\n  }\n  uVar2 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar4 << 1) >> 0x1f != uVar2) {\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6);\n  }\n  return;\n}" primitive_type (function_declarator "install_insn(mips_cl_insn *insn)" identifier (parameter_list "(mips_cl_insn *insn)" ( (parameter_declaration "mips_cl_insn *insn" type_identifier (pointer_declarator "*insn" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  char *buf;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 in_stack_ffffffec;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar4 = insn->insn_opcode;\n  buf = insn->frag->fr_literal + insn->where;\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    md_number_to_chars(buf,CONCAT44(4,in_stack_ffffffec),uVar4);\n  }\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n      uVar2 = 4;\n    }\n    else {\n      uVar2 = 4;\n      if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }\n    }\n  }\n  else {\n    uVar2 = 4;\n    if (*(short *)&insn->insn_mo->mask == 0) {\n      uVar2 = 2;\n    }\n  }\n  write_compressed_insn(buf,uVar4,uVar2);\n  uVar2 = *(uint *)(puVar1 + 0x53b0);\n  iVar3 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar4 = *(uint *)(iVar3 + 0x34);\n  if (uVar4 >> 0x1f != uVar2) {\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7);\n    uVar4 = *(uint *)(iVar3 + 0x34);\n  }\n  uVar2 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar4 << 1) >> 0x1f != uVar2) {\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *buf;" primitive_type (pointer_declarator "*buf" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffffec;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_000b5ca8;" (assignment_expression "puVar1 = PTR_DAT_000b5ca8" identifier = identifier) ;) (expression_statement "uVar4 = insn->insn_opcode;" (assignment_expression "uVar4 = insn->insn_opcode" identifier = (field_expression "insn->insn_opcode" identifier -> field_identifier)) ;) (expression_statement "buf = insn->frag->fr_literal + insn->where;" (assignment_expression "buf = insn->frag->fr_literal + insn->where" identifier = (binary_expression "insn->frag->fr_literal + insn->where" (field_expression "insn->frag->fr_literal" (field_expression "insn->frag" identifier -> field_identifier) -> field_identifier) + (field_expression "insn->where" identifier -> field_identifier))) ;) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    md_number_to_chars(buf,CONCAT44(4,in_stack_ffffffec),uVar4);\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b0" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) == number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    md_number_to_chars(buf,CONCAT44(4,in_stack_ffffffec),uVar4);\n  }" { comment (expression_statement "md_number_to_chars(buf,CONCAT44(4,in_stack_ffffffec),uVar4);" (call_expression "md_number_to_chars(buf,CONCAT44(4,in_stack_ffffffec),uVar4)" identifier (argument_list "(buf,CONCAT44(4,in_stack_ffffffec),uVar4)" ( identifier , (call_expression "CONCAT44(4,in_stack_ffffffec)" identifier (argument_list "(4,in_stack_ffffffec)" ( number_literal , identifier ))) , identifier ))) ;) })) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n      uVar2 = 4;\n    }\n    else {\n      uVar2 = 4;\n      if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }\n    }\n  }\n  else {\n    uVar2 = 4;\n    if (*(short *)&insn->insn_mo->mask == 0) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n      uVar2 = 4;\n    }\n    else {\n      uVar2 = 4;\n      if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }\n    }\n  }" { (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n      uVar2 = 4;\n    }\n    else {\n      uVar2 = 4;\n      if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }\n    }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar2 = 4;\n    }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = 4;\n      if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }\n    }" else (compound_statement "{\n      uVar2 = 4;\n      if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }\n    }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) (if_statement "if (uVar4 >> 0x10 == 0) {\n        uVar2 = 2;\n      }" if (parenthesized_expression "(uVar4 >> 0x10 == 0)" ( (binary_expression "uVar4 >> 0x10 == 0" (binary_expression "uVar4 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n        uVar2 = 2;\n      }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n    uVar2 = 4;\n    if (*(short *)&insn->insn_mo->mask == 0) {\n      uVar2 = 2;\n    }\n  }" else (compound_statement "{\n    uVar2 = 4;\n    if (*(short *)&insn->insn_mo->mask == 0) {\n      uVar2 = 2;\n    }\n  }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) (if_statement "if (*(short *)&insn->insn_mo->mask == 0) {\n      uVar2 = 2;\n    }" if (parenthesized_expression "(*(short *)&insn->insn_mo->mask == 0)" ( (binary_expression "*(short *)&insn->insn_mo->mask == 0" (pointer_expression "*(short *)&insn->insn_mo->mask" * (cast_expression "(short *)&insn->insn_mo->mask" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&insn->insn_mo->mask" & (field_expression "insn->insn_mo->mask" (field_expression "insn->insn_mo" identifier -> field_identifier) -> field_identifier)))) == number_literal) )) (compound_statement "{\n      uVar2 = 2;\n    }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) })) }))) (expression_statement "write_compressed_insn(buf,uVar4,uVar2);" (call_expression "write_compressed_insn(buf,uVar4,uVar2)" identifier (argument_list "(buf,uVar4,uVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar2 = *(uint *)(puVar1 + 0x53b0);" (assignment_expression "uVar2 = *(uint *)(puVar1 + 0x53b0)" identifier = (pointer_expression "*(uint *)(puVar1 + 0x53b0)" * (cast_expression "(uint *)(puVar1 + 0x53b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x53b0)" ( (binary_expression "puVar1 + 0x53b0" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);" (assignment_expression "iVar3 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" identifier = (pointer_expression "*(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" * (cast_expression "(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_now_seg_000b5f1c + 0x88)" ( (binary_expression "*(int *)PTR_now_seg_000b5f1c + 0x88" (pointer_expression "*(int *)PTR_now_seg_000b5f1c" * (cast_expression "(int *)PTR_now_seg_000b5f1c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(iVar3 + 0x34);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 0x34)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x34)" * (cast_expression "(uint *)(iVar3 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (uVar4 >> 0x1f != uVar2) {\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7);\n    uVar4 = *(uint *)(iVar3 + 0x34);\n  }" if (parenthesized_expression "(uVar4 >> 0x1f != uVar2)" ( (binary_expression "uVar4 >> 0x1f != uVar2" (binary_expression "uVar4 >> 0x1f" identifier >> number_literal) != identifier) )) (compound_statement "{\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7);\n    uVar4 = *(uint *)(iVar3 + 0x34);\n  }" { (expression_statement "*(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7);" (assignment_expression "*(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7)" (pointer_expression "*(byte *)(iVar3 + 0x34)" * (cast_expression "(byte *)(iVar3 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar3 + 0x34) & 0x7f | (byte)((uVar2 & 1) << 7)" (binary_expression "*(byte *)(iVar3 + 0x34) & 0x7f" (pointer_expression "*(byte *)(iVar3 + 0x34)" * (cast_expression "(byte *)(iVar3 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) )))) & number_literal) | (call_expression "(byte)((uVar2 & 1) << 7)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((uVar2 & 1) << 7)" ( (binary_expression "(uVar2 & 1) << 7" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) << number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(iVar3 + 0x34);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 0x34)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x34)" * (cast_expression "(uint *)(iVar3 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) ))))) ;) })) (expression_statement "uVar2 = *(uint *)(puVar1 + 0x53b4);" (assignment_expression "uVar2 = *(uint *)(puVar1 + 0x53b4)" identifier = (pointer_expression "*(uint *)(puVar1 + 0x53b4)" * (cast_expression "(uint *)(puVar1 + 0x53b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x53b4)" ( (binary_expression "puVar1 + 0x53b4" identifier + number_literal) ))))) ;) (if_statement "if ((uVar4 << 1) >> 0x1f != uVar2) {\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6);\n  }" if (parenthesized_expression "((uVar4 << 1) >> 0x1f != uVar2)" ( (binary_expression "(uVar4 << 1) >> 0x1f != uVar2" (binary_expression "(uVar4 << 1) >> 0x1f" (parenthesized_expression "(uVar4 << 1)" ( (binary_expression "uVar4 << 1" identifier << number_literal) )) >> number_literal) != identifier) )) (compound_statement "{\n    *(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6);\n  }" { (expression_statement "*(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6);" (assignment_expression "*(byte *)(iVar3 + 0x34) = *(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6)" (pointer_expression "*(byte *)(iVar3 + 0x34)" * (cast_expression "(byte *)(iVar3 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar3 + 0x34) & 0xbf | (byte)((uVar2 & 1) << 6)" (binary_expression "*(byte *)(iVar3 + 0x34) & 0xbf" (pointer_expression "*(byte *)(iVar3 + 0x34)" * (cast_expression "(byte *)(iVar3 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) )))) & number_literal) | (call_expression "(byte)((uVar2 & 1) << 6)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((uVar2 & 1) << 6)" ( (binary_expression "(uVar2 & 1) << 6" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) << number_literal) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00067d7c(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar5 = param_1[1];\n  iVar2 = param_1[2] + 0x4c + param_1[3];\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b0);\n  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar5 = *(uint *)(iVar2 + 0x34);\n  if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00067d7c(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar5 = param_1[1];\n  iVar2 = param_1[2] + 0x4c + param_1[3];\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b0);\n  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar5 = *(uint *)(iVar2 + 0x34);\n  if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00067d7c(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar5 = param_1[1];\n  iVar2 = param_1[2] + 0x4c + param_1[3];\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b0);\n  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar5 = *(uint *)(iVar2 + 0x34);\n  if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_000b5ca8;" (assignment_expression "puVar1 = PTR_DAT_000b5ca8" identifier = identifier) ;) (expression_statement "uVar5 = param_1[1];" (assignment_expression "uVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[2] + 0x4c + param_1[3];" (assignment_expression "iVar2 = param_1[2] + 0x4c + param_1[3]" identifier = (binary_expression "param_1[2] + 0x4c + param_1[3]" (binary_expression "param_1[2] + 0x4c" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) + (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b0" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) == number_literal)) )) (compound_statement "{\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }" { (expression_statement "md_number_to_chars(iVar2,uVar5,0,uVar5,4);" (call_expression "md_number_to_chars(iVar2,uVar5,0,uVar5,4)" identifier (argument_list "(iVar2,uVar5,0,uVar5,4)" ( identifier , identifier , number_literal , identifier , number_literal ))) ;) }) (else_clause "else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" else (compound_statement "{\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" { (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }" { (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        uVar3 = 4;\n      }" { (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) }) (else_clause "else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" else (compound_statement "{\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" { (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (if_statement "if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }" if (parenthesized_expression "(uVar5 >> 0x10 == 0)" ( (binary_expression "uVar5 >> 0x10 == 0" (binary_expression "uVar5 >> 0x10" identifier >> number_literal) == number_literal) )) (compound_statement "{\n          uVar3 = 2;\n        }" { (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" else (compound_statement "{\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" { (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (if_statement "if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }" if (parenthesized_expression "(*(short *)(*param_1 + 0xc) == 0)" ( (binary_expression "*(short *)(*param_1 + 0xc) == 0" (pointer_expression "*(short *)(*param_1 + 0xc)" * (cast_expression "(short *)(*param_1 + 0xc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n        uVar3 = 2;\n      }" { (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) })) }))) (expression_statement "FUN_00067cd0(iVar2,uVar5,uVar3);" (call_expression "FUN_00067cd0(iVar2,uVar5,uVar3)" identifier (argument_list "(iVar2,uVar5,uVar3)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "uVar4 = *(uint *)(puVar1 + 0x53b0);" (assignment_expression "uVar4 = *(uint *)(puVar1 + 0x53b0)" identifier = (pointer_expression "*(uint *)(puVar1 + 0x53b0)" * (cast_expression "(uint *)(puVar1 + 0x53b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x53b0)" ( (binary_expression "puVar1 + 0x53b0" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);" (assignment_expression "iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" identifier = (pointer_expression "*(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" * (cast_expression "(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_now_seg_000b5f1c + 0x88)" ( (binary_expression "*(int *)PTR_now_seg_000b5f1c + 0x88" (pointer_expression "*(int *)PTR_now_seg_000b5f1c" * (cast_expression "(int *)PTR_now_seg_000b5f1c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x34);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x34)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x34)" * (cast_expression "(uint *)(iVar2 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }" if (parenthesized_expression "(uVar5 >> 0x1f != uVar4)" ( (binary_expression "uVar5 >> 0x1f != uVar4" (binary_expression "uVar5 >> 0x1f" identifier >> number_literal) != identifier) )) (compound_statement "{\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }" { (expression_statement "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);" (assignment_expression "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7)" (pointer_expression "*(byte *)(iVar2 + 0x34)" * (cast_expression "(byte *)(iVar2 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7)" (binary_expression "*(byte *)(iVar2 + 0x34) & 0x7f" (pointer_expression "*(byte *)(iVar2 + 0x34)" * (cast_expression "(byte *)(iVar2 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) & number_literal) | (call_expression "(byte)((uVar4 & 1) << 7)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((uVar4 & 1) << 7)" ( (binary_expression "(uVar4 & 1) << 7" (parenthesized_expression "(uVar4 & 1)" ( (binary_expression "uVar4 & 1" identifier & number_literal) )) << number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x34);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x34)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x34)" * (cast_expression "(uint *)(iVar2 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) })) (expression_statement "uVar4 = *(uint *)(puVar1 + 0x53b4);" (assignment_expression "uVar4 = *(uint *)(puVar1 + 0x53b4)" identifier = (pointer_expression "*(uint *)(puVar1 + 0x53b4)" * (cast_expression "(uint *)(puVar1 + 0x53b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x53b4)" ( (binary_expression "puVar1 + 0x53b4" identifier + number_literal) ))))) ;) (if_statement "if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }" if (parenthesized_expression "((uVar5 << 1) >> 0x1f != uVar4)" ( (binary_expression "(uVar5 << 1) >> 0x1f != uVar4" (binary_expression "(uVar5 << 1) >> 0x1f" (parenthesized_expression "(uVar5 << 1)" ( (binary_expression "uVar5 << 1" identifier << number_literal) )) >> number_literal) != identifier) )) (compound_statement "{\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }" { (expression_statement "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);" (assignment_expression "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6)" (pointer_expression "*(byte *)(iVar2 + 0x34)" * (cast_expression "(byte *)(iVar2 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6)" (binary_expression "*(byte *)(iVar2 + 0x34) & 0xbf" (pointer_expression "*(byte *)(iVar2 + 0x34)" * (cast_expression "(byte *)(iVar2 + 0x34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) & number_literal) | (call_expression "(byte)((uVar4 & 1) << 6)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((uVar4 & 1) << 6)" ( (binary_expression "(uVar4 & 1) << 6" (parenthesized_expression "(uVar4 & 1)" ( (binary_expression "uVar4 & 1" identifier & number_literal) )) << number_literal) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) && (binary_expression (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 ( IDENT , IDENT , LIT , IDENT , LIT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (binary_expression IDENT >> LIT) != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT) != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00067d7c(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar5 = param_1[1];\n  iVar2 = param_1[2] + 0x4c + param_1[3];\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b0);\n  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar5 = *(uint *)(iVar2 + 0x34);\n  if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00067d7c(int *param_1)" (identifier "FUN_00067d7c") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  puVar1 = PTR_DAT_000b5ca8;\n  uVar5 = param_1[1];\n  iVar2 = param_1[2] + 0x4c + param_1[3];\n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b0);\n  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);\n  uVar5 = *(uint *)(iVar2 + 0x34);\n  if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }\n  uVar4 = *(uint *)(puVar1 + 0x53b4);\n  if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "puVar1 = PTR_DAT_000b5ca8;" (assignment_expression "puVar1 = PTR_DAT_000b5ca8" (identifier "puVar1") (= "=") (identifier "PTR_DAT_000b5ca8")) (; ";")) (expression_statement "uVar5 = param_1[1];" (assignment_expression "uVar5 = param_1[1]" (identifier "uVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar2 = param_1[2] + 0x4c + param_1[3];" (assignment_expression "iVar2 = param_1[2] + 0x4c + param_1[3]" (identifier "iVar2") (= "=") (binary_expression "param_1[2] + 0x4c + param_1[3]" (binary_expression "param_1[2] + 0x4c" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x4c")) (+ "+") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }\n  else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0)" (* "*") (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b0)" (( "(") (binary_expression "PTR_DAT_000b5ca8 + 0x53b0" (identifier "PTR_DAT_000b5ca8") (+ "+") (number_literal "0x53b0")) () ")")))) (== "==") (number_literal "0")) (&& "&&") (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" (* "*") (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" (( "(") (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" (identifier "PTR_DAT_000b5ca8") (+ "+") (number_literal "0x53b4")) () ")")))) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    md_number_to_chars(iVar2,uVar5,0,uVar5,4);\n  }" ({ "{") (expression_statement "md_number_to_chars(iVar2,uVar5,0,uVar5,4);" (call_expression "md_number_to_chars(iVar2,uVar5,0,uVar5,4)" (identifier "md_number_to_chars") (argument_list "(iVar2,uVar5,0,uVar5,4)" (( "(") (identifier "iVar2") (, ",") (identifier "uVar5") (, ",") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (number_literal "4") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" (else "else") (compound_statement "{\n    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }\n    FUN_00067cd0(iVar2,uVar5,uVar3);\n  }" ({ "{") (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }\n    else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" (* "*") (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" (( "(") (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" (identifier "PTR_DAT_000b5ca8") (+ "+") (number_literal "0x53b4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }\n    }" ({ "{") (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {\n        uVar3 = 4;\n      }\n      else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b0)" (* "*") (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b0)" (( "(") (binary_expression "PTR_DAT_000b5ca8 + 0x53b0" (identifier "PTR_DAT_000b5ca8") (+ "+") (number_literal "0x53b0")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = 4;\n      }" ({ "{") (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" (identifier "uVar3") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else {\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" (else "else") (compound_statement "{\n        uVar3 = 4;\n        if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }\n      }" ({ "{") (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" (identifier "uVar3") (= "=") (number_literal "4")) (; ";")) (if_statement "if (uVar5 >> 0x10 == 0) {\n          uVar3 = 2;\n        }" (if "if") (parenthesized_expression "(uVar5 >> 0x10 == 0)" (( "(") (binary_expression "uVar5 >> 0x10 == 0" (binary_expression "uVar5 >> 0x10" (identifier "uVar5") (>> ">>") (number_literal "0x10")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar3 = 2;\n        }" ({ "{") (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" (identifier "uVar3") (= "=") (number_literal "2")) (; ";")) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" (else "else") (compound_statement "{\n      uVar3 = 4;\n      if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }\n    }" ({ "{") (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" (identifier "uVar3") (= "=") (number_literal "4")) (; ";")) (if_statement "if (*(short *)(*param_1 + 0xc) == 0) {\n        uVar3 = 2;\n      }" (if "if") (parenthesized_expression "(*(short *)(*param_1 + 0xc) == 0)" (( "(") (binary_expression "*(short *)(*param_1 + 0xc) == 0" (pointer_expression "*(short *)(*param_1 + 0xc)" (* "*") (cast_expression "(short *)(*param_1 + 0xc)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = 2;\n      }" ({ "{") (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" (identifier "uVar3") (= "=") (number_literal "2")) (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_00067cd0(iVar2,uVar5,uVar3);" (call_expression "FUN_00067cd0(iVar2,uVar5,uVar3)" (identifier "FUN_00067cd0") (argument_list "(iVar2,uVar5,uVar3)" (( "(") (identifier "iVar2") (, ",") (identifier "uVar5") (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar4 = *(uint *)(puVar1 + 0x53b0);" (assignment_expression "uVar4 = *(uint *)(puVar1 + 0x53b0)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(puVar1 + 0x53b0)" (* "*") (cast_expression "(uint *)(puVar1 + 0x53b0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x53b0)" (( "(") (binary_expression "puVar1 + 0x53b0" (identifier "puVar1") (+ "+") (number_literal "0x53b0")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);" (assignment_expression "iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" (* "*") (cast_expression "(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_now_seg_000b5f1c + 0x88)" (( "(") (binary_expression "*(int *)PTR_now_seg_000b5f1c + 0x88" (pointer_expression "*(int *)PTR_now_seg_000b5f1c" (* "*") (cast_expression "(int *)PTR_now_seg_000b5f1c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_now_seg_000b5f1c"))) (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x34);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x34)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x34)" (* "*") (cast_expression "(uint *)(iVar2 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (if_statement "if (uVar5 >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }" (if "if") (parenthesized_expression "(uVar5 >> 0x1f != uVar4)" (( "(") (binary_expression "uVar5 >> 0x1f != uVar4" (binary_expression "uVar5 >> 0x1f" (identifier "uVar5") (>> ">>") (number_literal "0x1f")) (!= "!=") (identifier "uVar4")) () ")")) (compound_statement "{\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);\n    uVar5 = *(uint *)(iVar2 + 0x34);\n  }" ({ "{") (expression_statement "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);" (assignment_expression "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7)" (pointer_expression "*(byte *)(iVar2 + 0x34)" (* "*") (cast_expression "(byte *)(iVar2 + 0x34)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7)" (binary_expression "*(byte *)(iVar2 + 0x34) & 0x7f" (pointer_expression "*(byte *)(iVar2 + 0x34)" (* "*") (cast_expression "(byte *)(iVar2 + 0x34)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (& "&") (number_literal "0x7f")) (| "|") (call_expression "(byte)((uVar4 & 1) << 7)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((uVar4 & 1) << 7)" (( "(") (binary_expression "(uVar4 & 1) << 7" (parenthesized_expression "(uVar4 & 1)" (( "(") (binary_expression "uVar4 & 1" (identifier "uVar4") (& "&") (number_literal "1")) () ")")) (<< "<<") (number_literal "7")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x34);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x34)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x34)" (* "*") (cast_expression "(uint *)(iVar2 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar4 = *(uint *)(puVar1 + 0x53b4);" (assignment_expression "uVar4 = *(uint *)(puVar1 + 0x53b4)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(puVar1 + 0x53b4)" (* "*") (cast_expression "(uint *)(puVar1 + 0x53b4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x53b4)" (( "(") (binary_expression "puVar1 + 0x53b4" (identifier "puVar1") (+ "+") (number_literal "0x53b4")) () ")"))))) (; ";")) (if_statement "if ((uVar5 << 1) >> 0x1f != uVar4) {\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }" (if "if") (parenthesized_expression "((uVar5 << 1) >> 0x1f != uVar4)" (( "(") (binary_expression "(uVar5 << 1) >> 0x1f != uVar4" (binary_expression "(uVar5 << 1) >> 0x1f" (parenthesized_expression "(uVar5 << 1)" (( "(") (binary_expression "uVar5 << 1" (identifier "uVar5") (<< "<<") (number_literal "1")) () ")")) (>> ">>") (number_literal "0x1f")) (!= "!=") (identifier "uVar4")) () ")")) (compound_statement "{\n    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);\n  }" ({ "{") (expression_statement "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);" (assignment_expression "*(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6)" (pointer_expression "*(byte *)(iVar2 + 0x34)" (* "*") (cast_expression "(byte *)(iVar2 + 0x34)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6)" (binary_expression "*(byte *)(iVar2 + 0x34) & 0xbf" (pointer_expression "*(byte *)(iVar2 + 0x34)" (* "*") (cast_expression "(byte *)(iVar2 + 0x34)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (& "&") (number_literal "0xbf")) (| "|") (call_expression "(byte)((uVar4 & 1) << 6)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((uVar4 & 1) << 6)" (( "(") (binary_expression "(uVar4 & 1) << 6" (parenthesized_expression "(uVar4 & 1)" (( "(") (binary_expression "uVar4 & 1" (identifier "uVar4") (& "&") (number_literal "1")) () ")")) (<< "<<") (number_literal "6")) () ")"))))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *insn)

{
  type_2 *var_6;
  char *buf;
  type_3 var_8;
  int var_7;
  type_3 var_4;
  type_4 in_stack_ffffffec;
  
  var_6 = var_1;
  var_4 = insn->insn_opcode;
  buf = insn->frag->fr_literal + insn->where;
  if (*(int *)(var_1 + 0x53b0) == 0 && *(int *)(var_1 + 0x53b4) == 0) {
                    /* WARNING: Subroutine does not return */
    var_2(buf,var_3(4,in_stack_ffffffec),var_4);
  }
  if (*(int *)(var_1 + 0x53b4) == 0) {
    if (*(int *)(var_1 + 0x53b0) == 0) {
      var_8 = 4;
    }
    else {
      var_8 = 4;
      if (var_4 >> 0x10 == 0) {
        var_8 = 2;
      }
    }
  }
  else {
    var_8 = 4;
    if (*(short *)&insn->insn_mo->mask == 0) {
      var_8 = 2;
    }
  }
  var_5(buf,var_4,var_8);
  var_8 = *(type_3 *)(var_6 + 0x53b0);
  var_7 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);
  var_4 = *(type_3 *)(var_7 + 0x34);
  if (var_4 >> 0x1f != var_8) {
    *(type_5 *)(var_7 + 0x34) = *(type_5 *)(var_7 + 0x34) & 0x7f | (type_5)((var_8 & 1) << 7);
    var_4 = *(type_3 *)(var_7 + 0x34);
  }
  var_8 = *(type_3 *)(var_6 + 0x53b4);
  if ((var_4 << 1) >> 0x1f != var_8) {
    *(type_5 *)(var_7 + 0x34) = *(type_5 *)(var_7 + 0x34) & 0xbf | (type_5)((var_8 & 1) << 6);
  }
  return;
}


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

void MASKED(int *param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  
  puVar1 = PTR_DAT_000b5ca8;
  uVar5 = param_1[1];
  iVar2 = param_1[2] + 0x4c + param_1[3];
  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0 && *(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {
    md_number_to_chars(iVar2,uVar5,0,uVar5,4);
  }
  else {
    if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) == 0) {
      if (*(int *)(PTR_DAT_000b5ca8 + 0x53b0) == 0) {
        uVar3 = 4;
      }
      else {
        uVar3 = 4;
        if (uVar5 >> 0x10 == 0) {
          uVar3 = 2;
        }
      }
    }
    else {
      uVar3 = 4;
      if (*(short *)(*param_1 + 0xc) == 0) {
        uVar3 = 2;
      }
    }
    FUN_00067cd0(iVar2,uVar5,uVar3);
  }
  uVar4 = *(uint *)(puVar1 + 0x53b0);
  iVar2 = *(int *)(*(int *)PTR_now_seg_000b5f1c + 0x88);
  uVar5 = *(uint *)(iVar2 + 0x34);
  if (uVar5 >> 0x1f != uVar4) {
    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0x7f | (byte)((uVar4 & 1) << 7);
    uVar5 = *(uint *)(iVar2 + 0x34);
  }
  uVar4 = *(uint *)(puVar1 + 0x53b4);
  if ((uVar5 << 1) >> 0x1f != uVar4) {
    *(byte *)(iVar2 + 0x34) = *(byte *)(iVar2 + 0x34) & 0xbf | (byte)((uVar4 & 1) << 6);
  }
  return;
}

