
void add_sign_to_num(NODE *n,char sign)

{
  size_t *psVar1;
  char *__src;
  
  if ((n->flags & 0x20000) == 0) {
    return;
  }
  __src = (n->sub).val.sp;
  memmove(__src + 1,__src,(n->sub).val.slen + 1);
  *__src = sign;
  psVar1 = &(n->sub).val.slen;
  *psVar1 = *psVar1 + 1;
  return;
}



void FUN_0010c84c(long param_1,undefined1 param_2)

{
  undefined1 *__src;
  
  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {
    return;
  }
  __src = *(undefined1 **)(param_1 + 8);
  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);
  *__src = param_2;
  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;
  return;
}


TEST byte ptr [RDI + 0x4e],0x2
JNZ 0x0010c854
RET
PUSH R12
PUSH RBP
PUSH RBX
MOV EBP,ESI
MOV RBX,RDI
MOV R12,qword ptr [RDI + 0x8]
MOV RAX,qword ptr [RDI + 0x10]
LEA RDX,[RAX + 0x1]
LEA RDI,[R12 + 0x1]
MOV RSI,R12
CALL 0x001090b0
MOV byte ptr [R12],BPL
ADD qword ptr [RBX + 0x10],0x1
POP RBX
POP RBP
POP R12
RET
(translation_unit "void FUN_0010c84c(long param_1,undefined1 param_2)\n\n{\n  undefined1 *__src;\n  \n  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }\n  __src = *(undefined1 **)(param_1 + 8);\n  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);\n  *__src = param_2;\n  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;\n  return;\n}\n\n" (function_definition "void FUN_0010c84c(long param_1,undefined1 param_2)\n\n{\n  undefined1 *__src;\n  \n  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }\n  __src = *(undefined1 **)(param_1 + 8);\n  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);\n  *__src = param_2;\n  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;\n  return;\n}" primitive_type (function_declarator "FUN_0010c84c(long param_1,undefined1 param_2)" identifier (parameter_list "(long param_1,undefined1 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined1 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined1 *__src;\n  \n  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }\n  __src = *(undefined1 **)(param_1 + 8);\n  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);\n  *__src = param_2;\n  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;\n  return;\n}" { (declaration "undefined1 *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (if_statement "if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x4e) & 2) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x4e) & 2) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x4e) & 2)" ( (binary_expression "*(byte *)(param_1 + 0x4e) & 2" (pointer_expression "*(byte *)(param_1 + 0x4e)" * (cast_expression "(byte *)(param_1 + 0x4e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4e)" ( (binary_expression "param_1 + 0x4e" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__src = *(undefined1 **)(param_1 + 8);" (assignment_expression "__src = *(undefined1 **)(param_1 + 8)" identifier = (pointer_expression "*(undefined1 **)(param_1 + 8)" * (cast_expression "(undefined1 **)(param_1 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);" (call_expression "memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1)" identifier (argument_list "(__src + 1,__src,*(long *)(param_1 + 0x10) + 1)" ( (binary_expression "__src + 1" identifier + number_literal) , identifier , (binary_expression "*(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "*__src = param_2;" (assignment_expression "*__src = param_2" (pointer_expression "*__src" * identifier) = identifier) ;) (expression_statement "*(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;" (assignment_expression "*(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void add_sign_to_num(NODE *n,char sign)\n\n{\n  size_t *psVar1;\n  char *__src;\n  \n  if ((n->flags & 0x20000) == 0) {\n    return;\n  }\n  __src = (n->sub).val.sp;\n  memmove(__src + 1,__src,(n->sub).val.slen + 1);\n  *__src = sign;\n  psVar1 = &(n->sub).val.slen;\n  *psVar1 = *psVar1 + 1;\n  return;\n}\n\n" (function_definition "void add_sign_to_num(NODE *n,char sign)\n\n{\n  size_t *psVar1;\n  char *__src;\n  \n  if ((n->flags & 0x20000) == 0) {\n    return;\n  }\n  __src = (n->sub).val.sp;\n  memmove(__src + 1,__src,(n->sub).val.slen + 1);\n  *__src = sign;\n  psVar1 = &(n->sub).val.slen;\n  *psVar1 = *psVar1 + 1;\n  return;\n}" primitive_type (function_declarator "add_sign_to_num(NODE *n,char sign)" identifier (parameter_list "(NODE *n,char sign)" ( (parameter_declaration "NODE *n" type_identifier (pointer_declarator "*n" * identifier)) , (parameter_declaration "char sign" primitive_type identifier) ))) (compound_statement "{\n  size_t *psVar1;\n  char *__src;\n  \n  if ((n->flags & 0x20000) == 0) {\n    return;\n  }\n  __src = (n->sub).val.sp;\n  memmove(__src + 1,__src,(n->sub).val.slen + 1);\n  *__src = sign;\n  psVar1 = &(n->sub).val.slen;\n  *psVar1 = *psVar1 + 1;\n  return;\n}" { (declaration "size_t *psVar1;" primitive_type (pointer_declarator "*psVar1" * identifier) ;) (declaration "char *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (if_statement "if ((n->flags & 0x20000) == 0) {\n    return;\n  }" if (parenthesized_expression "((n->flags & 0x20000) == 0)" ( (binary_expression "(n->flags & 0x20000) == 0" (parenthesized_expression "(n->flags & 0x20000)" ( (binary_expression "n->flags & 0x20000" (field_expression "n->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__src = (n->sub).val.sp;" (assignment_expression "__src = (n->sub).val.sp" identifier = (field_expression "(n->sub).val.sp" (field_expression "(n->sub).val" (parenthesized_expression "(n->sub)" ( (field_expression "n->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "memmove(__src + 1,__src,(n->sub).val.slen + 1);" (call_expression "memmove(__src + 1,__src,(n->sub).val.slen + 1)" identifier (argument_list "(__src + 1,__src,(n->sub).val.slen + 1)" ( (binary_expression "__src + 1" identifier + number_literal) , identifier , (binary_expression "(n->sub).val.slen + 1" (field_expression "(n->sub).val.slen" (field_expression "(n->sub).val" (parenthesized_expression "(n->sub)" ( (field_expression "n->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) + number_literal) ))) ;) (expression_statement "*__src = sign;" (assignment_expression "*__src = sign" (pointer_expression "*__src" * identifier) = identifier) ;) (expression_statement "psVar1 = &(n->sub).val.slen;" (assignment_expression "psVar1 = &(n->sub).val.slen" identifier = (pointer_expression "&(n->sub).val.slen" & (field_expression "(n->sub).val.slen" (field_expression "(n->sub).val" (parenthesized_expression "(n->sub)" ( (field_expression "n->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "*psVar1 = *psVar1 + 1;" (assignment_expression "*psVar1 = *psVar1 + 1" (pointer_expression "*psVar1" * identifier) = (binary_expression "*psVar1 + 1" (pointer_expression "*psVar1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010c84c(long param_1,undefined1 param_2)\n\n{\n  undefined1 *__src;\n  \n  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }\n  __src = *(undefined1 **)(param_1 + 8);\n  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);\n  *__src = param_2;\n  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;\n  return;\n}\n\n" (function_definition "void FUN_0010c84c(long param_1,undefined1 param_2)\n\n{\n  undefined1 *__src;\n  \n  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }\n  __src = *(undefined1 **)(param_1 + 8);\n  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);\n  *__src = param_2;\n  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;\n  return;\n}" primitive_type (function_declarator "FUN_0010c84c(long param_1,undefined1 param_2)" identifier (parameter_list "(long param_1,undefined1 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined1 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined1 *__src;\n  \n  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }\n  __src = *(undefined1 **)(param_1 + 8);\n  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);\n  *__src = param_2;\n  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;\n  return;\n}" { (declaration "undefined1 *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (if_statement "if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x4e) & 2) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x4e) & 2) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x4e) & 2)" ( (binary_expression "*(byte *)(param_1 + 0x4e) & 2" (pointer_expression "*(byte *)(param_1 + 0x4e)" * (cast_expression "(byte *)(param_1 + 0x4e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4e)" ( (binary_expression "param_1 + 0x4e" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__src = *(undefined1 **)(param_1 + 8);" (assignment_expression "__src = *(undefined1 **)(param_1 + 8)" identifier = (pointer_expression "*(undefined1 **)(param_1 + 8)" * (cast_expression "(undefined1 **)(param_1 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);" (call_expression "memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1)" identifier (argument_list "(__src + 1,__src,*(long *)(param_1 + 0x10) + 1)" ( (binary_expression "__src + 1" identifier + number_literal) , identifier , (binary_expression "*(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "*__src = param_2;" (assignment_expression "*__src = param_2" (pointer_expression "*__src" * identifier) = identifier) ;) (expression_statement "*(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;" (assignment_expression "*(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0010c84c(long param_1,undefined1 param_2)\n\n{\n  undefined1 *__src;\n  \n  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }\n  __src = *(undefined1 **)(param_1 + 8);\n  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);\n  *__src = param_2;\n  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010c84c(long param_1,undefined1 param_2)" (identifier "FUN_0010c84c") (parameter_list "(long param_1,undefined1 param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined1 param_2" (type_identifier "undefined1") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined1 *__src;\n  \n  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }\n  __src = *(undefined1 **)(param_1 + 8);\n  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);\n  *__src = param_2;\n  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;\n  return;\n}" ({ "{") (declaration "undefined1 *__src;" (type_identifier "undefined1") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (if_statement "if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x4e) & 2) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x4e) & 2) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x4e) & 2)" (( "(") (binary_expression "*(byte *)(param_1 + 0x4e) & 2" (pointer_expression "*(byte *)(param_1 + 0x4e)" (* "*") (cast_expression "(byte *)(param_1 + 0x4e)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4e)" (( "(") (binary_expression "param_1 + 0x4e" (identifier "param_1") (+ "+") (number_literal "0x4e")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__src = *(undefined1 **)(param_1 + 8);" (assignment_expression "__src = *(undefined1 **)(param_1 + 8)" (identifier "__src") (= "=") (pointer_expression "*(undefined1 **)(param_1 + 8)" (* "*") (cast_expression "(undefined1 **)(param_1 + 8)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);" (call_expression "memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1)" (identifier "memmove") (argument_list "(__src + 1,__src,*(long *)(param_1 + 0x10) + 1)" (( "(") (binary_expression "__src + 1" (identifier "__src") (+ "+") (number_literal "1")) (, ",") (identifier "__src") (, ",") (binary_expression "*(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "*__src = param_2;" (assignment_expression "*__src = param_2" (pointer_expression "*__src" (* "*") (identifier "__src")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;" (assignment_expression "*(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(long *)(param_1 + 0x10) + 1" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *n,char sign)

{
  size_t *psVar1;
  char *var_2;
  
  if ((n->flags & 0x20000) == 0) {
    return;
  }
  var_2 = (n->sub).val.sp;
  var_1(var_2 + 1,var_2,(n->sub).val.slen + 1);
  *var_2 = sign;
  psVar1 = &(n->sub).val.slen;
  *psVar1 = *psVar1 + 1;
  return;
}


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

void MASKED(long param_1,undefined1 param_2)

{
  undefined1 *__src;
  
  if ((*(byte *)(param_1 + 0x4e) & 2) == 0) {
    return;
  }
  __src = *(undefined1 **)(param_1 + 8);
  memmove(__src + 1,__src,*(long *)(param_1 + 0x10) + 1);
  *__src = param_2;
  *(long *)(param_1 + 0x10) = *(long *)(param_1 + 0x10) + 1;
  return;
}

