
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void symbol_remove(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)

{
  symbol *psVar1;
  symbol *psVar2;
  
  if (((uint)symbolP->sy_flags & 1) != 0) {
    if ((segT)symbolP->bsym != reg_section) {
                    /* WARNING: Subroutine does not return */
      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");
    }
    symbolP = (symbolP->sy_value).X_op_symbol;
  }
  if (*rootPP == symbolP) {
    *rootPP = symbolP->sy_next;
  }
  psVar2 = symbolP->sy_previous;
  if (*lastPP == symbolP) {
    *lastPP = psVar2;
    psVar2 = symbolP->sy_previous;
  }
  psVar1 = symbolP->sy_next;
  if (psVar1 != (symbol *)0x0) {
    psVar1->sy_previous = psVar2;
    psVar2 = symbolP->sy_previous;
  }
  if (psVar2 != (symbol *)0x0) {
    psVar2->sy_next = psVar1;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)

{
  int iVar1;
  int iVar2;
  
  if ((*param_1 & 1) != 0) {
    if (*(int *)(param_1 + 4) != DAT_00081680) {
                    /* WARNING: Subroutine does not return */
      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");
    }
    param_1 = *(byte **)(param_1 + 0xc);
  }
  if ((byte *)*param_2 == param_1) {
    *param_2 = *(undefined4 *)(param_1 + 0x18);
  }
  iVar2 = *(int *)(param_1 + 0x1c);
  if ((byte *)*param_3 == param_1) {
    *param_3 = iVar2;
    iVar2 = *(int *)(param_1 + 0x1c);
  }
  iVar1 = *(int *)(param_1 + 0x18);
  if (iVar1 != 0) {
    *(int *)(iVar1 + 0x1c) = iVar2;
    iVar2 = *(int *)(param_1 + 0x1c);
  }
  if (iVar2 != 0) {
    *(int *)(iVar2 + 0x18) = iVar1;
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00017010
ADD EBX,0x40a09
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x18]
TEST byte ptr [EAX],0x1
JZ 0x00037643
LEA ESI,[EBX + 0x9680]
MOV ESI,dword ptr [ESI]
CMP dword ptr [EAX + 0x4],ESI
JZ 0x00037640
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe2648]
PUSH EAX
LEA EAX,[EBX + 0xfffe1ebc]
PUSH 0x34d
PUSH EAX
CALL 0x0002c190
MOV EAX,dword ptr [EAX + 0xc]
CMP dword ptr [EDX],EAX
JZ 0x00037680
MOV EDX,dword ptr [EAX + 0x1c]
CMP dword ptr [ECX],EAX
JZ 0x00037670
MOV ECX,dword ptr [EAX + 0x18]
TEST ECX,ECX
JZ 0x0003765b
MOV dword ptr [ECX + 0x1c],EDX
MOV EDX,dword ptr [EAX + 0x1c]
TEST EDX,EDX
JZ 0x00037662
MOV dword ptr [EDX + 0x18],ECX
ADD ESP,0x4
POP EBX
POP ESI
RET
MOV dword ptr [ECX],EDX
MOV EDX,dword ptr [EAX + 0x1c]
JMP 0x0003764e
MOV EBX,dword ptr [EAX + 0x18]
MOV dword ptr [EDX],EBX
JMP 0x00037647
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)" identifier (parameter_list "(byte *param_1,undefined4 *param_2,int *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" { (if_statement "if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" if (parenthesized_expression "(*(int *)(param_1 + 4) != DAT_00081680)" ( (binary_expression "*(int *)(param_1 + 4) != DAT_00081680" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" { comment (expression_statement "FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");" (call_expression "FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove")" identifier (argument_list "("../../gas/symbols.c",0x34d,"symbol_remove")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""symbol_remove"" " string_content ") ))) ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) (if_statement "if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }" if (parenthesized_expression "((byte *)*param_2 == param_1)" ( (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) == identifier) )) (compound_statement "{\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }" { (expression_statement "*param_2 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*param_2 = *(undefined4 *)(param_1 + 0x18)" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" if (parenthesized_expression "((byte *)*param_3 == param_1)" ( (binary_expression "(byte *)*param_3 == param_1" (cast_expression "(byte *)*param_3" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier)) == identifier) )) (compound_statement "{\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" { (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" { (expression_statement "*(int *)(iVar1 + 0x1c) = iVar2;" (assignment_expression "*(int *)(iVar1 + 0x1c) = iVar2" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) })) (if_statement "if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }" { (expression_statement "*(int *)(iVar2 + 0x18) = iVar1;" (assignment_expression "*(int *)(iVar2 + 0x18) = iVar1" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid symbol_remove(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)\n\n{\n  symbol *psVar1;\n  symbol *psVar2;\n  \n  if (((uint)symbolP->sy_flags & 1) != 0) {\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }\n  if (*rootPP == symbolP) {\n    *rootPP = symbolP->sy_next;\n  }\n  psVar2 = symbolP->sy_previous;\n  if (*lastPP == symbolP) {\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  psVar1 = symbolP->sy_next;\n  if (psVar1 != (symbol *)0x0) {\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  if (psVar2 != (symbol *)0x0) {\n    psVar2->sy_next = psVar1;\n  }\n  return;\n}\n\n" comment (function_definition "void symbol_remove(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)\n\n{\n  symbol *psVar1;\n  symbol *psVar2;\n  \n  if (((uint)symbolP->sy_flags & 1) != 0) {\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }\n  if (*rootPP == symbolP) {\n    *rootPP = symbolP->sy_next;\n  }\n  psVar2 = symbolP->sy_previous;\n  if (*lastPP == symbolP) {\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  psVar1 = symbolP->sy_next;\n  if (psVar1 != (symbol *)0x0) {\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  if (psVar2 != (symbol *)0x0) {\n    psVar2->sy_next = psVar1;\n  }\n  return;\n}" primitive_type (function_declarator "symbol_remove(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)" identifier (parameter_list "(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)" ( (parameter_declaration "symbolS *symbolP" type_identifier (pointer_declarator "*symbolP" * identifier)) , (parameter_declaration "symbolS **rootPP" type_identifier (pointer_declarator "**rootPP" * (pointer_declarator "*rootPP" * identifier))) , (parameter_declaration "symbolS **lastPP" type_identifier (pointer_declarator "**lastPP" * (pointer_declarator "*lastPP" * identifier))) ))) (compound_statement "{\n  symbol *psVar1;\n  symbol *psVar2;\n  \n  if (((uint)symbolP->sy_flags & 1) != 0) {\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }\n  if (*rootPP == symbolP) {\n    *rootPP = symbolP->sy_next;\n  }\n  psVar2 = symbolP->sy_previous;\n  if (*lastPP == symbolP) {\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  psVar1 = symbolP->sy_next;\n  if (psVar1 != (symbol *)0x0) {\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  if (psVar2 != (symbol *)0x0) {\n    psVar2->sy_next = psVar1;\n  }\n  return;\n}" { (declaration "symbol *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "symbol *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (if_statement "if (((uint)symbolP->sy_flags & 1) != 0) {\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }" if (parenthesized_expression "(((uint)symbolP->sy_flags & 1) != 0)" ( (binary_expression "((uint)symbolP->sy_flags & 1) != 0" (parenthesized_expression "((uint)symbolP->sy_flags & 1)" ( (binary_expression "(uint)symbolP->sy_flags & 1" (cast_expression "(uint)symbolP->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "symbolP->sy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }" { (if_statement "if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" if (parenthesized_expression "((segT)symbolP->bsym != reg_section)" ( (binary_expression "(segT)symbolP->bsym != reg_section" (cast_expression "(segT)symbolP->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "symbolP->bsym" identifier -> field_identifier)) != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" { comment (expression_statement "as_abort("../../gas/symbols.c",0x34d,"symbol_remove");" (call_expression "as_abort("../../gas/symbols.c",0x34d,"symbol_remove")" identifier (argument_list "("../../gas/symbols.c",0x34d,"symbol_remove")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""symbol_remove"" " string_content ") ))) ;) })) (expression_statement "symbolP = (symbolP->sy_value).X_op_symbol;" (assignment_expression "symbolP = (symbolP->sy_value).X_op_symbol" identifier = (field_expression "(symbolP->sy_value).X_op_symbol" (parenthesized_expression "(symbolP->sy_value)" ( (field_expression "symbolP->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) })) (if_statement "if (*rootPP == symbolP) {\n    *rootPP = symbolP->sy_next;\n  }" if (parenthesized_expression "(*rootPP == symbolP)" ( (binary_expression "*rootPP == symbolP" (pointer_expression "*rootPP" * identifier) == identifier) )) (compound_statement "{\n    *rootPP = symbolP->sy_next;\n  }" { (expression_statement "*rootPP = symbolP->sy_next;" (assignment_expression "*rootPP = symbolP->sy_next" (pointer_expression "*rootPP" * identifier) = (field_expression "symbolP->sy_next" identifier -> field_identifier)) ;) })) (expression_statement "psVar2 = symbolP->sy_previous;" (assignment_expression "psVar2 = symbolP->sy_previous" identifier = (field_expression "symbolP->sy_previous" identifier -> field_identifier)) ;) (if_statement "if (*lastPP == symbolP) {\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }" if (parenthesized_expression "(*lastPP == symbolP)" ( (binary_expression "*lastPP == symbolP" (pointer_expression "*lastPP" * identifier) == identifier) )) (compound_statement "{\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }" { (expression_statement "*lastPP = psVar2;" (assignment_expression "*lastPP = psVar2" (pointer_expression "*lastPP" * identifier) = identifier) ;) (expression_statement "psVar2 = symbolP->sy_previous;" (assignment_expression "psVar2 = symbolP->sy_previous" identifier = (field_expression "symbolP->sy_previous" identifier -> field_identifier)) ;) })) (expression_statement "psVar1 = symbolP->sy_next;" (assignment_expression "psVar1 = symbolP->sy_next" identifier = (field_expression "symbolP->sy_next" identifier -> field_identifier)) ;) (if_statement "if (psVar1 != (symbol *)0x0) {\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }" if (parenthesized_expression "(psVar1 != (symbol *)0x0)" ( (binary_expression "psVar1 != (symbol *)0x0" identifier != (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }" { (expression_statement "psVar1->sy_previous = psVar2;" (assignment_expression "psVar1->sy_previous = psVar2" (field_expression "psVar1->sy_previous" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar2 = symbolP->sy_previous;" (assignment_expression "psVar2 = symbolP->sy_previous" identifier = (field_expression "symbolP->sy_previous" identifier -> field_identifier)) ;) })) (if_statement "if (psVar2 != (symbol *)0x0) {\n    psVar2->sy_next = psVar1;\n  }" if (parenthesized_expression "(psVar2 != (symbol *)0x0)" ( (binary_expression "psVar2 != (symbol *)0x0" identifier != (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    psVar2->sy_next = psVar1;\n  }" { (expression_statement "psVar2->sy_next = psVar1;" (assignment_expression "psVar2->sy_next = psVar1" (field_expression "psVar2->sy_next" identifier -> field_identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)" identifier (parameter_list "(byte *param_1,undefined4 *param_2,int *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" { (if_statement "if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" if (parenthesized_expression "(*(int *)(param_1 + 4) != DAT_00081680)" ( (binary_expression "*(int *)(param_1 + 4) != DAT_00081680" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" { (expression_statement "FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");" (call_expression "FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove")" identifier (argument_list "("../../gas/symbols.c",0x34d,"symbol_remove")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""symbol_remove"" " string_content ") ))) ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) (if_statement "if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }" if (parenthesized_expression "((byte *)*param_2 == param_1)" ( (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) == identifier) )) (compound_statement "{\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }" { (expression_statement "*param_2 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*param_2 = *(undefined4 *)(param_1 + 0x18)" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" if (parenthesized_expression "((byte *)*param_3 == param_1)" ( (binary_expression "(byte *)*param_3 == param_1" (cast_expression "(byte *)*param_3" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier)) == identifier) )) (compound_statement "{\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" { (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" { (expression_statement "*(int *)(iVar1 + 0x1c) = iVar2;" (assignment_expression "*(int *)(iVar1 + 0x1c) = iVar2" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) })) (if_statement "if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }" { (expression_statement "*(int *)(iVar2 + 0x18) = iVar1;" (assignment_expression "*(int *)(iVar2 + 0x18) = iVar1" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_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) )))) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_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 (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * 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 IDENT + LIT) ))))) ;) (if_statement if (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) )))) = IDENT) ;) (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 IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000375f0(byte *param_1,undefined4 *param_2,int *param_3)" (identifier "FUN_000375f0") (parameter_list "(byte *param_1,undefined4 *param_2,int *param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }\n  if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" (if "if") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 4) != DAT_00081680) {\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) != DAT_00081680)" (( "(") (binary_expression "*(int *)(param_1 + 4) != DAT_00081680" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (identifier "DAT_00081680")) () ")")) (compound_statement "{\n                    \n      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" ({ "{") (expression_statement "FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");" (call_expression "FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove")" (identifier "FUN_0002c190") (argument_list "("../../gas/symbols.c",0x34d,"symbol_remove")" (( "(") (string_literal ""../../gas/symbols.c"" (" """) (string_content "../../gas/symbols.c") (" """)) (, ",") (number_literal "0x34d") (, ",") (string_literal ""symbol_remove"" (" """) (string_content "symbol_remove") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 0xc)" (* "*") (cast_expression "(byte **)(param_1 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }" (if "if") (parenthesized_expression "((byte *)*param_2 == param_1)" (( "(") (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    *param_2 = *(undefined4 *)(param_1 + 0x18);\n  }" ({ "{") (expression_statement "*param_2 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*param_2 = *(undefined4 *)(param_1 + 0x18)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if ((byte *)*param_3 == param_1) {\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" (if "if") (parenthesized_expression "((byte *)*param_3 == param_1)" (( "(") (binary_expression "(byte *)*param_3 == param_1" (cast_expression "(byte *)*param_3" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    *param_3 = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" ({ "{") (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(iVar1 + 0x1c) = iVar2;\n    iVar2 = *(int *)(param_1 + 0x1c);\n  }" ({ "{") (expression_statement "*(int *)(iVar1 + 0x1c) = iVar2;" (assignment_expression "*(int *)(iVar1 + 0x1c) = iVar2" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (iVar2 != 0) {\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(iVar2 + 0x18) = iVar1;\n  }" ({ "{") (expression_statement "*(int *)(iVar2 + 0x18) = iVar1;" (assignment_expression "*(int *)(iVar2 + 0x18) = iVar1" (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void function_1(type_1 *var_3,type_1 **rootPP,type_1 **lastPP)

{
  type_2 *var_4;
  type_2 *var_5;
  
  if (((type_3)var_3->sy_flags & 1) != 0) {
    if ((type_4)var_3->bsym != var_1) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gas/symbols.c",0x34d,"symbol_remove");
    }
    var_3 = (var_3->sy_value).X_op_symbol;
  }
  if (*rootPP == var_3) {
    *rootPP = var_3->sy_next;
  }
  var_5 = var_3->sy_previous;
  if (*lastPP == var_3) {
    *lastPP = var_5;
    var_5 = var_3->sy_previous;
  }
  var_4 = var_3->sy_next;
  if (var_4 != (type_2 *)0x0) {
    var_4->sy_previous = var_5;
    var_5 = var_3->sy_previous;
  }
  if (var_5 != (type_2 *)0x0) {
    var_5->sy_next = var_4;
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(byte *param_1,undefined4 *param_2,int *param_3)

{
  int iVar1;
  int iVar2;
  
  if ((*param_1 & 1) != 0) {
    if (*(int *)(param_1 + 4) != DAT_00081680) {
                    /* WARNING: Subroutine does not return */
      FUN_0002c190("../../gas/symbols.c",0x34d,"symbol_remove");
    }
    param_1 = *(byte **)(param_1 + 0xc);
  }
  if ((byte *)*param_2 == param_1) {
    *param_2 = *(undefined4 *)(param_1 + 0x18);
  }
  iVar2 = *(int *)(param_1 + 0x1c);
  if ((byte *)*param_3 == param_1) {
    *param_3 = iVar2;
    iVar2 = *(int *)(param_1 + 0x1c);
  }
  iVar1 = *(int *)(param_1 + 0x18);
  if (iVar1 != 0) {
    *(int *)(iVar1 + 0x1c) = iVar2;
    iVar2 = *(int *)(param_1 + 0x1c);
  }
  if (iVar2 != 0) {
    *(int *)(iVar2 + 0x18) = iVar1;
  }
  return;
}

