
/* WARNING: Unknown calling convention */

size_t RegisterVICARImage(void)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  
  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)
                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,
                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);
  puVar2 = PTR_RegisterMagickInfo_003a8ebc;
  puVar1 = PTR_LAB_003a89b4;
  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;
  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;
  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;
  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;
  (*(code *)puVar2)(iVar3);
  return 0x810;
}



undefined4 RegisterVICARImage(void)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  
  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)
                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,
                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);
  puVar2 = PTR_RegisterMagickInfo_003a8ebc;
  puVar1 = PTR_LAB_003a89b4;
  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;
  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;
  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;
  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;
  (*(code *)puVar2)(iVar3);
  return 0x810;
}


lui gp,0xf
addiu gp,gp,-0x266c
addu gp,gp,t9
lw a1,-0x7fc4(gp)
addiu sp,sp,-0x20
lw a2,-0x7f64(gp)
lw t9,-0x72d4(gp)
addiu a1,a1,-0x3f78
sw ra,0x1c(sp)
addiu a2,a2,0x4068
sw gp,0x10(sp)
jalr t9
_or a0,a1,zero
lw gp,0x10(sp)
or a0,v0,zero
lw v1,0x2c(v0)
lw a1,-0x7efc(gp)
xori v1,v1,0x1
lw t9,-0x79f4(gp)
sw v1,0x2c(v0)
addiu a1,a1,0x2060
sw a1,0x18(v0)
lw a1,-0x7efc(gp)
addiu a1,a1,0x2aa0
sw a1,0x1c(v0)
lw a1,-0x7efc(gp)
addiu a1,a1,0x29f4
jalr t9
_sw a1,0x24(v0)
li v0,0x810
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 RegisterVICARImage(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}\n\n" (function_definition "undefined4 RegisterVICARImage(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}" type_identifier (function_declarator "RegisterVICARImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);" (assignment_expression "iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" identifier = (call_expression "(*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" (parenthesized_expression "(*(code *)PTR_AcquireMagickInfo_003a95dc)" ( (pointer_expression "*(code *)PTR_AcquireMagickInfo_003a95dc" * (cast_expression "(code *)PTR_AcquireMagickInfo_003a95dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" ( (binary_expression "PTR_s_courses_003a88ec + -0x3f78" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x3f78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068" identifier + number_literal) )))) ;) (expression_statement "puVar2 = PTR_RegisterMagickInfo_003a8ebc;" (assignment_expression "puVar2 = PTR_RegisterMagickInfo_003a8ebc" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a89b4;" (assignment_expression "puVar1 = PTR_LAB_003a89b4" identifier = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) ^ number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;" (assignment_expression "*(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060" (pointer_expression "*(undefined **)(iVar3 + 0x18)" * (cast_expression "(undefined **)(iVar3 + 0x18)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) = (binary_expression "puVar1 + 0x2060" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;" (assignment_expression "*(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0" (pointer_expression "*(undefined **)(iVar3 + 0x1c)" * (cast_expression "(undefined **)(iVar3 + 0x1c)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) = (binary_expression "PTR_LAB_003a89b4 + 0x2aa0" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;" (assignment_expression "*(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4" (pointer_expression "*(undefined **)(iVar3 + 0x24)" * (cast_expression "(undefined **)(iVar3 + 0x24)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) = (binary_expression "PTR_LAB_003a89b4 + 0x29f4" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar2)(iVar3);" (call_expression "(*(code *)puVar2)(iVar3)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nsize_t RegisterVICARImage(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}\n\n" comment (function_definition "size_t RegisterVICARImage(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}" primitive_type (function_declarator "RegisterVICARImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);" (assignment_expression "iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" identifier = (call_expression "(*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" (parenthesized_expression "(*(code *)PTR_AcquireMagickInfo_003a95dc)" ( (pointer_expression "*(code *)PTR_AcquireMagickInfo_003a95dc" * (cast_expression "(code *)PTR_AcquireMagickInfo_003a95dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" ( (binary_expression "PTR_s_courses_003a88ec + -0x3f78" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x3f78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068" identifier + number_literal) )))) ;) (expression_statement "puVar2 = PTR_RegisterMagickInfo_003a8ebc;" (assignment_expression "puVar2 = PTR_RegisterMagickInfo_003a8ebc" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a89b4;" (assignment_expression "puVar1 = PTR_LAB_003a89b4" identifier = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) ^ number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;" (assignment_expression "*(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060" (pointer_expression "*(undefined **)(iVar3 + 0x18)" * (cast_expression "(undefined **)(iVar3 + 0x18)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) = (binary_expression "puVar1 + 0x2060" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;" (assignment_expression "*(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0" (pointer_expression "*(undefined **)(iVar3 + 0x1c)" * (cast_expression "(undefined **)(iVar3 + 0x1c)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) = (binary_expression "PTR_LAB_003a89b4 + 0x2aa0" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;" (assignment_expression "*(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4" (pointer_expression "*(undefined **)(iVar3 + 0x24)" * (cast_expression "(undefined **)(iVar3 + 0x24)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) = (binary_expression "PTR_LAB_003a89b4 + 0x29f4" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar2)(iVar3);" (call_expression "(*(code *)puVar2)(iVar3)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit "undefined4 RegisterVICARImage(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}\n\n" (function_definition "undefined4 RegisterVICARImage(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}" type_identifier (function_declarator "RegisterVICARImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);" (assignment_expression "iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" identifier = (call_expression "(*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" (parenthesized_expression "(*(code *)PTR_AcquireMagickInfo_003a95dc)" ( (pointer_expression "*(code *)PTR_AcquireMagickInfo_003a95dc" * (cast_expression "(code *)PTR_AcquireMagickInfo_003a95dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" ( (binary_expression "PTR_s_courses_003a88ec + -0x3f78" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x3f78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068" identifier + number_literal) )))) ;) (expression_statement "puVar2 = PTR_RegisterMagickInfo_003a8ebc;" (assignment_expression "puVar2 = PTR_RegisterMagickInfo_003a8ebc" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a89b4;" (assignment_expression "puVar1 = PTR_LAB_003a89b4" identifier = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) ^ number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;" (assignment_expression "*(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060" (pointer_expression "*(undefined **)(iVar3 + 0x18)" * (cast_expression "(undefined **)(iVar3 + 0x18)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) = (binary_expression "puVar1 + 0x2060" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;" (assignment_expression "*(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0" (pointer_expression "*(undefined **)(iVar3 + 0x1c)" * (cast_expression "(undefined **)(iVar3 + 0x1c)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) = (binary_expression "PTR_LAB_003a89b4 + 0x2aa0" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;" (assignment_expression "*(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4" (pointer_expression "*(undefined **)(iVar3 + 0x24)" * (cast_expression "(undefined **)(iVar3 + 0x24)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) = (binary_expression "PTR_LAB_003a89b4 + 0x29f4" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar2)(iVar3);" (call_expression "(*(code *)puVar2)(iVar3)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 RegisterVICARImage(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}" (type_identifier "undefined4") (function_declarator "RegisterVICARImage(void)" (identifier "RegisterVICARImage") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);\n  puVar2 = PTR_RegisterMagickInfo_003a8ebc;\n  puVar1 = PTR_LAB_003a89b4;\n  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;\n  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;\n  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;\n  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;\n  (*(code *)puVar2)(iVar3);\n  return 0x810;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);" (assignment_expression "iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_AcquireMagickInfo_003a95dc)\n                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" (parenthesized_expression "(*(code *)PTR_AcquireMagickInfo_003a95dc)" (( "(") (pointer_expression "*(code *)PTR_AcquireMagickInfo_003a95dc" (* "*") (cast_expression "(code *)PTR_AcquireMagickInfo_003a95dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireMagickInfo_003a95dc"))) () ")")) (argument_list "(PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068)" (( "(") (binary_expression "PTR_s_courses_003a88ec + -0x3f78" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x3f78")) (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x3f78" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x3f78")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x4068")) () ")")))) (; ";")) (expression_statement "puVar2 = PTR_RegisterMagickInfo_003a8ebc;" (assignment_expression "puVar2 = PTR_RegisterMagickInfo_003a8ebc" (identifier "puVar2") (= "=") (identifier "PTR_RegisterMagickInfo_003a8ebc")) (; ";")) (expression_statement "puVar1 = PTR_LAB_003a89b4;" (assignment_expression "puVar1 = PTR_LAB_003a89b4" (identifier "puVar1") (= "=") (identifier "PTR_LAB_003a89b4")) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar3 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2c)" (( "(") (binary_expression "iVar3 + 0x2c" (identifier "iVar3") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar3 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar3 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2c)" (( "(") (binary_expression "iVar3 + 0x2c" (identifier "iVar3") (+ "+") (number_literal "0x2c")) () ")")))) (^ "^") (number_literal "1"))) (; ";")) (expression_statement "*(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;" (assignment_expression "*(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060" (pointer_expression "*(undefined **)(iVar3 + 0x18)" (* "*") (cast_expression "(undefined **)(iVar3 + 0x18)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "puVar1 + 0x2060" (identifier "puVar1") (+ "+") (number_literal "0x2060"))) (; ";")) (expression_statement "*(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;" (assignment_expression "*(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0" (pointer_expression "*(undefined **)(iVar3 + 0x1c)" (* "*") (cast_expression "(undefined **)(iVar3 + 0x1c)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "PTR_LAB_003a89b4 + 0x2aa0" (identifier "PTR_LAB_003a89b4") (+ "+") (number_literal "0x2aa0"))) (; ";")) (expression_statement "*(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;" (assignment_expression "*(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4" (pointer_expression "*(undefined **)(iVar3 + 0x24)" (* "*") (cast_expression "(undefined **)(iVar3 + 0x24)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "PTR_LAB_003a89b4 + 0x29f4" (identifier "PTR_LAB_003a89b4") (+ "+") (number_literal "0x29f4"))) (; ";")) (expression_statement "(*(code *)puVar2)(iVar3);" (call_expression "(*(code *)puVar2)(iVar3)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (return_statement "return 0x810;" (return "return") (number_literal "0x810") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

size_t function_1(void)

{
  type_1 *var_4;
  type_1 *puVar2;
  int var_3;
  
  var_3 = (*(type_2 *)PTR_AcquireMagickInfo_003a95dc)
                    (var_1 + -0x3f78,var_1 + -0x3f78,
                     var_2 + 0x4068);
  puVar2 = PTR_RegisterMagickInfo_003a8ebc;
  var_4 = var_5;
  *(type_3 *)(var_3 + 0x2c) = *(type_3 *)(var_3 + 0x2c) ^ 1;
  *(type_1 **)(var_3 + 0x18) = var_4 + 0x2060;
  *(type_1 **)(var_3 + 0x1c) = var_5 + 0x2aa0;
  *(type_1 **)(var_3 + 0x24) = var_5 + 0x29f4;
  (*(type_2 *)puVar2)(var_3);
  return 0x810;
}


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

undefined4 MASKED(void)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  
  iVar3 = (*(code *)PTR_AcquireMagickInfo_003a95dc)
                    (PTR_s_courses_003a88ec + -0x3f78,PTR_s_courses_003a88ec + -0x3f78,
                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x4068);
  puVar2 = PTR_RegisterMagickInfo_003a8ebc;
  puVar1 = PTR_LAB_003a89b4;
  *(uint *)(iVar3 + 0x2c) = *(uint *)(iVar3 + 0x2c) ^ 1;
  *(undefined **)(iVar3 + 0x18) = puVar1 + 0x2060;
  *(undefined **)(iVar3 + 0x1c) = PTR_LAB_003a89b4 + 0x2aa0;
  *(undefined **)(iVar3 + 0x24) = PTR_LAB_003a89b4 + 0x29f4;
  (*(code *)puVar2)(iVar3);
  return 0x810;
}

