
elf_vma byte_get_little_endian(uchar *field,int size)

{
  char *message;
  uchar *puVar1;
  elf_vma *peVar2;
  elf_vma *peVar3;
  code *pcVar4;
  uchar *field_00;
  undefined *puVar5;
  code *pcVar6;
  elf_vma eVar7;
  
  if ((uint)size < 9) {
                    /* WARNING: Could not emulate address calculation at 0x0007974c */
                    /* WARNING: Treating indirect jump as call */
    eVar7 = (*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))();
    return eVar7;
  }
  peVar3 = (elf_vma *)&DAT_00000005;
  message = (char *)(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804);
  error(message);
  puVar5 = PTR_abort_000c3540;
  (*(code *)PTR_abort_000c3540)();
  peVar2 = (elf_vma *)size;
  (*(code *)**(undefined4 **)(puVar5 + 0x49a9c))();
  puVar1 = (uchar *)(uint)((uint)size < &DAT_00000009);
  if (puVar1 != (uchar *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00079948. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    eVar7 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)
            )();
    return eVar7;
  }
  pcVar6 = *(code **)(puVar5 + 0x49c48);
  (*pcVar6)();
  field_00 = puVar1 + 4;
  pcVar4 = (code *)**(undefined4 **)(pcVar6 + 0x499a4);
  if (pcVar4 == *(code **)(pcVar6 + 0x499e4)) {
    eVar7 = (*pcVar4)();
    *peVar2 = eVar7;
  }
  else {
    pcVar4 = *(code **)(pcVar6 + 0x499d8);
    eVar7 = byte_get_little_endian(field_00,4);
    *peVar2 = eVar7;
    field_00 = puVar1;
  }
  eVar7 = (*pcVar4)(field_00,4);
  *peVar3 = eVar7;
  return eVar7;
}



void byte_get_little_endian(undefined4 param_1,uint param_2)

{
  undefined4 uVar1;
  
  if (param_2 < 9) {
                    /* WARNING: Could not emulate address calculation at 0x0007974c */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();
    return;
  }
  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);
  error(uVar1,param_2);
  (*(code *)PTR_abort_000c3540)();
  return;
}


lui gp,0x5
addiu gp,gp,0x1c34
addu gp,gp,t9
addiu sp,sp,-0x20
sltiu v0,a1,0x9
sw gp,0x10(sp)
sw ra,0x1c(sp)
beq v0,zero,0x000798b8
_sw s0,0x18(sp)
lw v0,-0x7f70(gp)
sll v1,a1,0x2
addiu v0,v0,-0x3294
addu v0,v0,v1
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lwl v0,0x4(a0)
lwl v1,0x0(a0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lwr v0,0x7(a0)
lwr v1,0x3(a0)
addiu sp,sp,0x20
wsbh v0,v0
wsbh v1,v1
rotr v0,v0,0x10
jr ra
_rotr v1,v1,0x10
lw ra,0x1c(sp)
or v0,zero,zero
lbu v1,0x0(a0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lbu a1,0x0(a0)
or v0,zero,zero
lbu v1,0x1(a0)
lw ra,0x1c(sp)
sll a1,a1,0x8
lw s0,0x18(sp)
addiu sp,sp,0x20
or v1,v1,a1
wsbh v1,v1
jr ra
_andi v1,v1,0xffff
lbu a1,0x1(a0)
or v0,zero,zero
lbu a2,0x2(a0)
lw ra,0x1c(sp)
lbu a0,0x0(a0)
sll v1,a1,0x8
sll a2,a2,0x10
lw s0,0x18(sp)
addiu sp,sp,0x20
or v1,v1,a2
jr ra
_or v1,v1,a0
lwl v1,0x0(a0)
or v0,zero,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
lwr v1,0x3(a0)
addiu sp,sp,0x20
wsbh v1,v1
jr ra
_rotr v1,v1,0x10
lwl v1,0x0(a0)
lw ra,0x1c(sp)
lbu v0,0x4(a0)
lw s0,0x18(sp)
lwr v1,0x3(a0)
addiu sp,sp,0x20
wsbh v1,v1
jr ra
_rotr v1,v1,0x10
lwl v1,0x0(a0)
lbu a1,0x5(a0)
lbu v0,0x4(a0)
lw ra,0x1c(sp)
lwr v1,0x3(a0)
sll a1,a1,0x8
lw s0,0x18(sp)
addiu sp,sp,0x20
or v0,v0,a1
wsbh v1,v1
jr ra
_rotr v1,v1,0x10
lwl v1,0x0(a0)
lbu v0,0x5(a0)
lbu a2,0x6(a0)
lbu a1,0x4(a0)
lwr v1,0x3(a0)
sll v0,v0,0x8
lw ra,0x1c(sp)
sll a2,a2,0x10
or v0,a1,v0
lw s0,0x18(sp)
wsbh v1,v1
or v0,v0,a2
rotr v1,v1,0x10
jr ra
_addiu sp,sp,0x20
or s0,a1,zero
lw a1,-0x7f70(gp)
lw t9,-0x7d44(gp)
li a2,0x5
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x3804
or a1,s0,zero
lw gp,0x10(sp)
lw t9,-0x7fb8(gp)
bal 0x00078d90
_or a0,v0,zero
lw gp,0x10(sp)
lw t9,-0x7e10(gp)
jalr t9
_nop
(translation_unit "void byte_get_little_endian(undefined4 param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }\n  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);\n  error(uVar1,param_2);\n  (*(code *)PTR_abort_000c3540)();\n  return;\n}\n\n" (function_definition "void byte_get_little_endian(undefined4 param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }\n  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);\n  error(uVar1,param_2);\n  (*(code *)PTR_abort_000c3540)();\n  return;\n}" primitive_type (function_declarator "byte_get_little_endian(undefined4 param_1,uint param_2)" identifier (parameter_list "(undefined4 param_1,uint param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }\n  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);\n  error(uVar1,param_2);\n  (*(code *)PTR_abort_000c3540)();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }" if (parenthesized_expression "(param_2 < 9)" ( (binary_expression "param_2 < 9" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" ( (binary_expression "&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" * (cast_expression "(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" ( (binary_expression "PTR_UINT_000c33e0 + param_2 * 4 + -0x3294" (binary_expression "PTR_UINT_000c33e0 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);" (assignment_expression "uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000c360c)" ( (pointer_expression "*(code *)PTR_dcgettext_000c360c" * (cast_expression "(code *)PTR_dcgettext_000c360c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_000c33e0 + -0x3804,5)" ( number_literal , (binary_expression "PTR_UINT_000c33e0 + -0x3804" identifier + number_literal) , number_literal )))) ;) (expression_statement "error(uVar1,param_2);" (call_expression "error(uVar1,param_2)" identifier (argument_list "(uVar1,param_2)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_abort_000c3540)();" (call_expression "(*(code *)PTR_abort_000c3540)()" (parenthesized_expression "(*(code *)PTR_abort_000c3540)" ( (pointer_expression "*(code *)PTR_abort_000c3540" * (cast_expression "(code *)PTR_abort_000c3540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "elf_vma byte_get_little_endian(uchar *field,int size)\n\n{\n  char *message;\n  uchar *puVar1;\n  elf_vma *peVar2;\n  elf_vma *peVar3;\n  code *pcVar4;\n  uchar *field_00;\n  undefined *puVar5;\n  code *pcVar6;\n  elf_vma eVar7;\n  \n  if ((uint)size < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))();\n    return eVar7;\n  }\n  peVar3 = (elf_vma *)&DAT_00000005;\n  message = (char *)(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804);\n  error(message);\n  puVar5 = PTR_abort_000c3540;\n  (*(code *)PTR_abort_000c3540)();\n  peVar2 = (elf_vma *)size;\n  (*(code *)**(undefined4 **)(puVar5 + 0x49a9c))();\n  puVar1 = (uchar *)(uint)((uint)size < &DAT_00000009);\n  if (puVar1 != (uchar *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00079948. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )();\n    return eVar7;\n  }\n  pcVar6 = *(code **)(puVar5 + 0x49c48);\n  (*pcVar6)();\n  field_00 = puVar1 + 4;\n  pcVar4 = (code *)**(undefined4 **)(pcVar6 + 0x499a4);\n  if (pcVar4 == *(code **)(pcVar6 + 0x499e4)) {\n    eVar7 = (*pcVar4)();\n    *peVar2 = eVar7;\n  }\n  else {\n    pcVar4 = *(code **)(pcVar6 + 0x499d8);\n    eVar7 = byte_get_little_endian(field_00,4);\n    *peVar2 = eVar7;\n    field_00 = puVar1;\n  }\n  eVar7 = (*pcVar4)(field_00,4);\n  *peVar3 = eVar7;\n  return eVar7;\n}\n\n" (function_definition "elf_vma byte_get_little_endian(uchar *field,int size)\n\n{\n  char *message;\n  uchar *puVar1;\n  elf_vma *peVar2;\n  elf_vma *peVar3;\n  code *pcVar4;\n  uchar *field_00;\n  undefined *puVar5;\n  code *pcVar6;\n  elf_vma eVar7;\n  \n  if ((uint)size < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))();\n    return eVar7;\n  }\n  peVar3 = (elf_vma *)&DAT_00000005;\n  message = (char *)(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804);\n  error(message);\n  puVar5 = PTR_abort_000c3540;\n  (*(code *)PTR_abort_000c3540)();\n  peVar2 = (elf_vma *)size;\n  (*(code *)**(undefined4 **)(puVar5 + 0x49a9c))();\n  puVar1 = (uchar *)(uint)((uint)size < &DAT_00000009);\n  if (puVar1 != (uchar *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00079948. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )();\n    return eVar7;\n  }\n  pcVar6 = *(code **)(puVar5 + 0x49c48);\n  (*pcVar6)();\n  field_00 = puVar1 + 4;\n  pcVar4 = (code *)**(undefined4 **)(pcVar6 + 0x499a4);\n  if (pcVar4 == *(code **)(pcVar6 + 0x499e4)) {\n    eVar7 = (*pcVar4)();\n    *peVar2 = eVar7;\n  }\n  else {\n    pcVar4 = *(code **)(pcVar6 + 0x499d8);\n    eVar7 = byte_get_little_endian(field_00,4);\n    *peVar2 = eVar7;\n    field_00 = puVar1;\n  }\n  eVar7 = (*pcVar4)(field_00,4);\n  *peVar3 = eVar7;\n  return eVar7;\n}" type_identifier (function_declarator "byte_get_little_endian(uchar *field,int size)" identifier (parameter_list "(uchar *field,int size)" ( (parameter_declaration "uchar *field" type_identifier (pointer_declarator "*field" * identifier)) , (parameter_declaration "int size" primitive_type identifier) ))) (compound_statement "{\n  char *message;\n  uchar *puVar1;\n  elf_vma *peVar2;\n  elf_vma *peVar3;\n  code *pcVar4;\n  uchar *field_00;\n  undefined *puVar5;\n  code *pcVar6;\n  elf_vma eVar7;\n  \n  if ((uint)size < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))();\n    return eVar7;\n  }\n  peVar3 = (elf_vma *)&DAT_00000005;\n  message = (char *)(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804);\n  error(message);\n  puVar5 = PTR_abort_000c3540;\n  (*(code *)PTR_abort_000c3540)();\n  peVar2 = (elf_vma *)size;\n  (*(code *)**(undefined4 **)(puVar5 + 0x49a9c))();\n  puVar1 = (uchar *)(uint)((uint)size < &DAT_00000009);\n  if (puVar1 != (uchar *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00079948. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )();\n    return eVar7;\n  }\n  pcVar6 = *(code **)(puVar5 + 0x49c48);\n  (*pcVar6)();\n  field_00 = puVar1 + 4;\n  pcVar4 = (code *)**(undefined4 **)(pcVar6 + 0x499a4);\n  if (pcVar4 == *(code **)(pcVar6 + 0x499e4)) {\n    eVar7 = (*pcVar4)();\n    *peVar2 = eVar7;\n  }\n  else {\n    pcVar4 = *(code **)(pcVar6 + 0x499d8);\n    eVar7 = byte_get_little_endian(field_00,4);\n    *peVar2 = eVar7;\n    field_00 = puVar1;\n  }\n  eVar7 = (*pcVar4)(field_00,4);\n  *peVar3 = eVar7;\n  return eVar7;\n}" { (declaration "char *message;" primitive_type (pointer_declarator "*message" * identifier) ;) (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "elf_vma *peVar2;" type_identifier (pointer_declarator "*peVar2" * identifier) ;) (declaration "elf_vma *peVar3;" type_identifier (pointer_declarator "*peVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uchar *field_00;" type_identifier (pointer_declarator "*field_00" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "elf_vma eVar7;" type_identifier identifier ;) (if_statement "if ((uint)size < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))();\n    return eVar7;\n  }" if (parenthesized_expression "((uint)size < 9)" ( (binary_expression "(uint)size < 9" (cast_expression "(uint)size" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0007974c */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))();\n    return eVar7;\n  }" { comment comment (expression_statement "eVar7 = (*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))();" (assignment_expression "eVar7 = (*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294))" ( (binary_expression "&_gp + *(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)" * (cast_expression "(int *)(PTR_UINT_000c33e0 + size * 4 + -0x3294)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_000c33e0 + size * 4 + -0x3294)" ( (binary_expression "PTR_UINT_000c33e0 + size * 4 + -0x3294" (binary_expression "PTR_UINT_000c33e0 + size * 4" identifier + (binary_expression "size * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return eVar7;" return identifier ;) })) (expression_statement "peVar3 = (elf_vma *)&DAT_00000005;" (assignment_expression "peVar3 = (elf_vma *)&DAT_00000005" identifier = (cast_expression "(elf_vma *)&DAT_00000005" ( (type_descriptor "elf_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000005" & identifier))) ;) (expression_statement "message = (char *)(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804);" (assignment_expression "message = (char *)(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804)" (parenthesized_expression "(*(code *)PTR_dcgettext_000c360c)" ( (pointer_expression "*(code *)PTR_dcgettext_000c360c" * (cast_expression "(code *)PTR_dcgettext_000c360c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_000c33e0 + -0x3804)" ( number_literal , (binary_expression "PTR_UINT_000c33e0 + -0x3804" identifier + number_literal) ))))) ;) (expression_statement "error(message);" (call_expression "error(message)" identifier (argument_list "(message)" ( identifier ))) ;) (expression_statement "puVar5 = PTR_abort_000c3540;" (assignment_expression "puVar5 = PTR_abort_000c3540" identifier = identifier) ;) (expression_statement "(*(code *)PTR_abort_000c3540)();" (call_expression "(*(code *)PTR_abort_000c3540)()" (parenthesized_expression "(*(code *)PTR_abort_000c3540)" ( (pointer_expression "*(code *)PTR_abort_000c3540" * (cast_expression "(code *)PTR_abort_000c3540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "peVar2 = (elf_vma *)size;" (assignment_expression "peVar2 = (elf_vma *)size" identifier = (cast_expression "(elf_vma *)size" ( (type_descriptor "elf_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)**(undefined4 **)(puVar5 + 0x49a9c))();" (call_expression "(*(code *)**(undefined4 **)(puVar5 + 0x49a9c))()" (parenthesized_expression "(*(code *)**(undefined4 **)(puVar5 + 0x49a9c))" ( (pointer_expression "*(code *)**(undefined4 **)(puVar5 + 0x49a9c)" * (cast_expression "(code *)**(undefined4 **)(puVar5 + 0x49a9c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(puVar5 + 0x49a9c)" * (pointer_expression "*(undefined4 **)(puVar5 + 0x49a9c)" * (cast_expression "(undefined4 **)(puVar5 + 0x49a9c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x49a9c)" ( (binary_expression "puVar5 + 0x49a9c" identifier + number_literal) ))))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar1 = (uchar *)(uint)((uint)size < &DAT_00000009);" (assignment_expression "puVar1 = (uchar *)(uint)((uint)size < &DAT_00000009)" identifier = (cast_expression "(uchar *)(uint)((uint)size < &DAT_00000009)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)((uint)size < &DAT_00000009)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)size < &DAT_00000009)" ( (binary_expression "(uint)size < &DAT_00000009" (cast_expression "(uint)size" ( (type_descriptor "uint" type_identifier) ) identifier) < (pointer_expression "&DAT_00000009" & identifier)) ))))) ;) (if_statement "if (puVar1 != (uchar *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00079948. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )();\n    return eVar7;\n  }" if (parenthesized_expression "(puVar1 != (uchar *)0x0)" ( (binary_expression "puVar1 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00079948. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    eVar7 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )();\n    return eVar7;\n  }" { comment comment (expression_statement "eVar7 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )();" (assignment_expression "eVar7 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )()" identifier = (call_expression "(*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )()" (parenthesized_expression "(*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)\n            )" ( (pointer_expression "*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)" * (cast_expression "(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58)" ( (binary_expression "puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4) + 0x51a58" (binary_expression "puVar5 + *(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4)" * (cast_expression "(int *)(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4)" ( (binary_expression "*(int *)(puVar5 + 0x49ae8) + -0x3270 + size * 4" (binary_expression "*(int *)(puVar5 + 0x49ae8) + -0x3270" (pointer_expression "*(int *)(puVar5 + 0x49ae8)" * (cast_expression "(int *)(puVar5 + 0x49ae8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x49ae8)" ( (binary_expression "puVar5 + 0x49ae8" identifier + number_literal) )))) + number_literal) + (binary_expression "size * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return eVar7;" return identifier ;) })) (expression_statement "pcVar6 = *(code **)(puVar5 + 0x49c48);" (assignment_expression "pcVar6 = *(code **)(puVar5 + 0x49c48)" identifier = (pointer_expression "*(code **)(puVar5 + 0x49c48)" * (cast_expression "(code **)(puVar5 + 0x49c48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x49c48)" ( (binary_expression "puVar5 + 0x49c48" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "field_00 = puVar1 + 4;" (assignment_expression "field_00 = puVar1 + 4" identifier = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) (expression_statement "pcVar4 = (code *)**(undefined4 **)(pcVar6 + 0x499a4);" (assignment_expression "pcVar4 = (code *)**(undefined4 **)(pcVar6 + 0x499a4)" identifier = (cast_expression "(code *)**(undefined4 **)(pcVar6 + 0x499a4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(pcVar6 + 0x499a4)" * (pointer_expression "*(undefined4 **)(pcVar6 + 0x499a4)" * (cast_expression "(undefined4 **)(pcVar6 + 0x499a4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar6 + 0x499a4)" ( (binary_expression "pcVar6 + 0x499a4" identifier + number_literal) ))))))) ;) (if_statement "if (pcVar4 == *(code **)(pcVar6 + 0x499e4)) {\n    eVar7 = (*pcVar4)();\n    *peVar2 = eVar7;\n  }\n  else {\n    pcVar4 = *(code **)(pcVar6 + 0x499d8);\n    eVar7 = byte_get_little_endian(field_00,4);\n    *peVar2 = eVar7;\n    field_00 = puVar1;\n  }" if (parenthesized_expression "(pcVar4 == *(code **)(pcVar6 + 0x499e4))" ( (binary_expression "pcVar4 == *(code **)(pcVar6 + 0x499e4)" identifier == (pointer_expression "*(code **)(pcVar6 + 0x499e4)" * (cast_expression "(code **)(pcVar6 + 0x499e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar6 + 0x499e4)" ( (binary_expression "pcVar6 + 0x499e4" identifier + number_literal) ))))) )) (compound_statement "{\n    eVar7 = (*pcVar4)();\n    *peVar2 = eVar7;\n  }" { (expression_statement "eVar7 = (*pcVar4)();" (assignment_expression "eVar7 = (*pcVar4)()" identifier = (call_expression "(*pcVar4)()" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "*peVar2 = eVar7;" (assignment_expression "*peVar2 = eVar7" (pointer_expression "*peVar2" * identifier) = identifier) ;) }) (else_clause "else {\n    pcVar4 = *(code **)(pcVar6 + 0x499d8);\n    eVar7 = byte_get_little_endian(field_00,4);\n    *peVar2 = eVar7;\n    field_00 = puVar1;\n  }" else (compound_statement "{\n    pcVar4 = *(code **)(pcVar6 + 0x499d8);\n    eVar7 = byte_get_little_endian(field_00,4);\n    *peVar2 = eVar7;\n    field_00 = puVar1;\n  }" { (expression_statement "pcVar4 = *(code **)(pcVar6 + 0x499d8);" (assignment_expression "pcVar4 = *(code **)(pcVar6 + 0x499d8)" identifier = (pointer_expression "*(code **)(pcVar6 + 0x499d8)" * (cast_expression "(code **)(pcVar6 + 0x499d8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar6 + 0x499d8)" ( (binary_expression "pcVar6 + 0x499d8" identifier + number_literal) ))))) ;) (expression_statement "eVar7 = byte_get_little_endian(field_00,4);" (assignment_expression "eVar7 = byte_get_little_endian(field_00,4)" identifier = (call_expression "byte_get_little_endian(field_00,4)" identifier (argument_list "(field_00,4)" ( identifier , number_literal )))) ;) (expression_statement "*peVar2 = eVar7;" (assignment_expression "*peVar2 = eVar7" (pointer_expression "*peVar2" * identifier) = identifier) ;) (expression_statement "field_00 = puVar1;" (assignment_expression "field_00 = puVar1" identifier = identifier) ;) }))) (expression_statement "eVar7 = (*pcVar4)(field_00,4);" (assignment_expression "eVar7 = (*pcVar4)(field_00,4)" identifier = (call_expression "(*pcVar4)(field_00,4)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(field_00,4)" ( identifier , number_literal )))) ;) (expression_statement "*peVar3 = eVar7;" (assignment_expression "*peVar3 = eVar7" (pointer_expression "*peVar3" * identifier) = identifier) ;) (return_statement "return eVar7;" return identifier ;) })))
(translation_unit "void byte_get_little_endian(undefined4 param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }\n  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);\n  error(uVar1,param_2);\n  (*(code *)PTR_abort_000c3540)();\n  return;\n}\n\n" (function_definition "void byte_get_little_endian(undefined4 param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }\n  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);\n  error(uVar1,param_2);\n  (*(code *)PTR_abort_000c3540)();\n  return;\n}" primitive_type (function_declarator "byte_get_little_endian(undefined4 param_1,uint param_2)" identifier (parameter_list "(undefined4 param_1,uint param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }\n  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);\n  error(uVar1,param_2);\n  (*(code *)PTR_abort_000c3540)();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }" if (parenthesized_expression "(param_2 < 9)" ( (binary_expression "param_2 < 9" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }" { (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" ( (binary_expression "&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" * (cast_expression "(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" ( (binary_expression "PTR_UINT_000c33e0 + param_2 * 4 + -0x3294" (binary_expression "PTR_UINT_000c33e0 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);" (assignment_expression "uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000c360c)" ( (pointer_expression "*(code *)PTR_dcgettext_000c360c" * (cast_expression "(code *)PTR_dcgettext_000c360c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_000c33e0 + -0x3804,5)" ( number_literal , (binary_expression "PTR_UINT_000c33e0 + -0x3804" identifier + number_literal) , number_literal )))) ;) (expression_statement "error(uVar1,param_2);" (call_expression "error(uVar1,param_2)" identifier (argument_list "(uVar1,param_2)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_abort_000c3540)();" (call_expression "(*(code *)PTR_abort_000c3540)()" (parenthesized_expression "(*(code *)PTR_abort_000c3540)" ( (pointer_expression "*(code *)PTR_abort_000c3540" * (cast_expression "(code *)PTR_abort_000c3540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void byte_get_little_endian(undefined4 param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }\n  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);\n  error(uVar1,param_2);\n  (*(code *)PTR_abort_000c3540)();\n  return;\n}" (primitive_type "void") (function_declarator "byte_get_little_endian(undefined4 param_1,uint param_2)" (identifier "byte_get_little_endian") (parameter_list "(undefined4 param_1,uint param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }\n  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);\n  error(uVar1,param_2);\n  (*(code *)PTR_abort_000c3540)();\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 < 9)" (( "(") (binary_expression "param_2 < 9" (identifier "param_2") (< "<") (number_literal "9")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" (* "*") (cast_expression "(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)" (( "(") (binary_expression "PTR_UINT_000c33e0 + param_2 * 4 + -0x3294" (binary_expression "PTR_UINT_000c33e0 + param_2 * 4" (identifier "PTR_UINT_000c33e0") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x3294")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);" (assignment_expression "uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000c360c)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000c360c" (* "*") (cast_expression "(code *)PTR_dcgettext_000c360c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000c360c"))) () ")")) (argument_list "(0,PTR_UINT_000c33e0 + -0x3804,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_UINT_000c33e0 + -0x3804" (identifier "PTR_UINT_000c33e0") (+ "+") (number_literal "-0x3804")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar1,param_2);" (call_expression "error(uVar1,param_2)" (identifier "error") (argument_list "(uVar1,param_2)" (( "(") (identifier "uVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_abort_000c3540)();" (call_expression "(*(code *)PTR_abort_000c3540)()" (parenthesized_expression "(*(code *)PTR_abort_000c3540)" (( "(") (pointer_expression "*(code *)PTR_abort_000c3540" (* "*") (cast_expression "(code *)PTR_abort_000c3540" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_abort_000c3540"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list))) (return_statement))) (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (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))) (return_statement))))

void MASKED(undefined4 param_1,uint param_2)

{
  undefined4 uVar1;
  
  if (param_2 < 9) {
                    /* WARNING: Could not emulate address calculation at 0x0007974c */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c33e0 + param_2 * 4 + -0x3294)))();
    return;
  }
  uVar1 = (*(code *)PTR_dcgettext_000c360c)(0,PTR_UINT_000c33e0 + -0x3804,5);
  error(uVar1,param_2);
  (*(code *)PTR_abort_000c3540)();
  return;
}

