
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 lang_add_gc_name(char *name)

{
  bfd_sym_chain *pbVar1;
  
  pbVar1 = (bfd_sym_chain *)stat_alloc(8);
  pbVar1->name = name;
  pbVar1->next = link_info.gc_sym_list;
  link_info.gc_sym_list = pbVar1;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 FUN_00021920(undefined4 param_1)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_000215d0(8);
  puVar1[1] = param_1;
  *puVar1 = DAT_00084c08;
  DAT_00084c08 = puVar1;
  return;
}


PUSH ESI
CALL 0x0001b126
ADD ESI,0x626da
PUSH EBX
MOV EBX,EAX
SUB ESP,0x10
PUSH 0x8
CALL 0x000215d0
LEA EDX,[ESI + 0xbc0]
MOV ECX,dword ptr [EDX + 0x48]
MOV dword ptr [EAX + 0x4],EBX
MOV dword ptr [EAX],ECX
MOV dword ptr [EDX + 0x48],EAX
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3 FUN_00021920(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000215d0(8);\n  puVar1[1] = param_1;\n  *puVar1 = DAT_00084c08;\n  DAT_00084c08 = puVar1;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00021920(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000215d0(8);\n  puVar1[1] = param_1;\n  *puVar1 = DAT_00084c08;\n  DAT_00084c08 = puVar1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00021920(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000215d0(8);\n  puVar1[1] = param_1;\n  *puVar1 = DAT_00084c08;\n  DAT_00084c08 = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_000215d0(8);" (assignment_expression "puVar1 = (undefined4 *)FUN_000215d0(8)" identifier = (cast_expression "(undefined4 *)FUN_000215d0(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000215d0(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = DAT_00084c08;" (assignment_expression "*puVar1 = DAT_00084c08" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "DAT_00084c08 = puVar1;" (assignment_expression "DAT_00084c08 = puVar1" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3 lang_add_gc_name(char *name)\n\n{\n  bfd_sym_chain *pbVar1;\n  \n  pbVar1 = (bfd_sym_chain *)stat_alloc(8);\n  pbVar1->name = name;\n  pbVar1->next = link_info.gc_sym_list;\n  link_info.gc_sym_list = pbVar1;\n  return;\n}\n\n" comment (function_definition "void __regparm3 lang_add_gc_name(char *name)\n\n{\n  bfd_sym_chain *pbVar1;\n  \n  pbVar1 = (bfd_sym_chain *)stat_alloc(8);\n  pbVar1->name = name;\n  pbVar1->next = link_info.gc_sym_list;\n  link_info.gc_sym_list = pbVar1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "lang_add_gc_name(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  bfd_sym_chain *pbVar1;\n  \n  pbVar1 = (bfd_sym_chain *)stat_alloc(8);\n  pbVar1->name = name;\n  pbVar1->next = link_info.gc_sym_list;\n  link_info.gc_sym_list = pbVar1;\n  return;\n}" { (declaration "bfd_sym_chain *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (expression_statement "pbVar1 = (bfd_sym_chain *)stat_alloc(8);" (assignment_expression "pbVar1 = (bfd_sym_chain *)stat_alloc(8)" identifier = (cast_expression "(bfd_sym_chain *)stat_alloc(8)" ( (type_descriptor "bfd_sym_chain *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "pbVar1->name = name;" (assignment_expression "pbVar1->name = name" (field_expression "pbVar1->name" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar1->next = link_info.gc_sym_list;" (assignment_expression "pbVar1->next = link_info.gc_sym_list" (field_expression "pbVar1->next" identifier -> field_identifier) = (field_expression "link_info.gc_sym_list" identifier . field_identifier)) ;) (expression_statement "link_info.gc_sym_list = pbVar1;" (assignment_expression "link_info.gc_sym_list = pbVar1" (field_expression "link_info.gc_sym_list" identifier . field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00021920(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000215d0(8);\n  puVar1[1] = param_1;\n  *puVar1 = DAT_00084c08;\n  DAT_00084c08 = puVar1;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00021920(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000215d0(8);\n  puVar1[1] = param_1;\n  *puVar1 = DAT_00084c08;\n  DAT_00084c08 = puVar1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00021920(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000215d0(8);\n  puVar1[1] = param_1;\n  *puVar1 = DAT_00084c08;\n  DAT_00084c08 = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_000215d0(8);" (assignment_expression "puVar1 = (undefined4 *)FUN_000215d0(8)" identifier = (cast_expression "(undefined4 *)FUN_000215d0(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000215d0(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = DAT_00084c08;" (assignment_expression "*puVar1 = DAT_00084c08" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "DAT_00084c08 = puVar1;" (assignment_expression "DAT_00084c08 = puVar1" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00021920(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000215d0(8);\n  puVar1[1] = param_1;\n  *puVar1 = DAT_00084c08;\n  DAT_00084c08 = puVar1;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00021920(undefined4 param_1)" (identifier "FUN_00021920") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000215d0(8);\n  puVar1[1] = param_1;\n  *puVar1 = DAT_00084c08;\n  DAT_00084c08 = puVar1;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_000215d0(8);" (assignment_expression "puVar1 = (undefined4 *)FUN_000215d0(8)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_000215d0(8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000215d0(8)" (identifier "FUN_000215d0") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*puVar1 = DAT_00084c08;" (assignment_expression "*puVar1 = DAT_00084c08" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "DAT_00084c08")) (; ";")) (expression_statement "DAT_00084c08 = puVar1;" (assignment_expression "DAT_00084c08 = puVar1" (identifier "DAT_00084c08") (= "=") (identifier "puVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 function_1(char *name)

{
  type_1 *pbVar1;
  
  pbVar1 = (type_1 *)var_1(8);
  pbVar1->name = name;
  pbVar1->next = link_info.gc_sym_list;
  link_info.gc_sym_list = pbVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 MASKED(undefined4 param_1)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_000215d0(8);
  puVar1[1] = param_1;
  *puVar1 = DAT_00084c08;
  DAT_00084c08 = puVar1;
  return;
}

