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

int __gmpf_cmp_z(mpf_srcptr u,mpz_srcptr v)

{
  int iVar1;
  int iVar2;
  int in_GS_OFFSET;
  mpf_t vf;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  vf[0]._mp_size = v->_mp_size;
  vf[0]._mp_d = v->_mp_d;
  vf[0]._mp_exp = (vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f) - (vf[0]._mp_size >> 0x1f);
  iVar2 = __gmpf_cmp(u,vf);
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar2;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



void __gmpf_cmp_z(int param_1)

{
  int in_GS_OFFSET;
  undefined4 unaff_retaddr;
  undefined1 local_24 [4];
  uint local_20;
  int local_1c;
  undefined4 local_18;
  int local_14;
  undefined4 uStack_8;
  
  uStack_8 = 0x21096;
  entry();
  local_14 = *(int *)(in_GS_OFFSET + 0x14);
  local_20 = *(uint *)(param_1 + 4);
  local_18 = *(undefined4 *)(param_1 + 8);
  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);
  __gmpf_cmp(unaff_retaddr,local_24);
  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007ebe0();
}


PUSH EBX
CALL 0x0001c340
ADD EBX,0x7cf6a
SUB ESP,0x30
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x24],EAX
XOR EAX,EAX
MOV EDX,dword ptr [ESP + 0x3c]
MOV EAX,dword ptr [EDX + 0x4]
MOV ECX,EAX
MOV dword ptr [ESP + 0x18],EAX
SAR ECX,0x1f
XOR EAX,ECX
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EDX + 0x8]
SUB dword ptr [ESP + 0x1c],ECX
MOV dword ptr [ESP + 0x20],EAX
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH dword ptr [ESP + 0x3c]
CALL 0x0001b6f0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
XOR EDX,dword ptr GS:[0x14]
JNZ 0x000210ef
ADD ESP,0x28
POP EBX
RET
CALL 0x0007ebe0
(translation_unit "void __gmpf_cmp_z(int param_1)\n\n{\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  undefined1 local_24 [4];\n  uint local_20;\n  int local_1c;\n  undefined4 local_18;\n  int local_14;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x21096;\n  entry();\n  local_14 = *(int *)(in_GS_OFFSET + 0x14);\n  local_20 = *(uint *)(param_1 + 4);\n  local_18 = *(undefined4 *)(param_1 + 8);\n  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);\n  __gmpf_cmp(unaff_retaddr,local_24);\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007ebe0();\n}\n\n" (function_definition "void __gmpf_cmp_z(int param_1)\n\n{\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  undefined1 local_24 [4];\n  uint local_20;\n  int local_1c;\n  undefined4 local_18;\n  int local_14;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x21096;\n  entry();\n  local_14 = *(int *)(in_GS_OFFSET + 0x14);\n  local_20 = *(uint *)(param_1 + 4);\n  local_18 = *(undefined4 *)(param_1 + 8);\n  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);\n  __gmpf_cmp(unaff_retaddr,local_24);\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007ebe0();\n}" primitive_type (function_declarator "__gmpf_cmp_z(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  undefined1 local_24 [4];\n  uint local_20;\n  int local_1c;\n  undefined4 local_18;\n  int local_14;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x21096;\n  entry();\n  local_14 = *(int *)(in_GS_OFFSET + 0x14);\n  local_20 = *(uint *)(param_1 + 4);\n  local_18 = *(undefined4 *)(param_1 + 8);\n  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);\n  __gmpf_cmp(unaff_retaddr,local_24);\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007ebe0();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined1 local_24 [4];" type_identifier (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x21096;" (assignment_expression "uStack_8 = 0x21096" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_14 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_14 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(uint *)(param_1 + 4);" (assignment_expression "local_20 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_18 = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_18 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);" (assignment_expression "local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f)" identifier = (binary_expression "(local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f)" (parenthesized_expression "(local_20 ^ (int)local_20 >> 0x1f)" ( (binary_expression "local_20 ^ (int)local_20 >> 0x1f" identifier ^ (binary_expression "(int)local_20 >> 0x1f" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)local_20 >> 0x1f)" ( (binary_expression "(int)local_20 >> 0x1f" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "__gmpf_cmp(unaff_retaddr,local_24);" (call_expression "__gmpf_cmp(unaff_retaddr,local_24)" identifier (argument_list "(unaff_retaddr,local_24)" ( identifier , identifier ))) ;) (if_statement "if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_14 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_14 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint __gmpf_cmp_z(mpf_srcptr u,mpz_srcptr v)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  mpf_t vf;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  vf[0]._mp_size = v->_mp_size;\n  vf[0]._mp_d = v->_mp_d;\n  vf[0]._mp_exp = (vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f) - (vf[0]._mp_size >> 0x1f);\n  iVar2 = __gmpf_cmp(u,vf);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "int __gmpf_cmp_z(mpf_srcptr u,mpz_srcptr v)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  mpf_t vf;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  vf[0]._mp_size = v->_mp_size;\n  vf[0]._mp_d = v->_mp_d;\n  vf[0]._mp_exp = (vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f) - (vf[0]._mp_size >> 0x1f);\n  iVar2 = __gmpf_cmp(u,vf);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "__gmpf_cmp_z(mpf_srcptr u,mpz_srcptr v)" identifier (parameter_list "(mpf_srcptr u,mpz_srcptr v)" ( (parameter_declaration "mpf_srcptr u" type_identifier identifier) , (parameter_declaration "mpz_srcptr v" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  mpf_t vf;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  vf[0]._mp_size = v->_mp_size;\n  vf[0]._mp_d = v->_mp_d;\n  vf[0]._mp_exp = (vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f) - (vf[0]._mp_size >> 0x1f);\n  iVar2 = __gmpf_cmp(u,vf);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "mpf_t vf;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "vf[0]._mp_size = v->_mp_size;" (assignment_expression "vf[0]._mp_size = v->_mp_size" (field_expression "vf[0]._mp_size" (subscript_expression "vf[0]" identifier [ number_literal ]) . field_identifier) = (field_expression "v->_mp_size" identifier -> field_identifier)) ;) (expression_statement "vf[0]._mp_d = v->_mp_d;" (assignment_expression "vf[0]._mp_d = v->_mp_d" (field_expression "vf[0]._mp_d" (subscript_expression "vf[0]" identifier [ number_literal ]) . field_identifier) = (field_expression "v->_mp_d" identifier -> field_identifier)) ;) (expression_statement "vf[0]._mp_exp = (vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f) - (vf[0]._mp_size >> 0x1f);" (assignment_expression "vf[0]._mp_exp = (vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f) - (vf[0]._mp_size >> 0x1f)" (field_expression "vf[0]._mp_exp" (subscript_expression "vf[0]" identifier [ number_literal ]) . field_identifier) = (binary_expression "(vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f) - (vf[0]._mp_size >> 0x1f)" (parenthesized_expression "(vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f)" ( (binary_expression "vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f" (field_expression "vf[0]._mp_size" (subscript_expression "vf[0]" identifier [ number_literal ]) . field_identifier) ^ (binary_expression "vf[0]._mp_size >> 0x1f" (field_expression "vf[0]._mp_size" (subscript_expression "vf[0]" identifier [ number_literal ]) . field_identifier) >> number_literal)) )) - (parenthesized_expression "(vf[0]._mp_size >> 0x1f)" ( (binary_expression "vf[0]._mp_size >> 0x1f" (field_expression "vf[0]._mp_size" (subscript_expression "vf[0]" identifier [ number_literal ]) . field_identifier) >> number_literal) )))) ;) (expression_statement "iVar2 = __gmpf_cmp(u,vf);" (assignment_expression "iVar2 = __gmpf_cmp(u,vf)" identifier = (call_expression "__gmpf_cmp(u,vf)" identifier (argument_list "(u,vf)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar2;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __gmpf_cmp_z(int param_1)\n\n{\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  undefined1 local_24 [4];\n  uint local_20;\n  int local_1c;\n  undefined4 local_18;\n  int local_14;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x21096;\n  entry();\n  local_14 = *(int *)(in_GS_OFFSET + 0x14);\n  local_20 = *(uint *)(param_1 + 4);\n  local_18 = *(undefined4 *)(param_1 + 8);\n  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);\n  __gmpf_cmp(unaff_retaddr,local_24);\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0007ebe0();\n}\n\n" (function_definition "void __gmpf_cmp_z(int param_1)\n\n{\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  undefined1 local_24 [4];\n  uint local_20;\n  int local_1c;\n  undefined4 local_18;\n  int local_14;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x21096;\n  entry();\n  local_14 = *(int *)(in_GS_OFFSET + 0x14);\n  local_20 = *(uint *)(param_1 + 4);\n  local_18 = *(undefined4 *)(param_1 + 8);\n  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);\n  __gmpf_cmp(unaff_retaddr,local_24);\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0007ebe0();\n}" primitive_type (function_declarator "__gmpf_cmp_z(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  undefined1 local_24 [4];\n  uint local_20;\n  int local_1c;\n  undefined4 local_18;\n  int local_14;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x21096;\n  entry();\n  local_14 = *(int *)(in_GS_OFFSET + 0x14);\n  local_20 = *(uint *)(param_1 + 4);\n  local_18 = *(undefined4 *)(param_1 + 8);\n  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);\n  __gmpf_cmp(unaff_retaddr,local_24);\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0007ebe0();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined1 local_24 [4];" type_identifier (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x21096;" (assignment_expression "uStack_8 = 0x21096" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_14 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_14 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(uint *)(param_1 + 4);" (assignment_expression "local_20 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_18 = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_18 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);" (assignment_expression "local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f)" identifier = (binary_expression "(local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f)" (parenthesized_expression "(local_20 ^ (int)local_20 >> 0x1f)" ( (binary_expression "local_20 ^ (int)local_20 >> 0x1f" identifier ^ (binary_expression "(int)local_20 >> 0x1f" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)local_20 >> 0x1f)" ( (binary_expression "(int)local_20 >> 0x1f" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "__gmpf_cmp(unaff_retaddr,local_24);" (call_expression "__gmpf_cmp(unaff_retaddr,local_24)" identifier (argument_list "(unaff_retaddr,local_24)" ( identifier , identifier ))) ;) (if_statement "if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_14 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_14 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) )) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __gmpf_cmp_z(int param_1)\n\n{\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  undefined1 local_24 [4];\n  uint local_20;\n  int local_1c;\n  undefined4 local_18;\n  int local_14;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x21096;\n  entry();\n  local_14 = *(int *)(in_GS_OFFSET + 0x14);\n  local_20 = *(uint *)(param_1 + 4);\n  local_18 = *(undefined4 *)(param_1 + 8);\n  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);\n  __gmpf_cmp(unaff_retaddr,local_24);\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0007ebe0();\n}" (primitive_type "void") (function_declarator "__gmpf_cmp_z(int param_1)" (identifier "__gmpf_cmp_z") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  undefined1 local_24 [4];\n  uint local_20;\n  int local_1c;\n  undefined4 local_18;\n  int local_14;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x21096;\n  entry();\n  local_14 = *(int *)(in_GS_OFFSET + 0x14);\n  local_20 = *(uint *)(param_1 + 4);\n  local_18 = *(undefined4 *)(param_1 + 8);\n  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);\n  __gmpf_cmp(unaff_retaddr,local_24);\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0007ebe0();\n}" ({ "{") (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (declaration "undefined1 local_24 [4];" (type_identifier "undefined1") (array_declarator "local_24 [4]" (identifier "local_24") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (declaration "undefined4 uStack_8;" (type_identifier "undefined4") (identifier "uStack_8") (; ";")) (expression_statement "uStack_8 = 0x21096;" (assignment_expression "uStack_8 = 0x21096" (identifier "uStack_8") (= "=") (number_literal "0x21096")) (; ";")) (expression_statement "entry();" (call_expression "entry()" (identifier "entry") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_14 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_14 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_14") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_20 = *(uint *)(param_1 + 4);" (assignment_expression "local_20 = *(uint *)(param_1 + 4)" (identifier "local_20") (= "=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "local_18 = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_18 = *(undefined4 *)(param_1 + 8)" (identifier "local_18") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);" (assignment_expression "local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f)" (identifier "local_1c") (= "=") (binary_expression "(local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f)" (parenthesized_expression "(local_20 ^ (int)local_20 >> 0x1f)" (( "(") (binary_expression "local_20 ^ (int)local_20 >> 0x1f" (identifier "local_20") (^ "^") (binary_expression "(int)local_20 >> 0x1f" (cast_expression "(int)local_20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_20")) (>> ">>") (number_literal "0x1f"))) () ")")) (- "-") (parenthesized_expression "((int)local_20 >> 0x1f)" (( "(") (binary_expression "(int)local_20 >> 0x1f" (cast_expression "(int)local_20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_20")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "__gmpf_cmp(unaff_retaddr,local_24);" (call_expression "__gmpf_cmp(unaff_retaddr,local_24)" (identifier "__gmpf_cmp") (argument_list "(unaff_retaddr,local_24)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "local_24") () ")"))) (; ";")) (if_statement "if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_14 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_14") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" (identifier "FUN_0007ebe0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1(type_1 u,type_2 v)

{
  int var_3;
  int iVar2;
  int var_1;
  type_3 vf;
  
  var_3 = *(int *)(var_1 + 0x14);
  vf[0]._mp_size = v->_mp_size;
  vf[0]._mp_d = v->_mp_d;
  vf[0]._mp_exp = (vf[0]._mp_size ^ vf[0]._mp_size >> 0x1f) - (vf[0]._mp_size >> 0x1f);
  iVar2 = var_2(u,vf);
  if (var_3 == *(int *)(var_1 + 0x14)) {
    return iVar2;
  }
                    /* WARNING: Subroutine does not return */
  var_4();
}


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

void MASKED(int param_1)

{
  int in_GS_OFFSET;
  undefined4 unaff_retaddr;
  undefined1 local_24 [4];
  uint local_20;
  int local_1c;
  undefined4 local_18;
  int local_14;
  undefined4 uStack_8;
  
  uStack_8 = 0x21096;
  entry();
  local_14 = *(int *)(in_GS_OFFSET + 0x14);
  local_20 = *(uint *)(param_1 + 4);
  local_18 = *(undefined4 *)(param_1 + 8);
  local_1c = (local_20 ^ (int)local_20 >> 0x1f) - ((int)local_20 >> 0x1f);
  __gmpf_cmp(unaff_retaddr,local_24);
  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007ebe0();
}

