
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void __gmpz_init(mpz_ptr x)

{
  undefined *puVar1;
  mp_limb_t *pmVar2;
  
  puVar1 = PTR___gmp_allocate_func_00098d9c;
  x->_mp_alloc = 1;
  pmVar2 = (mp_limb_t *)(**(code **)puVar1)(4);
  x->_mp_size = 0;
  x->_mp_d = pmVar2;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void __gmpz_init(undefined4 *param_1)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR___gmp_allocate_func_00098d9c;
  *param_1 = 1;
  uVar2 = (**(code **)puVar1)(4);
  param_1[1] = 0;
  param_1[2] = uVar2;
  return;
}


CALL 0x0001c5b1
ADD EAX,0x6e69b
PUSH EBX
SUB ESP,0x14
MOV EBX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EAX + 0xfffffd9c]
MOV dword ptr [EBX],0x1
PUSH 0x4
CALL dword ptr [EAX]
MOV dword ptr [EBX + 0x4],0x0
MOV dword ptr [EBX + 0x8],EAX
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid __gmpz_init(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  *param_1 = 1;\n  uVar2 = (**(code **)puVar1)(4);\n  param_1[1] = 0;\n  param_1[2] = uVar2;\n  return;\n}\n\n" comment (function_definition "void __gmpz_init(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  *param_1 = 1;\n  uVar2 = (**(code **)puVar1)(4);\n  param_1[1] = 0;\n  param_1[2] = uVar2;\n  return;\n}" primitive_type (function_declarator "__gmpz_init(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  *param_1 = 1;\n  uVar2 = (**(code **)puVar1)(4);\n  param_1[1] = 0;\n  param_1[2] = uVar2;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___gmp_allocate_func_00098d9c;" (assignment_expression "puVar1 = PTR___gmp_allocate_func_00098d9c" identifier = identifier) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar2 = (**(code **)puVar1)(4);" (assignment_expression "uVar2 = (**(code **)puVar1)(4)" identifier = (call_expression "(**(code **)puVar1)(4)" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(4)" ( number_literal )))) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nvoid __gmpz_init(mpz_ptr x)\n\n{\n  undefined *puVar1;\n  mp_limb_t *pmVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  x->_mp_alloc = 1;\n  pmVar2 = (mp_limb_t *)(**(code **)puVar1)(4);\n  x->_mp_size = 0;\n  x->_mp_d = pmVar2;\n  return;\n}\n\n" comment comment (function_definition "void __gmpz_init(mpz_ptr x)\n\n{\n  undefined *puVar1;\n  mp_limb_t *pmVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  x->_mp_alloc = 1;\n  pmVar2 = (mp_limb_t *)(**(code **)puVar1)(4);\n  x->_mp_size = 0;\n  x->_mp_d = pmVar2;\n  return;\n}" primitive_type (function_declarator "__gmpz_init(mpz_ptr x)" identifier (parameter_list "(mpz_ptr x)" ( (parameter_declaration "mpz_ptr x" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  mp_limb_t *pmVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  x->_mp_alloc = 1;\n  pmVar2 = (mp_limb_t *)(**(code **)puVar1)(4);\n  x->_mp_size = 0;\n  x->_mp_d = pmVar2;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "mp_limb_t *pmVar2;" type_identifier (pointer_declarator "*pmVar2" * identifier) ;) (expression_statement "puVar1 = PTR___gmp_allocate_func_00098d9c;" (assignment_expression "puVar1 = PTR___gmp_allocate_func_00098d9c" identifier = identifier) ;) (expression_statement "x->_mp_alloc = 1;" (assignment_expression "x->_mp_alloc = 1" (field_expression "x->_mp_alloc" identifier -> field_identifier) = number_literal) ;) (expression_statement "pmVar2 = (mp_limb_t *)(**(code **)puVar1)(4);" (assignment_expression "pmVar2 = (mp_limb_t *)(**(code **)puVar1)(4)" identifier = (cast_expression "(mp_limb_t *)(**(code **)puVar1)(4)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)puVar1)(4)" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "x->_mp_size = 0;" (assignment_expression "x->_mp_size = 0" (field_expression "x->_mp_size" identifier -> field_identifier) = number_literal) ;) (expression_statement "x->_mp_d = pmVar2;" (assignment_expression "x->_mp_d = pmVar2" (field_expression "x->_mp_d" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_init(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  *param_1 = 1;\n  uVar2 = (**(code **)puVar1)(4);\n  param_1[1] = 0;\n  param_1[2] = uVar2;\n  return;\n}\n\n" (function_definition "void __gmpz_init(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  *param_1 = 1;\n  uVar2 = (**(code **)puVar1)(4);\n  param_1[1] = 0;\n  param_1[2] = uVar2;\n  return;\n}" primitive_type (function_declarator "__gmpz_init(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  *param_1 = 1;\n  uVar2 = (**(code **)puVar1)(4);\n  param_1[1] = 0;\n  param_1[2] = uVar2;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___gmp_allocate_func_00098d9c;" (assignment_expression "puVar1 = PTR___gmp_allocate_func_00098d9c" identifier = identifier) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar2 = (**(code **)puVar1)(4);" (assignment_expression "uVar2 = (**(code **)puVar1)(4)" identifier = (call_expression "(**(code **)puVar1)(4)" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(4)" ( number_literal )))) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __gmpz_init(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  *param_1 = 1;\n  uVar2 = (**(code **)puVar1)(4);\n  param_1[1] = 0;\n  param_1[2] = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "__gmpz_init(undefined4 *param_1)" (identifier "__gmpz_init") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR___gmp_allocate_func_00098d9c;\n  *param_1 = 1;\n  uVar2 = (**(code **)puVar1)(4);\n  param_1[1] = 0;\n  param_1[2] = uVar2;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = PTR___gmp_allocate_func_00098d9c;" (assignment_expression "puVar1 = PTR___gmp_allocate_func_00098d9c" (identifier "puVar1") (= "=") (identifier "PTR___gmp_allocate_func_00098d9c")) (; ";")) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar2 = (**(code **)puVar1)(4);" (assignment_expression "uVar2 = (**(code **)puVar1)(4)" (identifier "uVar2") (= "=") (call_expression "(**(code **)puVar1)(4)" (parenthesized_expression "(**(code **)puVar1)" (( "(") (pointer_expression "**(code **)puVar1" (* "*") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (argument_list "(4)" (( "(") (number_literal "4") () ")")))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void function_1(type_1 x)

{
  type_2 *puVar1;
  type_3 *pmVar2;
  
  puVar1 = PTR___gmp_allocate_func_00098d9c;
  x->_mp_alloc = 1;
  pmVar2 = (type_3 *)(**(type_4 **)puVar1)(4);
  x->_mp_size = 0;
  x->_mp_d = pmVar2;
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR___gmp_allocate_func_00098d9c;
  *param_1 = 1;
  uVar2 = (**(code **)puVar1)(4);
  param_1[1] = 0;
  param_1[2] = uVar2;
  return;
}

