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

int QuantizeErrorCompare(void *error_p,void *error_q)

{
  int iVar1;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  iVar1 = 1;
  if (*error_p <= *error_q) {
    iVar1 = -(uint)(DAT_0029f138 < ABS(*error_q - *error_p));
  }
  return iVar1;
}



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

int FUN_0012bc00(double *param_1,double *param_2)

{
  int iVar1;
  
  iVar1 = 1;
  if (*param_1 <= *param_2) {
    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));
  }
  return iVar1;
}


CALL 0x00038929
ADD EDX,0x2ad3fb
MOV EAX,dword ptr [ESP + 0x4]
FLD qword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x8]
FLD qword ptr [EAX]
FXCH
MOV EAX,0x1
FUCOMI ST0,ST1
JA 0x0012bc38
FSUBP
FABS
FLD qword ptr [EDX + 0xffec6138]
FUCOMIP ST0,ST1
FSTP ST0
SBB EAX,EAX
JMP 0x0012bc3c
FSTP ST0
FSTP ST0
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nint FUN_0012bc00(double *param_1,double *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int FUN_0012bc00(double *param_1,double *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0012bc00(double *param_1,double *param_2)" identifier (parameter_list "(double *param_1,double *param_2)" ( (parameter_declaration "double *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "double *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }" if (parenthesized_expression "(*param_1 <= *param_2)" ( (binary_expression "*param_1 <= *param_2" (pointer_expression "*param_1" * identifier) <= (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }" { (expression_statement "iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));" (assignment_expression "iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" identifier = (unary_expression "-(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" - (call_expression "(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0029f138 < ABS(*param_2 - *param_1))" ( (binary_expression "DAT_0029f138 < ABS(*param_2 - *param_1)" identifier < (call_expression "ABS(*param_2 - *param_1)" identifier (argument_list "(*param_2 - *param_1)" ( (binary_expression "*param_2 - *param_1" (pointer_expression "*param_2" * identifier) - (pointer_expression "*param_1" * identifier)) )))) ))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Unknown calling convention */\n\nint QuantizeErrorCompare(void *error_p,void *error_q)\n\n{\n  int iVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  iVar1 = 1;\n  if (*error_p <= *error_q) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*error_q - *error_p));\n  }\n  return iVar1;\n}\n\n" comment comment (function_definition "int QuantizeErrorCompare(void *error_p,void *error_q)\n\n{\n  int iVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  iVar1 = 1;\n  if (*error_p <= *error_q) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*error_q - *error_p));\n  }\n  return iVar1;\n}" primitive_type (function_declarator "QuantizeErrorCompare(void *error_p,void *error_q)" identifier (parameter_list "(void *error_p,void *error_q)" ( (parameter_declaration "void *error_p" primitive_type (pointer_declarator "*error_p" * identifier)) , (parameter_declaration "void *error_q" primitive_type (pointer_declarator "*error_q" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  iVar1 = 1;\n  if (*error_p <= *error_q) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*error_q - *error_p));\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) comment comment (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if (*error_p <= *error_q) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*error_q - *error_p));\n  }" if (parenthesized_expression "(*error_p <= *error_q)" ( (binary_expression "*error_p <= *error_q" (pointer_expression "*error_p" * identifier) <= (pointer_expression "*error_q" * identifier)) )) (compound_statement "{\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*error_q - *error_p));\n  }" { (expression_statement "iVar1 = -(uint)(DAT_0029f138 < ABS(*error_q - *error_p));" (assignment_expression "iVar1 = -(uint)(DAT_0029f138 < ABS(*error_q - *error_p))" identifier = (unary_expression "-(uint)(DAT_0029f138 < ABS(*error_q - *error_p))" - (call_expression "(uint)(DAT_0029f138 < ABS(*error_q - *error_p))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0029f138 < ABS(*error_q - *error_p))" ( (binary_expression "DAT_0029f138 < ABS(*error_q - *error_p)" identifier < (call_expression "ABS(*error_q - *error_p)" identifier (argument_list "(*error_q - *error_p)" ( (binary_expression "*error_q - *error_p" (pointer_expression "*error_q" * identifier) - (pointer_expression "*error_p" * identifier)) )))) ))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_0012bc00(double *param_1,double *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0012bc00(double *param_1,double *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0012bc00(double *param_1,double *param_2)" identifier (parameter_list "(double *param_1,double *param_2)" ( (parameter_declaration "double *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "double *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }" if (parenthesized_expression "(*param_1 <= *param_2)" ( (binary_expression "*param_1 <= *param_2" (pointer_expression "*param_1" * identifier) <= (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }" { (expression_statement "iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));" (assignment_expression "iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" identifier = (unary_expression "-(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" - (call_expression "(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0029f138 < ABS(*param_2 - *param_1))" ( (binary_expression "DAT_0029f138 < ABS(*param_2 - *param_1)" identifier < (call_expression "ABS(*param_2 - *param_1)" identifier (argument_list "(*param_2 - *param_1)" ( (binary_expression "*param_2 - *param_1" (pointer_expression "*param_2" * identifier) - (pointer_expression "*param_1" * identifier)) )))) ))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) <= (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * IDENT) - (pointer_expression * IDENT)) )))) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0012bc00(double *param_1,double *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0012bc00(double *param_1,double *param_2)" (identifier "FUN_0012bc00") (parameter_list "(double *param_1,double *param_2)" (( "(") (parameter_declaration "double *param_1" (primitive_type "double") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "double *param_2" (primitive_type "double") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" (identifier "iVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*param_1 <= *param_2) {\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }" (if "if") (parenthesized_expression "(*param_1 <= *param_2)" (( "(") (binary_expression "*param_1 <= *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (<= "<=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (compound_statement "{\n    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));\n  }" ({ "{") (expression_statement "iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));" (assignment_expression "iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" (identifier "iVar1") (= "=") (unary_expression "-(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" (- "-") (call_expression "(uint)(DAT_0029f138 < ABS(*param_2 - *param_1))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_0029f138 < ABS(*param_2 - *param_1))" (( "(") (binary_expression "DAT_0029f138 < ABS(*param_2 - *param_1)" (identifier "DAT_0029f138") (< "<") (call_expression "ABS(*param_2 - *param_1)" (identifier "ABS") (argument_list "(*param_2 - *param_1)" (( "(") (binary_expression "*param_2 - *param_1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (- "-") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")))) () ")"))))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

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

int function_1(void *error_p,void *error_q)

{
  int iVar1;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  iVar1 = 1;
  if (*error_p <= *error_q) {
    iVar1 = -(uint)(var_1 < var_2(*error_q - *error_p));
  }
  return iVar1;
}


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

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

int MASKED(double *param_1,double *param_2)

{
  int iVar1;
  
  iVar1 = 1;
  if (*param_1 <= *param_2) {
    iVar1 = -(uint)(DAT_0029f138 < ABS(*param_2 - *param_1));
  }
  return iVar1;
}

