
void sb_scrub_and_add_sb(sb *ptr,sb *s)

{
  undefined *puVar1;
  char *pcVar2;
  int iVar3;
  size_t sVar4;
  
  puVar1 = PTR_mips_opcodes_000b5cd0;
  pcVar2 = s->ptr;
  sVar4 = s->len;
  *(sb **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = s;
  *(char **)(puVar1 + -0xdb0) = pcVar2;
  sb_check(ptr,sVar4);
  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)
                    (PTR_LAB_000b62a8 + -0x5ff0,ptr->ptr + ptr->len,s->len);
  sVar4 = ptr->len;
  *(undefined4 *)(puVar1 + -0xdac) = 0;
  *(undefined4 *)(puVar1 + -0xdb0) = 0;
  ptr->len = sVar4 + iVar3;
  return;
}



void sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  
  puVar1 = PTR_mips_opcodes_000b5cd0;
  uVar2 = *param_2;
  uVar5 = param_2[1];
  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;
  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;
  FUN_0004a098(param_1,uVar5);
  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)
                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);
  iVar4 = param_1[1];
  *(undefined4 *)(puVar1 + -0xdac) = 0;
  *(undefined4 *)(puVar1 + -0xdb0) = 0;
  param_1[1] = iVar4 + iVar3;
  return;
}


lui gp,0x7
addiu gp,gp,0x3a24
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x79d8(gp)
lw v0,0x0(a1)
sw s3,0x28(sp)
addiu t9,t9,-0x5f68
sw s2,0x24(sp)
sw s1,0x20(sp)
or s1,a1,zero
sw ra,0x2c(sp)
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
lw s3,-0x7fb0(gp)
lw s2,-0x7fb0(gp)
lw a1,0x4(a1)
sw s1,-0xdac(s3)
bal 0x0004a098
_sw v0,-0xdb0(s2)
lw gp,0x10(sp)
lw a1,0x0(s0)
lw v0,0x4(s0)
lw a2,0x4(s1)
lw a0,-0x79d8(gp)
lw t9,-0x7bb0(gp)
addu a1,a1,v0
jalr t9
_addiu a0,a0,-0x5ff0
lw v1,0x4(s0)
lw ra,0x2c(sp)
lw s1,0x20(sp)
addu v0,v1,v0
sw zero,-0xdac(s3)
sw zero,-0xdb0(s2)
sw v0,0x4(s0)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  uVar2 = *param_2;\n  uVar5 = param_2[1];\n  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;\n  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;\n  FUN_0004a098(param_1,uVar5);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);\n  iVar4 = param_1[1];\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  param_1[1] = iVar4 + iVar3;\n  return;\n}\n\n" (function_definition "void sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  uVar2 = *param_2;\n  uVar5 = param_2[1];\n  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;\n  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;\n  FUN_0004a098(param_1,uVar5);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);\n  iVar4 = param_1[1];\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  param_1[1] = iVar4 + iVar3;\n  return;\n}" primitive_type (function_declarator "sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  uVar2 = *param_2;\n  uVar5 = param_2[1];\n  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;\n  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;\n  FUN_0004a098(param_1,uVar5);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);\n  iVar4 = param_1[1];\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  param_1[1] = iVar4 + iVar3;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar5 = param_2[1];" (assignment_expression "uVar5 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;" (assignment_expression "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2" (pointer_expression "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac)" * (cast_expression "(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xdac)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xdac" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xdb0) = uVar2;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdb0) = uVar2" (pointer_expression "*(undefined4 *)(puVar1 + -0xdb0)" * (cast_expression "(undefined4 *)(puVar1 + -0xdb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xdb0)" ( (binary_expression "puVar1 + -0xdb0" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_0004a098(param_1,uVar5);" (call_expression "FUN_0004a098(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier ))) ;) (expression_statement "iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);" (assignment_expression "iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" identifier = (call_expression "(*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" (parenthesized_expression "(*(code *)PTR_do_scrub_chars_000b60d0)" ( (pointer_expression "*(code *)PTR_do_scrub_chars_000b60d0" * (cast_expression "(code *)PTR_do_scrub_chars_000b60d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" ( (binary_expression "PTR_LAB_000b62a8 + -0x5ff0" identifier + number_literal) , (binary_expression "*param_1 + param_1[1]" (pointer_expression "*param_1" * identifier) + (subscript_expression "param_1[1]" identifier [ number_literal ])) , (subscript_expression "param_2[1]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar4 = param_1[1];" (assignment_expression "iVar4 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xdac) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdac) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xdac)" * (cast_expression "(undefined4 *)(puVar1 + -0xdac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xdac)" ( (binary_expression "puVar1 + -0xdac" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xdb0) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdb0) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xdb0)" * (cast_expression "(undefined4 *)(puVar1 + -0xdb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xdb0)" ( (binary_expression "puVar1 + -0xdb0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[1] = iVar4 + iVar3;" (assignment_expression "param_1[1] = iVar4 + iVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar4 + iVar3" identifier + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void sb_scrub_and_add_sb(sb *ptr,sb *s)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  pcVar2 = s->ptr;\n  sVar4 = s->len;\n  *(sb **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = s;\n  *(char **)(puVar1 + -0xdb0) = pcVar2;\n  sb_check(ptr,sVar4);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,ptr->ptr + ptr->len,s->len);\n  sVar4 = ptr->len;\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  ptr->len = sVar4 + iVar3;\n  return;\n}\n\n" (function_definition "void sb_scrub_and_add_sb(sb *ptr,sb *s)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  pcVar2 = s->ptr;\n  sVar4 = s->len;\n  *(sb **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = s;\n  *(char **)(puVar1 + -0xdb0) = pcVar2;\n  sb_check(ptr,sVar4);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,ptr->ptr + ptr->len,s->len);\n  sVar4 = ptr->len;\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  ptr->len = sVar4 + iVar3;\n  return;\n}" primitive_type (function_declarator "sb_scrub_and_add_sb(sb *ptr,sb *s)" identifier (parameter_list "(sb *ptr,sb *s)" ( (parameter_declaration "sb *ptr" type_identifier (pointer_declarator "*ptr" * identifier)) , (parameter_declaration "sb *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  pcVar2 = s->ptr;\n  sVar4 = s->len;\n  *(sb **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = s;\n  *(char **)(puVar1 + -0xdb0) = pcVar2;\n  sb_check(ptr,sVar4);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,ptr->ptr + ptr->len,s->len);\n  sVar4 = ptr->len;\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  ptr->len = sVar4 + iVar3;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (expression_statement "pcVar2 = s->ptr;" (assignment_expression "pcVar2 = s->ptr" identifier = (field_expression "s->ptr" identifier -> field_identifier)) ;) (expression_statement "sVar4 = s->len;" (assignment_expression "sVar4 = s->len" identifier = (field_expression "s->len" identifier -> field_identifier)) ;) (expression_statement "*(sb **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = s;" (assignment_expression "*(sb **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = s" (pointer_expression "*(sb **)(PTR_mips_opcodes_000b5cd0 + -0xdac)" * (cast_expression "(sb **)(PTR_mips_opcodes_000b5cd0 + -0xdac)" ( (type_descriptor "sb **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xdac)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xdac" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(puVar1 + -0xdb0) = pcVar2;" (assignment_expression "*(char **)(puVar1 + -0xdb0) = pcVar2" (pointer_expression "*(char **)(puVar1 + -0xdb0)" * (cast_expression "(char **)(puVar1 + -0xdb0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + -0xdb0)" ( (binary_expression "puVar1 + -0xdb0" identifier + number_literal) )))) = identifier) ;) (expression_statement "sb_check(ptr,sVar4);" (call_expression "sb_check(ptr,sVar4)" identifier (argument_list "(ptr,sVar4)" ( identifier , identifier ))) ;) (expression_statement "iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,ptr->ptr + ptr->len,s->len);" (assignment_expression "iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,ptr->ptr + ptr->len,s->len)" identifier = (call_expression "(*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,ptr->ptr + ptr->len,s->len)" (parenthesized_expression "(*(code *)PTR_do_scrub_chars_000b60d0)" ( (pointer_expression "*(code *)PTR_do_scrub_chars_000b60d0" * (cast_expression "(code *)PTR_do_scrub_chars_000b60d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000b62a8 + -0x5ff0,ptr->ptr + ptr->len,s->len)" ( (binary_expression "PTR_LAB_000b62a8 + -0x5ff0" identifier + number_literal) , (binary_expression "ptr->ptr + ptr->len" (field_expression "ptr->ptr" identifier -> field_identifier) + (field_expression "ptr->len" identifier -> field_identifier)) , (field_expression "s->len" identifier -> field_identifier) )))) ;) (expression_statement "sVar4 = ptr->len;" (assignment_expression "sVar4 = ptr->len" identifier = (field_expression "ptr->len" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xdac) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdac) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xdac)" * (cast_expression "(undefined4 *)(puVar1 + -0xdac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xdac)" ( (binary_expression "puVar1 + -0xdac" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xdb0) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdb0) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xdb0)" * (cast_expression "(undefined4 *)(puVar1 + -0xdb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xdb0)" ( (binary_expression "puVar1 + -0xdb0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "ptr->len = sVar4 + iVar3;" (assignment_expression "ptr->len = sVar4 + iVar3" (field_expression "ptr->len" identifier -> field_identifier) = (binary_expression "sVar4 + iVar3" identifier + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  uVar2 = *param_2;\n  uVar5 = param_2[1];\n  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;\n  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;\n  FUN_0004a098(param_1,uVar5);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);\n  iVar4 = param_1[1];\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  param_1[1] = iVar4 + iVar3;\n  return;\n}\n\n" (function_definition "void sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  uVar2 = *param_2;\n  uVar5 = param_2[1];\n  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;\n  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;\n  FUN_0004a098(param_1,uVar5);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);\n  iVar4 = param_1[1];\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  param_1[1] = iVar4 + iVar3;\n  return;\n}" primitive_type (function_declarator "sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  uVar2 = *param_2;\n  uVar5 = param_2[1];\n  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;\n  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;\n  FUN_0004a098(param_1,uVar5);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);\n  iVar4 = param_1[1];\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  param_1[1] = iVar4 + iVar3;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar5 = param_2[1];" (assignment_expression "uVar5 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;" (assignment_expression "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2" (pointer_expression "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac)" * (cast_expression "(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xdac)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xdac" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xdb0) = uVar2;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdb0) = uVar2" (pointer_expression "*(undefined4 *)(puVar1 + -0xdb0)" * (cast_expression "(undefined4 *)(puVar1 + -0xdb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xdb0)" ( (binary_expression "puVar1 + -0xdb0" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_0004a098(param_1,uVar5);" (call_expression "FUN_0004a098(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier ))) ;) (expression_statement "iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);" (assignment_expression "iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" identifier = (call_expression "(*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" (parenthesized_expression "(*(code *)PTR_do_scrub_chars_000b60d0)" ( (pointer_expression "*(code *)PTR_do_scrub_chars_000b60d0" * (cast_expression "(code *)PTR_do_scrub_chars_000b60d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" ( (binary_expression "PTR_LAB_000b62a8 + -0x5ff0" identifier + number_literal) , (binary_expression "*param_1 + param_1[1]" (pointer_expression "*param_1" * identifier) + (subscript_expression "param_1[1]" identifier [ number_literal ])) , (subscript_expression "param_2[1]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar4 = param_1[1];" (assignment_expression "iVar4 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xdac) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdac) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xdac)" * (cast_expression "(undefined4 *)(puVar1 + -0xdac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xdac)" ( (binary_expression "puVar1 + -0xdac" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xdb0) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdb0) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xdb0)" * (cast_expression "(undefined4 *)(puVar1 + -0xdb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xdb0)" ( (binary_expression "puVar1 + -0xdb0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[1] = iVar4 + iVar3;" (assignment_expression "param_1[1] = iVar4 + iVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar4 + iVar3" identifier + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_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) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , 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 (pointer_expression * IDENT) + (subscript_expression IDENT [ LIT ])) , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (return_statement return ;) })))
(function_definition "void sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  uVar2 = *param_2;\n  uVar5 = param_2[1];\n  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;\n  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;\n  FUN_0004a098(param_1,uVar5);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);\n  iVar4 = param_1[1];\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  param_1[1] = iVar4 + iVar3;\n  return;\n}" (primitive_type "void") (function_declarator "sb_scrub_and_add_sb(int *param_1,undefined4 *param_2)" (identifier "sb_scrub_and_add_sb") (parameter_list "(int *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  uVar2 = *param_2;\n  uVar5 = param_2[1];\n  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;\n  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;\n  FUN_0004a098(param_1,uVar5);\n  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);\n  iVar4 = param_1[1];\n  *(undefined4 *)(puVar1 + -0xdac) = 0;\n  *(undefined4 *)(puVar1 + -0xdb0) = 0;\n  param_1[1] = iVar4 + iVar3;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" (identifier "puVar1") (= "=") (identifier "PTR_mips_opcodes_000b5cd0")) (; ";")) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar5 = param_2[1];" (assignment_expression "uVar5 = param_2[1]" (identifier "uVar5") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;" (assignment_expression "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2" (pointer_expression "*(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac)" (* "*") (cast_expression "(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xdac)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xdac" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0xdac")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0xdb0) = uVar2;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdb0) = uVar2" (pointer_expression "*(undefined4 *)(puVar1 + -0xdb0)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xdb0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xdb0)" (( "(") (binary_expression "puVar1 + -0xdb0" (identifier "puVar1") (+ "+") (number_literal "-0xdb0")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "FUN_0004a098(param_1,uVar5);" (call_expression "FUN_0004a098(param_1,uVar5)" (identifier "FUN_0004a098") (argument_list "(param_1,uVar5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);" (assignment_expression "iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_do_scrub_chars_000b60d0)\n                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" (parenthesized_expression "(*(code *)PTR_do_scrub_chars_000b60d0)" (( "(") (pointer_expression "*(code *)PTR_do_scrub_chars_000b60d0" (* "*") (cast_expression "(code *)PTR_do_scrub_chars_000b60d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_scrub_chars_000b60d0"))) () ")")) (argument_list "(PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1])" (( "(") (binary_expression "PTR_LAB_000b62a8 + -0x5ff0" (identifier "PTR_LAB_000b62a8") (+ "+") (number_literal "-0x5ff0")) (, ",") (binary_expression "*param_1 + param_1[1]" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (expression_statement "iVar4 = param_1[1];" (assignment_expression "iVar4 = param_1[1]" (identifier "iVar4") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0xdac) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdac) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xdac)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xdac)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xdac)" (( "(") (binary_expression "puVar1 + -0xdac" (identifier "puVar1") (+ "+") (number_literal "-0xdac")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0xdb0) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xdb0) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xdb0)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xdb0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xdb0)" (( "(") (binary_expression "puVar1 + -0xdb0" (identifier "puVar1") (+ "+") (number_literal "-0xdb0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = iVar4 + iVar3;" (assignment_expression "param_1[1] = iVar4 + iVar3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar4 + iVar3" (identifier "iVar4") (+ "+") (identifier "iVar3"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (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)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal))) (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (number_literal))) (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: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement))))

void MASKED(int *param_1,undefined4 *param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  
  puVar1 = PTR_mips_opcodes_000b5cd0;
  uVar2 = *param_2;
  uVar5 = param_2[1];
  *(undefined4 **)(PTR_mips_opcodes_000b5cd0 + -0xdac) = param_2;
  *(undefined4 *)(puVar1 + -0xdb0) = uVar2;
  FUN_0004a098(param_1,uVar5);
  iVar3 = (*(code *)PTR_do_scrub_chars_000b60d0)
                    (PTR_LAB_000b62a8 + -0x5ff0,*param_1 + param_1[1],param_2[1]);
  iVar4 = param_1[1];
  *(undefined4 *)(puVar1 + -0xdac) = 0;
  *(undefined4 *)(puVar1 + -0xdb0) = 0;
  param_1[1] = iVar4 + iVar3;
  return;
}

