
/* WARNING: Unknown calling convention */

uint32_t buffer_read_le_u32(state_t *state)

{
  byte bVar1;
  byte bVar2;
  byte bVar3;
  byte bVar4;
  byte *pbVar5;
  
  pbVar5 = state->bytebuffer + state->bytebuffer_offset;
  bVar1 = *pbVar5;
  bVar2 = pbVar5[1];
  bVar3 = pbVar5[2];
  bVar4 = pbVar5[3];
  state->bytebuffer_offset = state->bytebuffer_offset + 4;
  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;
}



uint FUN_000abf84(int param_1)

{
  byte bVar1;
  byte bVar2;
  byte bVar3;
  byte bVar4;
  byte *pbVar5;
  
  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));
  bVar1 = *pbVar5;
  bVar2 = pbVar5[1];
  bVar3 = pbVar5[2];
  bVar4 = pbVar5[3];
  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;
  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;
}


lw a1,0x24(a0)
lw a2,0x30(a0)
addu a1,a1,a2
lbu a3,0x0(a1)
lbu v1,0x1(a1)
sll v1,v1,0x8
lbu v0,0x2(a1)
sll v0,v0,0x10
or v1,v1,v0
or v1,v1,a3
lbu v0,0x3(a1)
sll v0,v0,0x18
addiu a2,a2,0x4
sw a2,0x30(a0)
jr ra
_or v0,v0,v1
(translation_unit "uint FUN_000abf84(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}\n\n" (function_definition "uint FUN_000abf84(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}" type_identifier (function_declarator "FUN_000abf84(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));" (assignment_expression "pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" identifier = (cast_expression "(byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" ( (binary_expression "*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30)" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) )))) ;) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "bVar2 = pbVar5[1];" (assignment_expression "bVar2 = pbVar5[1]" identifier = (subscript_expression "pbVar5[1]" identifier [ number_literal ])) ;) (expression_statement "bVar3 = pbVar5[2];" (assignment_expression "bVar3 = pbVar5[2]" identifier = (subscript_expression "pbVar5[2]" identifier [ number_literal ])) ;) (expression_statement "bVar4 = pbVar5[3];" (assignment_expression "bVar4 = pbVar5[3]" identifier = (subscript_expression "pbVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;" (assignment_expression "*(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x30) + 4" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;" return (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1" (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10" (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8" (binary_expression "(uint)bVar4 << 0x18" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal) | (binary_expression "(uint)bVar2 << 8" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal)) | (binary_expression "(uint)bVar3 << 0x10" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal)) | (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nuint32_t buffer_read_le_u32(state_t *state)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = state->bytebuffer + state->bytebuffer_offset;\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  state->bytebuffer_offset = state->bytebuffer_offset + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}\n\n" comment (function_definition "uint32_t buffer_read_le_u32(state_t *state)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = state->bytebuffer + state->bytebuffer_offset;\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  state->bytebuffer_offset = state->bytebuffer_offset + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}" primitive_type (function_declarator "buffer_read_le_u32(state_t *state)" identifier (parameter_list "(state_t *state)" ( (parameter_declaration "state_t *state" type_identifier (pointer_declarator "*state" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = state->bytebuffer + state->bytebuffer_offset;\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  state->bytebuffer_offset = state->bytebuffer_offset + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "pbVar5 = state->bytebuffer + state->bytebuffer_offset;" (assignment_expression "pbVar5 = state->bytebuffer + state->bytebuffer_offset" identifier = (binary_expression "state->bytebuffer + state->bytebuffer_offset" (field_expression "state->bytebuffer" identifier -> field_identifier) + (field_expression "state->bytebuffer_offset" identifier -> field_identifier))) ;) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "bVar2 = pbVar5[1];" (assignment_expression "bVar2 = pbVar5[1]" identifier = (subscript_expression "pbVar5[1]" identifier [ number_literal ])) ;) (expression_statement "bVar3 = pbVar5[2];" (assignment_expression "bVar3 = pbVar5[2]" identifier = (subscript_expression "pbVar5[2]" identifier [ number_literal ])) ;) (expression_statement "bVar4 = pbVar5[3];" (assignment_expression "bVar4 = pbVar5[3]" identifier = (subscript_expression "pbVar5[3]" identifier [ number_literal ])) ;) (expression_statement "state->bytebuffer_offset = state->bytebuffer_offset + 4;" (assignment_expression "state->bytebuffer_offset = state->bytebuffer_offset + 4" (field_expression "state->bytebuffer_offset" identifier -> field_identifier) = (binary_expression "state->bytebuffer_offset + 4" (field_expression "state->bytebuffer_offset" identifier -> field_identifier) + number_literal)) ;) (return_statement "return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;" return (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1" (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10" (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8" (binary_expression "(uint)bVar4 << 0x18" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal) | (binary_expression "(uint)bVar2 << 8" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal)) | (binary_expression "(uint)bVar3 << 0x10" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal)) | (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })))
(translation_unit "uint FUN_000abf84(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}\n\n" (function_definition "uint FUN_000abf84(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}" type_identifier (function_declarator "FUN_000abf84(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (expression_statement "pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));" (assignment_expression "pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" identifier = (cast_expression "(byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" ( (binary_expression "*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30)" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) )))) ;) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "bVar2 = pbVar5[1];" (assignment_expression "bVar2 = pbVar5[1]" identifier = (subscript_expression "pbVar5[1]" identifier [ number_literal ])) ;) (expression_statement "bVar3 = pbVar5[2];" (assignment_expression "bVar3 = pbVar5[2]" identifier = (subscript_expression "pbVar5[2]" identifier [ number_literal ])) ;) (expression_statement "bVar4 = pbVar5[3];" (assignment_expression "bVar4 = pbVar5[3]" identifier = (subscript_expression "pbVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;" (assignment_expression "*(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x30) + 4" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;" return (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1" (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10" (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8" (binary_expression "(uint)bVar4 << 0x18" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal) | (binary_expression "(uint)bVar2 << 8" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal)) | (binary_expression "(uint)bVar3 << 0x10" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal)) | (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) 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 ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (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) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT)) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT)) | (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })))
(function_definition "uint FUN_000abf84(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}" (type_identifier "uint") (function_declarator "FUN_000abf84(int param_1)" (identifier "FUN_000abf84") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  byte *pbVar5;\n  \n  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));\n  bVar1 = *pbVar5;\n  bVar2 = pbVar5[1];\n  bVar3 = pbVar5[2];\n  bVar4 = pbVar5[3];\n  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;\n  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (expression_statement "pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));" (assignment_expression "pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" (identifier "pbVar5") (= "=") (cast_expression "(byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30))" (( "(") (binary_expression "*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30)" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) () ")")))) (; ";")) (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" (identifier "bVar1") (= "=") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5"))) (; ";")) (expression_statement "bVar2 = pbVar5[1];" (assignment_expression "bVar2 = pbVar5[1]" (identifier "bVar2") (= "=") (subscript_expression "pbVar5[1]" (identifier "pbVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "bVar3 = pbVar5[2];" (assignment_expression "bVar3 = pbVar5[2]" (identifier "bVar3") (= "=") (subscript_expression "pbVar5[2]" (identifier "pbVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "bVar4 = pbVar5[3];" (assignment_expression "bVar4 = pbVar5[3]" (identifier "bVar4") (= "=") (subscript_expression "pbVar5[3]" (identifier "pbVar5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;" (assignment_expression "*(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x30) + 4" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "4"))) (; ";")) (return_statement "return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;" (return "return") (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1" (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10" (binary_expression "(uint)bVar4 << 0x18 | (uint)bVar2 << 8" (binary_expression "(uint)bVar4 << 0x18" (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4")) (<< "<<") (number_literal "0x18")) (| "|") (binary_expression "(uint)bVar2 << 8" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "(uint)bVar3 << 0x10" (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3")) (<< "<<") (number_literal "0x10"))) (| "|") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_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: (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)))) (return_statement (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))

uint MASKED(int param_1)

{
  byte bVar1;
  byte bVar2;
  byte bVar3;
  byte bVar4;
  byte *pbVar5;
  
  pbVar5 = (byte *)(*(int *)(param_1 + 0x24) + *(int *)(param_1 + 0x30));
  bVar1 = *pbVar5;
  bVar2 = pbVar5[1];
  bVar3 = pbVar5[2];
  bVar4 = pbVar5[3];
  *(int *)(param_1 + 0x30) = *(int *)(param_1 + 0x30) + 4;
  return (uint)bVar4 << 0x18 | (uint)bVar2 << 8 | (uint)bVar3 << 0x10 | (uint)bVar1;
}

