
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Unknown calling convention */

int toplevel_callback_pending(void)

{
  if (cbcurr != (callback *)0x0) {
    return 1;
  }
  return (uint)(cbhead != (callback *)0x0);
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

bool FUN_0001ba20(void)

{
  if (DAT_000c61e8 != 0) {
    return true;
  }
  return DAT_000c61e4 != 0;
}


CALL 0x0001b545
ADD EDX,0xa9d7f
MOV EAX,0x1
MOV ECX,dword ptr [EDX + 0xa44]
TEST ECX,ECX
JZ 0x0001ba40
RET
MOV EDX,dword ptr [EDX + 0xa40]
XOR EAX,EAX
TEST EDX,EDX
SETNZ AL
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nbool FUN_0001ba20(void)\n\n{\n  if (DAT_000c61e8 != 0) {\n    return true;\n  }\n  return DAT_000c61e4 != 0;\n}\n\n" comment (function_definition "bool FUN_0001ba20(void)\n\n{\n  if (DAT_000c61e8 != 0) {\n    return true;\n  }\n  return DAT_000c61e4 != 0;\n}" primitive_type (function_declarator "FUN_0001ba20(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_000c61e8 != 0) {\n    return true;\n  }\n  return DAT_000c61e4 != 0;\n}" { (if_statement "if (DAT_000c61e8 != 0) {\n    return true;\n  }" if (parenthesized_expression "(DAT_000c61e8 != 0)" ( (binary_expression "DAT_000c61e8 != 0" identifier != number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (return_statement "return DAT_000c61e4 != 0;" return (binary_expression "DAT_000c61e4 != 0" identifier != number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Unknown calling convention */\n\nint toplevel_callback_pending(void)\n\n{\n  if (cbcurr != (callback *)0x0) {\n    return 1;\n  }\n  return (uint)(cbhead != (callback *)0x0);\n}\n\n" comment comment (function_definition "int toplevel_callback_pending(void)\n\n{\n  if (cbcurr != (callback *)0x0) {\n    return 1;\n  }\n  return (uint)(cbhead != (callback *)0x0);\n}" primitive_type (function_declarator "toplevel_callback_pending(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (cbcurr != (callback *)0x0) {\n    return 1;\n  }\n  return (uint)(cbhead != (callback *)0x0);\n}" { (if_statement "if (cbcurr != (callback *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(cbcurr != (callback *)0x0)" ( (binary_expression "cbcurr != (callback *)0x0" identifier != (cast_expression "(callback *)0x0" ( (type_descriptor "callback *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (return_statement "return (uint)(cbhead != (callback *)0x0);" return (call_expression "(uint)(cbhead != (callback *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(cbhead != (callback *)0x0)" ( (binary_expression "cbhead != (callback *)0x0" identifier != (cast_expression "(callback *)0x0" ( (type_descriptor "callback *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) ;) })))
(translation_unit "bool FUN_0001ba20(void)\n\n{\n  if (DAT_000c61e8 != 0) {\n    return true;\n  }\n  return DAT_000c61e4 != 0;\n}\n\n" (function_definition "bool FUN_0001ba20(void)\n\n{\n  if (DAT_000c61e8 != 0) {\n    return true;\n  }\n  return DAT_000c61e4 != 0;\n}" primitive_type (function_declarator "FUN_0001ba20(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_000c61e8 != 0) {\n    return true;\n  }\n  return DAT_000c61e4 != 0;\n}" { (if_statement "if (DAT_000c61e8 != 0) {\n    return true;\n  }" if (parenthesized_expression "(DAT_000c61e8 != 0)" ( (binary_expression "DAT_000c61e8 != 0" identifier != number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (return_statement "return DAT_000c61e4 != 0;" return (binary_expression "DAT_000c61e4 != 0" identifier != number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return BOOL ;) })) (return_statement return (binary_expression IDENT != LIT) ;) })))
(function_definition "bool FUN_0001ba20(void)\n\n{\n  if (DAT_000c61e8 != 0) {\n    return true;\n  }\n  return DAT_000c61e4 != 0;\n}" (primitive_type "bool") (function_declarator "FUN_0001ba20(void)" (identifier "FUN_0001ba20") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_000c61e8 != 0) {\n    return true;\n  }\n  return DAT_000c61e4 != 0;\n}" ({ "{") (if_statement "if (DAT_000c61e8 != 0) {\n    return true;\n  }" (if "if") (parenthesized_expression "(DAT_000c61e8 != 0)" (( "(") (binary_expression "DAT_000c61e8 != 0" (identifier "DAT_000c61e8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (return_statement "return DAT_000c61e4 != 0;" (return "return") (binary_expression "DAT_000c61e4 != 0" (identifier "DAT_000c61e4") (!= "!=") (number_literal "0")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Unknown calling convention */

int function_1(void)

{
  if (var_1 != (type_1 *)0x0) {
    return 1;
  }
  return (uint)(var_2 != (type_1 *)0x0);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (true)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

bool MASKED(void)

{
  if (DAT_000c61e8 != 0) {
    return true;
  }
  return DAT_000c61e4 != 0;
}

