
size_t bc_result_pop_and_push(void *data)

{
  int iVar1;
  int iVar2;
  size_t sVar3;
  int iVar4;
  
  iVar2 = *(int *)PTR_ptr_to_globals_0012a304;
  iVar1 = *(int *)(iVar2 + 0xb0);
  sVar3 = *(int *)(iVar2 + 0xa8) - 1;
  iVar4 = iVar1 * sVar3 + *(int *)(iVar2 + 0xa4);
  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {
    (**(code **)(iVar2 + 0xb4))(iVar4);
    iVar1 = *(int *)(iVar2 + 0xb0);
  }
  (*(code *)PTR_memmove_0012b174)(iVar4,data,iVar1);
  return sVar3;
}



int FUN_0001fc60(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  iVar2 = *(int *)PTR_DAT_0012a304;
  iVar1 = *(int *)(iVar2 + 0xb0);
  iVar3 = *(int *)(iVar2 + 0xa8) + -1;
  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);
  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {
    (**(code **)(iVar2 + 0xb4))(iVar4);
    iVar1 = *(int *)(iVar2 + 0xb0);
  }
  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);
  return iVar3;
}


lui gp,0x11
addiu gp,gp,0x24f0
addu gp,gp,t9
lw v0,-0x7e4c(gp)
addiu sp,sp,-0x30
sw s0,0x1c(sp)
sw s1,0x20(sp)
lw s0,0x0(v0)
sw s2,0x24(sp)
sw gp,0x10(sp)
sw s3,0x28(sp)
or s3,a0,zero
lw s1,0xa8(s0)
lw a2,0xb0(s0)
lw s2,0xa4(s0)
addiu s1,s1,-0x1
lw t9,0xb4(s0)
sw ra,0x2c(sp)
mul v0,a2,s1
beq t9,zero,0x0001fcc4
_addu s2,v0,s2
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
lw a2,0xb0(s0)
lw t9,-0x6fdc(gp)
or a1,s3,zero
jalr t9
_or a0,s2,zero
or v0,s1,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "int FUN_0001fc60(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_DAT_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  iVar3 = *(int *)(iVar2 + 0xa8) + -1;\n  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);\n  return iVar3;\n}\n\n" (function_definition "int FUN_0001fc60(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_DAT_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  iVar3 = *(int *)(iVar2 + 0xa8) + -1;\n  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);\n  return iVar3;\n}" primitive_type (function_declarator "FUN_0001fc60(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_DAT_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  iVar3 = *(int *)(iVar2 + 0xa8) + -1;\n  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar2 = *(int *)PTR_DAT_0012a304" identifier = (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = *(int *)(iVar2 + 0xb0);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xb0)" identifier = (pointer_expression "*(int *)(iVar2 + 0xb0)" * (cast_expression "(int *)(iVar2 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb0)" ( (binary_expression "iVar2 + 0xb0" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0xa8) + -1;" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xa8) + -1" identifier = (binary_expression "*(int *)(iVar2 + 0xa8) + -1" (pointer_expression "*(int *)(iVar2 + 0xa8)" * (cast_expression "(int *)(iVar2 + 0xa8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa8)" ( (binary_expression "iVar2 + 0xa8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);" (assignment_expression "iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4)" identifier = (binary_expression "iVar1 * iVar3 + *(int *)(iVar2 + 0xa4)" (binary_expression "iVar1 * iVar3" identifier * identifier) + (pointer_expression "*(int *)(iVar2 + 0xa4)" * (cast_expression "(int *)(iVar2 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa4)" ( (binary_expression "iVar2 + 0xa4" identifier + number_literal) )))))) ;) (if_statement "if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }" if (parenthesized_expression "(*(code **)(iVar2 + 0xb4) != (code *)0x0)" ( (binary_expression "*(code **)(iVar2 + 0xb4) != (code *)0x0" (pointer_expression "*(code **)(iVar2 + 0xb4)" * (cast_expression "(code **)(iVar2 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }" { (expression_statement "(**(code **)(iVar2 + 0xb4))(iVar4);" (call_expression "(**(code **)(iVar2 + 0xb4))(iVar4)" (parenthesized_expression "(**(code **)(iVar2 + 0xb4))" ( (pointer_expression "**(code **)(iVar2 + 0xb4)" * (pointer_expression "*(code **)(iVar2 + 0xb4)" * (cast_expression "(code **)(iVar2 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(iVar2 + 0xb0);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xb0)" identifier = (pointer_expression "*(int *)(iVar2 + 0xb0)" * (cast_expression "(int *)(iVar2 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb0)" ( (binary_expression "iVar2 + 0xb0" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);" (call_expression "(*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_memmove_0012b174)" ( (pointer_expression "*(code *)PTR_memmove_0012b174" * (cast_expression "(code *)PTR_memmove_0012b174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_1,iVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "size_t bc_result_pop_and_push(void *data)\n\n{\n  int iVar1;\n  int iVar2;\n  size_t sVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_ptr_to_globals_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  sVar3 = *(int *)(iVar2 + 0xa8) - 1;\n  iVar4 = iVar1 * sVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,data,iVar1);\n  return sVar3;\n}\n\n" (function_definition "size_t bc_result_pop_and_push(void *data)\n\n{\n  int iVar1;\n  int iVar2;\n  size_t sVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_ptr_to_globals_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  sVar3 = *(int *)(iVar2 + 0xa8) - 1;\n  iVar4 = iVar1 * sVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,data,iVar1);\n  return sVar3;\n}" primitive_type (function_declarator "bc_result_pop_and_push(void *data)" identifier (parameter_list "(void *data)" ( (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  size_t sVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_ptr_to_globals_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  sVar3 = *(int *)(iVar2 + 0xa8) - 1;\n  iVar4 = iVar1 * sVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,data,iVar1);\n  return sVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)PTR_ptr_to_globals_0012a304;" (assignment_expression "iVar2 = *(int *)PTR_ptr_to_globals_0012a304" identifier = (pointer_expression "*(int *)PTR_ptr_to_globals_0012a304" * (cast_expression "(int *)PTR_ptr_to_globals_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = *(int *)(iVar2 + 0xb0);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xb0)" identifier = (pointer_expression "*(int *)(iVar2 + 0xb0)" * (cast_expression "(int *)(iVar2 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb0)" ( (binary_expression "iVar2 + 0xb0" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = *(int *)(iVar2 + 0xa8) - 1;" (assignment_expression "sVar3 = *(int *)(iVar2 + 0xa8) - 1" identifier = (binary_expression "*(int *)(iVar2 + 0xa8) - 1" (pointer_expression "*(int *)(iVar2 + 0xa8)" * (cast_expression "(int *)(iVar2 + 0xa8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa8)" ( (binary_expression "iVar2 + 0xa8" identifier + number_literal) )))) - number_literal)) ;) (expression_statement "iVar4 = iVar1 * sVar3 + *(int *)(iVar2 + 0xa4);" (assignment_expression "iVar4 = iVar1 * sVar3 + *(int *)(iVar2 + 0xa4)" identifier = (binary_expression "iVar1 * sVar3 + *(int *)(iVar2 + 0xa4)" (binary_expression "iVar1 * sVar3" identifier * identifier) + (pointer_expression "*(int *)(iVar2 + 0xa4)" * (cast_expression "(int *)(iVar2 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa4)" ( (binary_expression "iVar2 + 0xa4" identifier + number_literal) )))))) ;) (if_statement "if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }" if (parenthesized_expression "(*(code **)(iVar2 + 0xb4) != (code *)0x0)" ( (binary_expression "*(code **)(iVar2 + 0xb4) != (code *)0x0" (pointer_expression "*(code **)(iVar2 + 0xb4)" * (cast_expression "(code **)(iVar2 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }" { (expression_statement "(**(code **)(iVar2 + 0xb4))(iVar4);" (call_expression "(**(code **)(iVar2 + 0xb4))(iVar4)" (parenthesized_expression "(**(code **)(iVar2 + 0xb4))" ( (pointer_expression "**(code **)(iVar2 + 0xb4)" * (pointer_expression "*(code **)(iVar2 + 0xb4)" * (cast_expression "(code **)(iVar2 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(iVar2 + 0xb0);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xb0)" identifier = (pointer_expression "*(int *)(iVar2 + 0xb0)" * (cast_expression "(int *)(iVar2 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb0)" ( (binary_expression "iVar2 + 0xb0" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_memmove_0012b174)(iVar4,data,iVar1);" (call_expression "(*(code *)PTR_memmove_0012b174)(iVar4,data,iVar1)" (parenthesized_expression "(*(code *)PTR_memmove_0012b174)" ( (pointer_expression "*(code *)PTR_memmove_0012b174" * (cast_expression "(code *)PTR_memmove_0012b174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,data,iVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return sVar3;" return identifier ;) })))
(translation_unit "int FUN_0001fc60(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_DAT_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  iVar3 = *(int *)(iVar2 + 0xa8) + -1;\n  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);\n  return iVar3;\n}\n\n" (function_definition "int FUN_0001fc60(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_DAT_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  iVar3 = *(int *)(iVar2 + 0xa8) + -1;\n  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);\n  return iVar3;\n}" primitive_type (function_declarator "FUN_0001fc60(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_DAT_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  iVar3 = *(int *)(iVar2 + 0xa8) + -1;\n  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar2 = *(int *)PTR_DAT_0012a304" identifier = (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = *(int *)(iVar2 + 0xb0);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xb0)" identifier = (pointer_expression "*(int *)(iVar2 + 0xb0)" * (cast_expression "(int *)(iVar2 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb0)" ( (binary_expression "iVar2 + 0xb0" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0xa8) + -1;" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xa8) + -1" identifier = (binary_expression "*(int *)(iVar2 + 0xa8) + -1" (pointer_expression "*(int *)(iVar2 + 0xa8)" * (cast_expression "(int *)(iVar2 + 0xa8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa8)" ( (binary_expression "iVar2 + 0xa8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);" (assignment_expression "iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4)" identifier = (binary_expression "iVar1 * iVar3 + *(int *)(iVar2 + 0xa4)" (binary_expression "iVar1 * iVar3" identifier * identifier) + (pointer_expression "*(int *)(iVar2 + 0xa4)" * (cast_expression "(int *)(iVar2 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa4)" ( (binary_expression "iVar2 + 0xa4" identifier + number_literal) )))))) ;) (if_statement "if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }" if (parenthesized_expression "(*(code **)(iVar2 + 0xb4) != (code *)0x0)" ( (binary_expression "*(code **)(iVar2 + 0xb4) != (code *)0x0" (pointer_expression "*(code **)(iVar2 + 0xb4)" * (cast_expression "(code **)(iVar2 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }" { (expression_statement "(**(code **)(iVar2 + 0xb4))(iVar4);" (call_expression "(**(code **)(iVar2 + 0xb4))(iVar4)" (parenthesized_expression "(**(code **)(iVar2 + 0xb4))" ( (pointer_expression "**(code **)(iVar2 + 0xb4)" * (pointer_expression "*(code **)(iVar2 + 0xb4)" * (cast_expression "(code **)(iVar2 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(iVar2 + 0xb0);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xb0)" identifier = (pointer_expression "*(int *)(iVar2 + 0xb0)" * (cast_expression "(int *)(iVar2 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb0)" ( (binary_expression "iVar2 + 0xb0" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);" (call_expression "(*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_memmove_0012b174)" ( (pointer_expression "*(code *)PTR_memmove_0012b174" * (cast_expression "(code *)PTR_memmove_0012b174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_1,iVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_0001fc60(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_DAT_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  iVar3 = *(int *)(iVar2 + 0xa8) + -1;\n  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);\n  return iVar3;\n}" (primitive_type "int") (function_declarator "FUN_0001fc60(undefined4 param_1)" (identifier "FUN_0001fc60") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar2 = *(int *)PTR_DAT_0012a304;\n  iVar1 = *(int *)(iVar2 + 0xb0);\n  iVar3 = *(int *)(iVar2 + 0xa8) + -1;\n  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);\n  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }\n  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);\n  return iVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar2 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar2 = *(int *)PTR_DAT_0012a304" (identifier "iVar2") (= "=") (pointer_expression "*(int *)PTR_DAT_0012a304" (* "*") (cast_expression "(int *)PTR_DAT_0012a304" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a304")))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar2 + 0xb0);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xb0)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar2 + 0xb0)" (* "*") (cast_expression "(int *)(iVar2 + 0xb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xb0)" (( "(") (binary_expression "iVar2 + 0xb0" (identifier "iVar2") (+ "+") (number_literal "0xb0")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + 0xa8) + -1;" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xa8) + -1" (identifier "iVar3") (= "=") (binary_expression "*(int *)(iVar2 + 0xa8) + -1" (pointer_expression "*(int *)(iVar2 + 0xa8)" (* "*") (cast_expression "(int *)(iVar2 + 0xa8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xa8)" (( "(") (binary_expression "iVar2 + 0xa8" (identifier "iVar2") (+ "+") (number_literal "0xa8")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);" (assignment_expression "iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4)" (identifier "iVar4") (= "=") (binary_expression "iVar1 * iVar3 + *(int *)(iVar2 + 0xa4)" (binary_expression "iVar1 * iVar3" (identifier "iVar1") (* "*") (identifier "iVar3")) (+ "+") (pointer_expression "*(int *)(iVar2 + 0xa4)" (* "*") (cast_expression "(int *)(iVar2 + 0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xa4)" (( "(") (binary_expression "iVar2 + 0xa4" (identifier "iVar2") (+ "+") (number_literal "0xa4")) () ")")))))) (; ";")) (if_statement "if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }" (if "if") (parenthesized_expression "(*(code **)(iVar2 + 0xb4) != (code *)0x0)" (( "(") (binary_expression "*(code **)(iVar2 + 0xb4) != (code *)0x0" (pointer_expression "*(code **)(iVar2 + 0xb4)" (* "*") (cast_expression "(code **)(iVar2 + 0xb4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0xb4)" (( "(") (binary_expression "iVar2 + 0xb4" (identifier "iVar2") (+ "+") (number_literal "0xb4")) () ")")))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(iVar2 + 0xb4))(iVar4);\n    iVar1 = *(int *)(iVar2 + 0xb0);\n  }" ({ "{") (expression_statement "(**(code **)(iVar2 + 0xb4))(iVar4);" (call_expression "(**(code **)(iVar2 + 0xb4))(iVar4)" (parenthesized_expression "(**(code **)(iVar2 + 0xb4))" (( "(") (pointer_expression "**(code **)(iVar2 + 0xb4)" (* "*") (pointer_expression "*(code **)(iVar2 + 0xb4)" (* "*") (cast_expression "(code **)(iVar2 + 0xb4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0xb4)" (( "(") (binary_expression "iVar2 + 0xb4" (identifier "iVar2") (+ "+") (number_literal "0xb4")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar2 + 0xb0);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xb0)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar2 + 0xb0)" (* "*") (cast_expression "(int *)(iVar2 + 0xb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xb0)" (( "(") (binary_expression "iVar2 + 0xb0" (identifier "iVar2") (+ "+") (number_literal "0xb0")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);" (call_expression "(*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_memmove_0012b174)" (( "(") (pointer_expression "*(code *)PTR_memmove_0012b174" (* "*") (cast_expression "(code *)PTR_memmove_0012b174" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memmove_0012b174"))) () ")")) (argument_list "(iVar4,param_1,iVar1)" (( "(") (identifier "iVar4") (, ",") (identifier "param_1") (, ",") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (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: (binary_expression left: (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))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (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)))))))) (if_statement condition: (parenthesized_expression (binary_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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (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 (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) (identifier) (identifier)))) (return_statement (identifier)))))

int MASKED(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  iVar2 = *(int *)PTR_DAT_0012a304;
  iVar1 = *(int *)(iVar2 + 0xb0);
  iVar3 = *(int *)(iVar2 + 0xa8) + -1;
  iVar4 = iVar1 * iVar3 + *(int *)(iVar2 + 0xa4);
  if (*(code **)(iVar2 + 0xb4) != (code *)0x0) {
    (**(code **)(iVar2 + 0xb4))(iVar4);
    iVar1 = *(int *)(iVar2 + 0xb0);
  }
  (*(code *)PTR_memmove_0012b174)(iVar4,param_1,iVar1);
  return iVar3;
}

