
void free_debug_section(dwarf_section_display_enum debug)

{
  void *__ptr;
  long lVar1;
  
  lVar1 = (ulong)debug * 0x70;
  __ptr = *(void **)(&DAT_00155ae0 + lVar1);
  if (__ptr != (void *)0x0) {
    lVar1 = *(long *)(&DAT_00155b10 + lVar1);
    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {
      *(undefined8 *)(lVar1 + 0xb0) = 0;
      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;
      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;
    }
    free(__ptr);
    lVar1 = (ulong)debug * 0x70;
    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;
    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;
    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;
  }
  return;
}



void FUN_0010e270(ulong param_1)

{
  void *__ptr;
  long lVar1;
  
  lVar1 = (param_1 & 0xffffffff) * 0x70;
  __ptr = *(void **)(&DAT_00155ae0 + lVar1);
  if (__ptr != (void *)0x0) {
    lVar1 = *(long *)(&DAT_00155b10 + lVar1);
    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {
      *(undefined8 *)(lVar1 + 0xb0) = 0;
      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;
      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;
    }
    free(__ptr);
    lVar1 = (param_1 & 0xffffffff) * 0x70;
    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;
    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;
    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;
  }
  return;
}


PUSH RBP
LEA RBP,[0x155ac0]
PUSH RBX
MOV EBX,EDI
LEA RAX,[RBX*0x8]
SUB RAX,RBX
SHL RAX,0x4
SUB RSP,0x8
ADD RAX,RBP
MOV RDI,qword ptr [RAX + 0x20]
TEST RDI,RDI
JZ 0x0010e2db
MOV RAX,qword ptr [RAX + 0x50]
TEST RAX,RAX
JZ 0x0010e2ac
CMP RDI,qword ptr [RAX + 0xb0]
JZ 0x0010e2e8
CALL 0x00107070
LEA RAX,[RBX*0x8]
SUB RAX,RBX
SHL RAX,0x4
ADD RAX,RBP
MOV qword ptr [RAX + 0x20],0x0
MOV qword ptr [RAX + 0x28],0x0
MOV qword ptr [RAX + 0x30],0x0
ADD RSP,0x8
POP RBX
POP RBP
RET
MOV qword ptr [RAX + 0xb0],0x0
AND dword ptr [RAX + 0x20],0xffffbfff
AND byte ptr [RAX + 0x24],0xcf
JMP 0x0010e2ac
(translation_unit "void FUN_0010e270(ulong param_1)\n\n{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (param_1 & 0xffffffff) * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010e270(ulong param_1)\n\n{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (param_1 & 0xffffffff) * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010e270(ulong param_1)" identifier (parameter_list "(ulong param_1)" ( (parameter_declaration "ulong param_1" type_identifier identifier) ))) (compound_statement "{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (param_1 & 0xffffffff) * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = (param_1 & 0xffffffff) * 0x70;" (assignment_expression "lVar1 = (param_1 & 0xffffffff) * 0x70" identifier = (binary_expression "(param_1 & 0xffffffff) * 0x70" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal)) ;) (expression_statement "__ptr = *(void **)(&DAT_00155ae0 + lVar1);" (assignment_expression "__ptr = *(void **)(&DAT_00155ae0 + lVar1)" identifier = (pointer_expression "*(void **)(&DAT_00155ae0 + lVar1)" * (cast_expression "(void **)(&DAT_00155ae0 + lVar1)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00155ae0 + lVar1)" ( (binary_expression "&DAT_00155ae0 + lVar1" (pointer_expression "&DAT_00155ae0" & identifier) + identifier) ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }" { (expression_statement "lVar1 = *(long *)(&DAT_00155b10 + lVar1);" (assignment_expression "lVar1 = *(long *)(&DAT_00155b10 + lVar1)" identifier = (pointer_expression "*(long *)(&DAT_00155b10 + lVar1)" * (cast_expression "(long *)(&DAT_00155b10 + lVar1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155b10 + lVar1)" ( (binary_expression "&DAT_00155b10 + lVar1" (pointer_expression "&DAT_00155b10" & identifier) + identifier) ))))) ;) (if_statement "if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }" if (parenthesized_expression "((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0)))" ( (binary_expression "(lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))" (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(__ptr == *(void **)(lVar1 + 0xb0))" ( (binary_expression "__ptr == *(void **)(lVar1 + 0xb0)" identifier == (pointer_expression "*(void **)(lVar1 + 0xb0)" * (cast_expression "(void **)(lVar1 + 0xb0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0xb0)" ( (binary_expression "lVar1 + 0xb0" identifier + number_literal) ))))) ))) )) (compound_statement "{\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }" { (expression_statement "*(undefined8 *)(lVar1 + 0xb0) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0xb0) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0xb0)" * (cast_expression "(undefined8 *)(lVar1 + 0xb0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb0)" ( (binary_expression "lVar1 + 0xb0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;" (assignment_expression "*(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff" (pointer_expression "*(uint *)(lVar1 + 0x20)" * (cast_expression "(uint *)(lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) = (binary_expression "*(uint *)(lVar1 + 0x20) & 0xffffbfff" (pointer_expression "*(uint *)(lVar1 + 0x20)" * (cast_expression "(uint *)(lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "*(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;" (assignment_expression "*(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf" (pointer_expression "*(byte *)(lVar1 + 0x24)" * (cast_expression "(byte *)(lVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x24)" ( (binary_expression "lVar1 + 0x24" identifier + number_literal) )))) = (binary_expression "*(byte *)(lVar1 + 0x24) & 0xcf" (pointer_expression "*(byte *)(lVar1 + 0x24)" * (cast_expression "(byte *)(lVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x24)" ( (binary_expression "lVar1 + 0x24" identifier + number_literal) )))) & number_literal)) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "lVar1 = (param_1 & 0xffffffff) * 0x70;" (assignment_expression "lVar1 = (param_1 & 0xffffffff) * 0x70" identifier = (binary_expression "(param_1 & 0xffffffff) * 0x70" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal)) ;) (expression_statement "*(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155ae0 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155ae0 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155ae0 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155ae0 + lVar1)" ( (binary_expression "&DAT_00155ae0 + lVar1" (pointer_expression "&DAT_00155ae0" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155ae8 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155ae8 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155ae8 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155ae8 + lVar1)" ( (binary_expression "&DAT_00155ae8 + lVar1" (pointer_expression "&DAT_00155ae8" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(&DAT_00155af0 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155af0 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155af0 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155af0 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155af0 + lVar1)" ( (binary_expression "&DAT_00155af0 + lVar1" (pointer_expression "&DAT_00155af0" & identifier) + identifier) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void free_debug_section(dwarf_section_display_enum debug)\n\n{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (ulong)debug * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (ulong)debug * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}\n\n" (function_definition "void free_debug_section(dwarf_section_display_enum debug)\n\n{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (ulong)debug * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (ulong)debug * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "free_debug_section(dwarf_section_display_enum debug)" identifier (parameter_list "(dwarf_section_display_enum debug)" ( (parameter_declaration "dwarf_section_display_enum debug" type_identifier identifier) ))) (compound_statement "{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (ulong)debug * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (ulong)debug * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = (ulong)debug * 0x70;" (assignment_expression "lVar1 = (ulong)debug * 0x70" identifier = (binary_expression "(ulong)debug * 0x70" (cast_expression "(ulong)debug" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ;) (expression_statement "__ptr = *(void **)(&DAT_00155ae0 + lVar1);" (assignment_expression "__ptr = *(void **)(&DAT_00155ae0 + lVar1)" identifier = (pointer_expression "*(void **)(&DAT_00155ae0 + lVar1)" * (cast_expression "(void **)(&DAT_00155ae0 + lVar1)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00155ae0 + lVar1)" ( (binary_expression "&DAT_00155ae0 + lVar1" (pointer_expression "&DAT_00155ae0" & identifier) + identifier) ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (ulong)debug * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (ulong)debug * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }" { (expression_statement "lVar1 = *(long *)(&DAT_00155b10 + lVar1);" (assignment_expression "lVar1 = *(long *)(&DAT_00155b10 + lVar1)" identifier = (pointer_expression "*(long *)(&DAT_00155b10 + lVar1)" * (cast_expression "(long *)(&DAT_00155b10 + lVar1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155b10 + lVar1)" ( (binary_expression "&DAT_00155b10 + lVar1" (pointer_expression "&DAT_00155b10" & identifier) + identifier) ))))) ;) (if_statement "if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }" if (parenthesized_expression "((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0)))" ( (binary_expression "(lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))" (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(__ptr == *(void **)(lVar1 + 0xb0))" ( (binary_expression "__ptr == *(void **)(lVar1 + 0xb0)" identifier == (pointer_expression "*(void **)(lVar1 + 0xb0)" * (cast_expression "(void **)(lVar1 + 0xb0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0xb0)" ( (binary_expression "lVar1 + 0xb0" identifier + number_literal) ))))) ))) )) (compound_statement "{\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }" { (expression_statement "*(undefined8 *)(lVar1 + 0xb0) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0xb0) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0xb0)" * (cast_expression "(undefined8 *)(lVar1 + 0xb0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb0)" ( (binary_expression "lVar1 + 0xb0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;" (assignment_expression "*(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff" (pointer_expression "*(uint *)(lVar1 + 0x20)" * (cast_expression "(uint *)(lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) = (binary_expression "*(uint *)(lVar1 + 0x20) & 0xffffbfff" (pointer_expression "*(uint *)(lVar1 + 0x20)" * (cast_expression "(uint *)(lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "*(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;" (assignment_expression "*(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf" (pointer_expression "*(byte *)(lVar1 + 0x24)" * (cast_expression "(byte *)(lVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x24)" ( (binary_expression "lVar1 + 0x24" identifier + number_literal) )))) = (binary_expression "*(byte *)(lVar1 + 0x24) & 0xcf" (pointer_expression "*(byte *)(lVar1 + 0x24)" * (cast_expression "(byte *)(lVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x24)" ( (binary_expression "lVar1 + 0x24" identifier + number_literal) )))) & number_literal)) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "lVar1 = (ulong)debug * 0x70;" (assignment_expression "lVar1 = (ulong)debug * 0x70" identifier = (binary_expression "(ulong)debug * 0x70" (cast_expression "(ulong)debug" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ;) (expression_statement "*(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155ae0 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155ae0 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155ae0 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155ae0 + lVar1)" ( (binary_expression "&DAT_00155ae0 + lVar1" (pointer_expression "&DAT_00155ae0" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155ae8 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155ae8 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155ae8 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155ae8 + lVar1)" ( (binary_expression "&DAT_00155ae8 + lVar1" (pointer_expression "&DAT_00155ae8" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(&DAT_00155af0 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155af0 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155af0 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155af0 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155af0 + lVar1)" ( (binary_expression "&DAT_00155af0 + lVar1" (pointer_expression "&DAT_00155af0" & identifier) + identifier) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010e270(ulong param_1)\n\n{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (param_1 & 0xffffffff) * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010e270(ulong param_1)\n\n{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (param_1 & 0xffffffff) * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010e270(ulong param_1)" identifier (parameter_list "(ulong param_1)" ( (parameter_declaration "ulong param_1" type_identifier identifier) ))) (compound_statement "{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (param_1 & 0xffffffff) * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = (param_1 & 0xffffffff) * 0x70;" (assignment_expression "lVar1 = (param_1 & 0xffffffff) * 0x70" identifier = (binary_expression "(param_1 & 0xffffffff) * 0x70" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal)) ;) (expression_statement "__ptr = *(void **)(&DAT_00155ae0 + lVar1);" (assignment_expression "__ptr = *(void **)(&DAT_00155ae0 + lVar1)" identifier = (pointer_expression "*(void **)(&DAT_00155ae0 + lVar1)" * (cast_expression "(void **)(&DAT_00155ae0 + lVar1)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00155ae0 + lVar1)" ( (binary_expression "&DAT_00155ae0 + lVar1" (pointer_expression "&DAT_00155ae0" & identifier) + identifier) ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }" { (expression_statement "lVar1 = *(long *)(&DAT_00155b10 + lVar1);" (assignment_expression "lVar1 = *(long *)(&DAT_00155b10 + lVar1)" identifier = (pointer_expression "*(long *)(&DAT_00155b10 + lVar1)" * (cast_expression "(long *)(&DAT_00155b10 + lVar1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155b10 + lVar1)" ( (binary_expression "&DAT_00155b10 + lVar1" (pointer_expression "&DAT_00155b10" & identifier) + identifier) ))))) ;) (if_statement "if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }" if (parenthesized_expression "((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0)))" ( (binary_expression "(lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))" (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(__ptr == *(void **)(lVar1 + 0xb0))" ( (binary_expression "__ptr == *(void **)(lVar1 + 0xb0)" identifier == (pointer_expression "*(void **)(lVar1 + 0xb0)" * (cast_expression "(void **)(lVar1 + 0xb0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0xb0)" ( (binary_expression "lVar1 + 0xb0" identifier + number_literal) ))))) ))) )) (compound_statement "{\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }" { (expression_statement "*(undefined8 *)(lVar1 + 0xb0) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0xb0) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0xb0)" * (cast_expression "(undefined8 *)(lVar1 + 0xb0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb0)" ( (binary_expression "lVar1 + 0xb0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;" (assignment_expression "*(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff" (pointer_expression "*(uint *)(lVar1 + 0x20)" * (cast_expression "(uint *)(lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) = (binary_expression "*(uint *)(lVar1 + 0x20) & 0xffffbfff" (pointer_expression "*(uint *)(lVar1 + 0x20)" * (cast_expression "(uint *)(lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "*(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;" (assignment_expression "*(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf" (pointer_expression "*(byte *)(lVar1 + 0x24)" * (cast_expression "(byte *)(lVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x24)" ( (binary_expression "lVar1 + 0x24" identifier + number_literal) )))) = (binary_expression "*(byte *)(lVar1 + 0x24) & 0xcf" (pointer_expression "*(byte *)(lVar1 + 0x24)" * (cast_expression "(byte *)(lVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x24)" ( (binary_expression "lVar1 + 0x24" identifier + number_literal) )))) & number_literal)) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "lVar1 = (param_1 & 0xffffffff) * 0x70;" (assignment_expression "lVar1 = (param_1 & 0xffffffff) * 0x70" identifier = (binary_expression "(param_1 & 0xffffffff) * 0x70" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal)) ;) (expression_statement "*(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155ae0 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155ae0 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155ae0 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155ae0 + lVar1)" ( (binary_expression "&DAT_00155ae0 + lVar1" (pointer_expression "&DAT_00155ae0" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155ae8 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155ae8 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155ae8 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155ae8 + lVar1)" ( (binary_expression "&DAT_00155ae8 + lVar1" (pointer_expression "&DAT_00155ae8" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(&DAT_00155af0 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155af0 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155af0 + lVar1)" * (cast_expression "(undefined8 *)(&DAT_00155af0 + lVar1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00155af0 + lVar1)" ( (binary_expression "&DAT_00155af0 + lVar1" (pointer_expression "&DAT_00155af0" & identifier) + identifier) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0010e270(ulong param_1)\n\n{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (param_1 & 0xffffffff) * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010e270(ulong param_1)" (identifier "FUN_0010e270") (parameter_list "(ulong param_1)" (( "(") (parameter_declaration "ulong param_1" (type_identifier "ulong") (identifier "param_1")) () ")"))) (compound_statement "{\n  void *__ptr;\n  long lVar1;\n  \n  lVar1 = (param_1 & 0xffffffff) * 0x70;\n  __ptr = *(void **)(&DAT_00155ae0 + lVar1);\n  if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }\n  return;\n}" ({ "{") (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = (param_1 & 0xffffffff) * 0x70;" (assignment_expression "lVar1 = (param_1 & 0xffffffff) * 0x70" (identifier "lVar1") (= "=") (binary_expression "(param_1 & 0xffffffff) * 0x70" (parenthesized_expression "(param_1 & 0xffffffff)" (( "(") (binary_expression "param_1 & 0xffffffff" (identifier "param_1") (& "&") (number_literal "0xffffffff")) () ")")) (* "*") (number_literal "0x70"))) (; ";")) (expression_statement "__ptr = *(void **)(&DAT_00155ae0 + lVar1);" (assignment_expression "__ptr = *(void **)(&DAT_00155ae0 + lVar1)" (identifier "__ptr") (= "=") (pointer_expression "*(void **)(&DAT_00155ae0 + lVar1)" (* "*") (cast_expression "(void **)(&DAT_00155ae0 + lVar1)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&DAT_00155ae0 + lVar1)" (( "(") (binary_expression "&DAT_00155ae0 + lVar1" (pointer_expression "&DAT_00155ae0" (& "&") (identifier "DAT_00155ae0")) (+ "+") (identifier "lVar1")) () ")"))))) (; ";")) (if_statement "if (__ptr != (void *)0x0) {\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }" (if "if") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    lVar1 = *(long *)(&DAT_00155b10 + lVar1);\n    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }\n    free(__ptr);\n    lVar1 = (param_1 & 0xffffffff) * 0x70;\n    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;\n    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;\n  }" ({ "{") (expression_statement "lVar1 = *(long *)(&DAT_00155b10 + lVar1);" (assignment_expression "lVar1 = *(long *)(&DAT_00155b10 + lVar1)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(&DAT_00155b10 + lVar1)" (* "*") (cast_expression "(long *)(&DAT_00155b10 + lVar1)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00155b10 + lVar1)" (( "(") (binary_expression "&DAT_00155b10 + lVar1" (pointer_expression "&DAT_00155b10" (& "&") (identifier "DAT_00155b10")) (+ "+") (identifier "lVar1")) () ")"))))) (; ";")) (if_statement "if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }" (if "if") (parenthesized_expression "((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0)))" (( "(") (binary_expression "(lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))" (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(__ptr == *(void **)(lVar1 + 0xb0))" (( "(") (binary_expression "__ptr == *(void **)(lVar1 + 0xb0)" (identifier "__ptr") (== "==") (pointer_expression "*(void **)(lVar1 + 0xb0)" (* "*") (cast_expression "(void **)(lVar1 + 0xb0)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0xb0)" (( "(") (binary_expression "lVar1 + 0xb0" (identifier "lVar1") (+ "+") (number_literal "0xb0")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n      *(undefined8 *)(lVar1 + 0xb0) = 0;\n      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;\n      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;\n    }" ({ "{") (expression_statement "*(undefined8 *)(lVar1 + 0xb0) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0xb0) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0xb0)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0xb0)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xb0)" (( "(") (binary_expression "lVar1 + 0xb0" (identifier "lVar1") (+ "+") (number_literal "0xb0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;" (assignment_expression "*(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff" (pointer_expression "*(uint *)(lVar1 + 0x20)" (* "*") (cast_expression "(uint *)(lVar1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "*(uint *)(lVar1 + 0x20) & 0xffffbfff" (pointer_expression "*(uint *)(lVar1 + 0x20)" (* "*") (cast_expression "(uint *)(lVar1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (& "&") (number_literal "0xffffbfff"))) (; ";")) (expression_statement "*(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;" (assignment_expression "*(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf" (pointer_expression "*(byte *)(lVar1 + 0x24)" (* "*") (cast_expression "(byte *)(lVar1 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x24)" (( "(") (binary_expression "lVar1 + 0x24" (identifier "lVar1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "*(byte *)(lVar1 + 0x24) & 0xcf" (pointer_expression "*(byte *)(lVar1 + 0x24)" (* "*") (cast_expression "(byte *)(lVar1 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x24)" (( "(") (binary_expression "lVar1 + 0x24" (identifier "lVar1") (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0xcf"))) (; ";")) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "lVar1 = (param_1 & 0xffffffff) * 0x70;" (assignment_expression "lVar1 = (param_1 & 0xffffffff) * 0x70" (identifier "lVar1") (= "=") (binary_expression "(param_1 & 0xffffffff) * 0x70" (parenthesized_expression "(param_1 & 0xffffffff)" (( "(") (binary_expression "param_1 & 0xffffffff" (identifier "param_1") (& "&") (number_literal "0xffffffff")) () ")")) (* "*") (number_literal "0x70"))) (; ";")) (expression_statement "*(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155ae0 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155ae0 + lVar1)" (* "*") (cast_expression "(undefined8 *)(&DAT_00155ae0 + lVar1)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00155ae0 + lVar1)" (( "(") (binary_expression "&DAT_00155ae0 + lVar1" (pointer_expression "&DAT_00155ae0" (& "&") (identifier "DAT_00155ae0")) (+ "+") (identifier "lVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155ae8 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155ae8 + lVar1)" (* "*") (cast_expression "(undefined8 *)(&DAT_00155ae8 + lVar1)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00155ae8 + lVar1)" (( "(") (binary_expression "&DAT_00155ae8 + lVar1" (pointer_expression "&DAT_00155ae8" (& "&") (identifier "DAT_00155ae8")) (+ "+") (identifier "lVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(&DAT_00155af0 + lVar1) = 0;" (assignment_expression "*(undefined8 *)(&DAT_00155af0 + lVar1) = 0" (pointer_expression "*(undefined8 *)(&DAT_00155af0 + lVar1)" (* "*") (cast_expression "(undefined8 *)(&DAT_00155af0 + lVar1)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00155af0 + lVar1)" (( "(") (binary_expression "&DAT_00155af0 + lVar1" (pointer_expression "&DAT_00155af0" (& "&") (identifier "DAT_00155af0")) (+ "+") (identifier "lVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 debug)

{
  void *var_2;
  long var_1;
  
  var_1 = (type_2)debug * 0x70;
  var_2 = *(void **)(&DAT_00155ae0 + var_1);
  if (var_2 != (void *)0x0) {
    var_1 = *(long *)(&DAT_00155b10 + var_1);
    if ((var_1 != 0) && (var_2 == *(void **)(var_1 + 0xb0))) {
      *(type_3 *)(var_1 + 0xb0) = 0;
      *(type_4 *)(var_1 + 0x20) = *(type_4 *)(var_1 + 0x20) & 0xffffbfff;
      *(type_5 *)(var_1 + 0x24) = *(type_5 *)(var_1 + 0x24) & 0xcf;
    }
    var_3(var_2);
    var_1 = (type_2)debug * 0x70;
    *(type_3 *)(&DAT_00155ae0 + var_1) = 0;
    *(type_3 *)(&DAT_00155ae8 + var_1) = 0;
    *(type_3 *)(&DAT_00155af0 + var_1) = 0;
  }
  return;
}


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

void MASKED(ulong param_1)

{
  void *__ptr;
  long lVar1;
  
  lVar1 = (param_1 & 0xffffffff) * 0x70;
  __ptr = *(void **)(&DAT_00155ae0 + lVar1);
  if (__ptr != (void *)0x0) {
    lVar1 = *(long *)(&DAT_00155b10 + lVar1);
    if ((lVar1 != 0) && (__ptr == *(void **)(lVar1 + 0xb0))) {
      *(undefined8 *)(lVar1 + 0xb0) = 0;
      *(uint *)(lVar1 + 0x20) = *(uint *)(lVar1 + 0x20) & 0xffffbfff;
      *(byte *)(lVar1 + 0x24) = *(byte *)(lVar1 + 0x24) & 0xcf;
    }
    free(__ptr);
    lVar1 = (param_1 & 0xffffffff) * 0x70;
    *(undefined8 *)(&DAT_00155ae0 + lVar1) = 0;
    *(undefined8 *)(&DAT_00155ae8 + lVar1) = 0;
    *(undefined8 *)(&DAT_00155af0 + lVar1) = 0;
  }
  return;
}

