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

void api_update_ERRNO_string(awk_ext_id_t id,char *string)

{
  if (string != (char *)0x0) {
    update_ERRNO_string(string);
  }
  return;
}



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

void FUN_000591f0(undefined4 param_1,int param_2)

{
  if (param_2 != 0) {
    FUN_000490e0(param_2);
  }
  return;
}


PUSH EBX
CALL 0x00016f50
ADD EBX,0x65aee
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x00059213
SUB ESP,0xc
PUSH EAX
CALL 0x000490e0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000591f0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000591f0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000591f0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }\n  return;\n}" { (if_statement "if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_000490e0(param_2);\n  }" { (expression_statement "FUN_000490e0(param_2);" (call_expression "FUN_000490e0(param_2)" identifier (argument_list "(param_2)" ( 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 api_update_ERRNO_string(awk_ext_id_t id,char *string)\n\n{\n  if (string != (char *)0x0) {\n    update_ERRNO_string(string);\n  }\n  return;\n}\n\n" comment comment (function_definition "void api_update_ERRNO_string(awk_ext_id_t id,char *string)\n\n{\n  if (string != (char *)0x0) {\n    update_ERRNO_string(string);\n  }\n  return;\n}" primitive_type (function_declarator "api_update_ERRNO_string(awk_ext_id_t id,char *string)" identifier (parameter_list "(awk_ext_id_t id,char *string)" ( (parameter_declaration "awk_ext_id_t id" type_identifier identifier) , (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  if (string != (char *)0x0) {\n    update_ERRNO_string(string);\n  }\n  return;\n}" { (if_statement "if (string != (char *)0x0) {\n    update_ERRNO_string(string);\n  }" if (parenthesized_expression "(string != (char *)0x0)" ( (binary_expression "string != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    update_ERRNO_string(string);\n  }" { (expression_statement "update_ERRNO_string(string);" (call_expression "update_ERRNO_string(string)" identifier (argument_list "(string)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000591f0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000591f0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000591f0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }\n  return;\n}" { (if_statement "if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_000490e0(param_2);\n  }" { (expression_statement "FUN_000490e0(param_2);" (call_expression "FUN_000490e0(param_2)" identifier (argument_list "(param_2)" ( 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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000591f0(undefined4 param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000591f0(undefined4 param_1,int param_2)" (identifier "FUN_000591f0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }\n  return;\n}" ({ "{") (if_statement "if (param_2 != 0) {\n    FUN_000490e0(param_2);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000490e0(param_2);\n  }" ({ "{") (expression_statement "FUN_000490e0(param_2);" (call_expression "FUN_000490e0(param_2)" (identifier "FUN_000490e0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (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 id,char *var_1)

{
  if (var_1 != (char *)0x0) {
    var_2(var_1);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement))))

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

void MASKED(undefined4 param_1,int param_2)

{
  if (param_2 != 0) {
    FUN_000490e0(param_2);
  }
  return;
}

