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

void ecoff_fix_loc(fragS *old_frag,ulong old_frag_offset)

{
  addressT aVar1;
  
  if (((last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag)) &&
     (last_lineno->paddr == old_frag_offset)) {
    last_lineno->frag = frag_now;
    aVar1 = frag_now_fix();
    last_lineno->paddr = (ulong)aVar1;
  }
  return;
}



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

void FUN_00022d70(int param_1,int param_2)

{
  undefined4 uVar1;
  
  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&
     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {
    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;
    uVar1 = FUN_0002a520();
    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;
  }
  return;
}


PUSH EBX
CALL 0x00016070
ADD EBX,0x5528a
SUB ESP,0x8
MOV EAX,dword ptr [EBX + 0x8c98]
TEST EAX,EAX
JZ 0x00022d92
MOV ECX,dword ptr [ESP + 0x10]
CMP dword ptr [EAX + 0xc],ECX
JZ 0x00022da0
ADD ESP,0x8
POP EBX
RET
MOV EDX,dword ptr [ESP + 0x14]
CMP dword ptr [EAX + 0x10],EDX
JNZ 0x00022d92
LEA EDX,[EBX + 0x94a4]
MOV EDX,dword ptr [EDX]
MOV dword ptr [EAX + 0xc],EDX
CALL 0x0002a520
MOV EDX,dword ptr [EBX + 0x8c98]
MOV dword ptr [EDX + 0x10],EAX
JMP 0x00022d92
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00022d70(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00022d70(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00022d70(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }" if (parenthesized_expression "(((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2))" ( (binary_expression "((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)" (parenthesized_expression "((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1))" ( (binary_expression "(DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)" (parenthesized_expression "(DAT_00080c98 != 0)" ( (binary_expression "DAT_00080c98 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(DAT_00080c98 + 0xc) == param_1)" ( (binary_expression "*(int *)(DAT_00080c98 + 0xc) == param_1" (pointer_expression "*(int *)(DAT_00080c98 + 0xc)" * (cast_expression "(int *)(DAT_00080c98 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00080c98 + 0xc)" ( (binary_expression "DAT_00080c98 + 0xc" identifier + number_literal) )))) == identifier) ))) )) && (parenthesized_expression "(*(int *)(DAT_00080c98 + 0x10) == param_2)" ( (binary_expression "*(int *)(DAT_00080c98 + 0x10) == param_2" (pointer_expression "*(int *)(DAT_00080c98 + 0x10)" * (cast_expression "(int *)(DAT_00080c98 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00080c98 + 0x10)" ( (binary_expression "DAT_00080c98 + 0x10" identifier + number_literal) )))) == identifier) ))) )) (compound_statement "{\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }" { (expression_statement "*(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;" (assignment_expression "*(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4" (pointer_expression "*(undefined4 *)(DAT_00080c98 + 0xc)" * (cast_expression "(undefined4 *)(DAT_00080c98 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00080c98 + 0xc)" ( (binary_expression "DAT_00080c98 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_0002a520();" (assignment_expression "uVar1 = FUN_0002a520()" identifier = (call_expression "FUN_0002a520()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;" (assignment_expression "*(undefined4 *)(DAT_00080c98 + 0x10) = uVar1" (pointer_expression "*(undefined4 *)(DAT_00080c98 + 0x10)" * (cast_expression "(undefined4 *)(DAT_00080c98 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00080c98 + 0x10)" ( (binary_expression "DAT_00080c98 + 0x10" 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/* WARNING: Unknown calling convention */\n\nvoid ecoff_fix_loc(fragS *old_frag,ulong old_frag_offset)\n\n{\n  addressT aVar1;\n  \n  if (((last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag)) &&\n     (last_lineno->paddr == old_frag_offset)) {\n    last_lineno->frag = frag_now;\n    aVar1 = frag_now_fix();\n    last_lineno->paddr = (ulong)aVar1;\n  }\n  return;\n}\n\n" comment comment (function_definition "void ecoff_fix_loc(fragS *old_frag,ulong old_frag_offset)\n\n{\n  addressT aVar1;\n  \n  if (((last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag)) &&\n     (last_lineno->paddr == old_frag_offset)) {\n    last_lineno->frag = frag_now;\n    aVar1 = frag_now_fix();\n    last_lineno->paddr = (ulong)aVar1;\n  }\n  return;\n}" primitive_type (function_declarator "ecoff_fix_loc(fragS *old_frag,ulong old_frag_offset)" identifier (parameter_list "(fragS *old_frag,ulong old_frag_offset)" ( (parameter_declaration "fragS *old_frag" type_identifier (pointer_declarator "*old_frag" * identifier)) , (parameter_declaration "ulong old_frag_offset" type_identifier identifier) ))) (compound_statement "{\n  addressT aVar1;\n  \n  if (((last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag)) &&\n     (last_lineno->paddr == old_frag_offset)) {\n    last_lineno->frag = frag_now;\n    aVar1 = frag_now_fix();\n    last_lineno->paddr = (ulong)aVar1;\n  }\n  return;\n}" { (declaration "addressT aVar1;" type_identifier identifier ;) (if_statement "if (((last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag)) &&\n     (last_lineno->paddr == old_frag_offset)) {\n    last_lineno->frag = frag_now;\n    aVar1 = frag_now_fix();\n    last_lineno->paddr = (ulong)aVar1;\n  }" if (parenthesized_expression "(((last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag)) &&\n     (last_lineno->paddr == old_frag_offset))" ( (binary_expression "((last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag)) &&\n     (last_lineno->paddr == old_frag_offset)" (parenthesized_expression "((last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag))" ( (binary_expression "(last_lineno != (lineno_list_t *)0x0) && (last_lineno->frag == old_frag)" (parenthesized_expression "(last_lineno != (lineno_list_t *)0x0)" ( (binary_expression "last_lineno != (lineno_list_t *)0x0" identifier != (cast_expression "(lineno_list_t *)0x0" ( (type_descriptor "lineno_list_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(last_lineno->frag == old_frag)" ( (binary_expression "last_lineno->frag == old_frag" (field_expression "last_lineno->frag" identifier -> field_identifier) == identifier) ))) )) && (parenthesized_expression "(last_lineno->paddr == old_frag_offset)" ( (binary_expression "last_lineno->paddr == old_frag_offset" (field_expression "last_lineno->paddr" identifier -> field_identifier) == identifier) ))) )) (compound_statement "{\n    last_lineno->frag = frag_now;\n    aVar1 = frag_now_fix();\n    last_lineno->paddr = (ulong)aVar1;\n  }" { (expression_statement "last_lineno->frag = frag_now;" (assignment_expression "last_lineno->frag = frag_now" (field_expression "last_lineno->frag" identifier -> field_identifier) = identifier) ;) (expression_statement "aVar1 = frag_now_fix();" (assignment_expression "aVar1 = frag_now_fix()" identifier = (call_expression "frag_now_fix()" identifier (argument_list "()" ( )))) ;) (expression_statement "last_lineno->paddr = (ulong)aVar1;" (assignment_expression "last_lineno->paddr = (ulong)aVar1" (field_expression "last_lineno->paddr" identifier -> field_identifier) = (cast_expression "(ulong)aVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00022d70(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00022d70(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00022d70(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }" if (parenthesized_expression "(((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2))" ( (binary_expression "((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)" (parenthesized_expression "((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1))" ( (binary_expression "(DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)" (parenthesized_expression "(DAT_00080c98 != 0)" ( (binary_expression "DAT_00080c98 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(DAT_00080c98 + 0xc) == param_1)" ( (binary_expression "*(int *)(DAT_00080c98 + 0xc) == param_1" (pointer_expression "*(int *)(DAT_00080c98 + 0xc)" * (cast_expression "(int *)(DAT_00080c98 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00080c98 + 0xc)" ( (binary_expression "DAT_00080c98 + 0xc" identifier + number_literal) )))) == identifier) ))) )) && (parenthesized_expression "(*(int *)(DAT_00080c98 + 0x10) == param_2)" ( (binary_expression "*(int *)(DAT_00080c98 + 0x10) == param_2" (pointer_expression "*(int *)(DAT_00080c98 + 0x10)" * (cast_expression "(int *)(DAT_00080c98 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00080c98 + 0x10)" ( (binary_expression "DAT_00080c98 + 0x10" identifier + number_literal) )))) == identifier) ))) )) (compound_statement "{\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }" { (expression_statement "*(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;" (assignment_expression "*(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4" (pointer_expression "*(undefined4 *)(DAT_00080c98 + 0xc)" * (cast_expression "(undefined4 *)(DAT_00080c98 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00080c98 + 0xc)" ( (binary_expression "DAT_00080c98 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_0002a520();" (assignment_expression "uVar1 = FUN_0002a520()" identifier = (call_expression "FUN_0002a520()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;" (assignment_expression "*(undefined4 *)(DAT_00080c98 + 0x10) = uVar1" (pointer_expression "*(undefined4 *)(DAT_00080c98 + 0x10)" * (cast_expression "(undefined4 *)(DAT_00080c98 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00080c98 + 0x10)" ( (binary_expression "DAT_00080c98 + 0x10" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) ))) )) && (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 (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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_00022d70(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00022d70(int param_1,int param_2)" (identifier "FUN_00022d70") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }" (if "if") (parenthesized_expression "(((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2))" (( "(") (binary_expression "((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&\n     (*(int *)(DAT_00080c98 + 0x10) == param_2)" (parenthesized_expression "((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1))" (( "(") (binary_expression "(DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)" (parenthesized_expression "(DAT_00080c98 != 0)" (( "(") (binary_expression "DAT_00080c98 != 0" (identifier "DAT_00080c98") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(DAT_00080c98 + 0xc) == param_1)" (( "(") (binary_expression "*(int *)(DAT_00080c98 + 0xc) == param_1" (pointer_expression "*(int *)(DAT_00080c98 + 0xc)" (* "*") (cast_expression "(int *)(DAT_00080c98 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00080c98 + 0xc)" (( "(") (binary_expression "DAT_00080c98 + 0xc" (identifier "DAT_00080c98") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (identifier "param_1")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(DAT_00080c98 + 0x10) == param_2)" (( "(") (binary_expression "*(int *)(DAT_00080c98 + 0x10) == param_2" (pointer_expression "*(int *)(DAT_00080c98 + 0x10)" (* "*") (cast_expression "(int *)(DAT_00080c98 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00080c98 + 0x10)" (( "(") (binary_expression "DAT_00080c98 + 0x10" (identifier "DAT_00080c98") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;\n    uVar1 = FUN_0002a520();\n    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;" (assignment_expression "*(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4" (pointer_expression "*(undefined4 *)(DAT_00080c98 + 0xc)" (* "*") (cast_expression "(undefined4 *)(DAT_00080c98 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00080c98 + 0xc)" (( "(") (binary_expression "DAT_00080c98 + 0xc" (identifier "DAT_00080c98") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "DAT_000814a4")) (; ";")) (expression_statement "uVar1 = FUN_0002a520();" (assignment_expression "uVar1 = FUN_0002a520()" (identifier "uVar1") (= "=") (call_expression "FUN_0002a520()" (identifier "FUN_0002a520") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;" (assignment_expression "*(undefined4 *)(DAT_00080c98 + 0x10) = uVar1" (pointer_expression "*(undefined4 *)(DAT_00080c98 + 0x10)" (* "*") (cast_expression "(undefined4 *)(DAT_00080c98 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00080c98 + 0x10)" (( "(") (binary_expression "DAT_00080c98 + 0x10" (identifier "DAT_00080c98") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *var_2,type_2 var_3)

{
  type_3 aVar1;
  
  if (((var_1 != (type_4 *)0x0) && (var_1->frag == var_2)) &&
     (var_1->paddr == var_3)) {
    var_1->frag = frag_now;
    aVar1 = var_4();
    var_1->paddr = (type_2)aVar1;
  }
  return;
}


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

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

void MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  if (((DAT_00080c98 != 0) && (*(int *)(DAT_00080c98 + 0xc) == param_1)) &&
     (*(int *)(DAT_00080c98 + 0x10) == param_2)) {
    *(undefined4 *)(DAT_00080c98 + 0xc) = DAT_000814a4;
    uVar1 = FUN_0002a520();
    *(undefined4 *)(DAT_00080c98 + 0x10) = uVar1;
  }
  return;
}

