
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint plt_entry_count(Target_powerpc<64,_false> * this) */

uint __thiscall
anon_unknown.dwarf_6462d4::Target_powerpc<64,_false>::plt_entry_count
          (Target_powerpc<64,_false> *this)

{
  Output_data_plt_powerpc<64,_false> *pOVar1;
  uint uVar2;
  undefined4 uVar3;
  uint uVar4;
  int iVar5;
  bool bVar6;
  
  pOVar1 = this->plt_;
  if (pOVar1 != (Output_data_plt_powerpc<64,_false> *)0x0) {
    iVar5 = *(int *)((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.
                           super_Output_data.data_size_ + 4);
    uVar4 = (uint)(pOVar1->super_Output_section_data_build).super_Output_section_data.
                  super_Output_data.data_size_;
    uVar2 = 0;
    if (iVar5 != 0 || uVar4 != 0) {
      uVar2 = *(uint *)&pOVar1->targ_->field_0x8 & 2;
      if ((pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L')) {
        uVar3 = 0x18;
        if (uVar2 != 0) {
          uVar3 = 8;
        }
      }
      else if (uVar2 == 0) {
        bVar6 = 0x17 < uVar4;
        uVar4 = uVar4 - 0x18;
        uVar3 = 0x18;
        iVar5 = iVar5 + -1 + (uint)bVar6;
      }
      else {
        bVar6 = 0xf < uVar4;
        uVar4 = uVar4 - 0x10;
        uVar3 = 8;
        iVar5 = iVar5 + -1 + (uint)bVar6;
      }
      uVar2 = __divdi3(uVar4,iVar5,uVar3,0);
    }
    return uVar2;
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 FUN_000b3b30(int param_1)

{
  char cVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  bool bVar7;
  
  iVar2 = *(int *)(param_1 + 0x18);
  if (iVar2 != 0) {
    iVar6 = *(int *)(iVar2 + 0x10);
    uVar5 = *(uint *)(iVar2 + 0xc);
    uVar3 = 0;
    if (iVar6 != 0 || uVar5 != 0) {
      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);
      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;
      if ((cVar1 == 'I') || (cVar1 == 'L')) {
        uVar3 = 0x18;
        if (uVar4 != 0) {
          uVar3 = 8;
        }
      }
      else if (uVar4 == 0) {
        bVar7 = 0x17 < uVar5;
        uVar5 = uVar5 - 0x18;
        uVar3 = 0x18;
        iVar6 = iVar6 + -1 + (uint)bVar7;
      }
      else {
        bVar7 = 0xf < uVar5;
        uVar5 = uVar5 - 0x10;
        uVar3 = 8;
        iVar6 = iVar6 + -1 + (uint)bVar7;
      }
      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);
    }
    return uVar3;
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x00063c76
ADD ESI,0x5364c8
PUSH EBX
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [EAX + 0x18]
TEST EDX,EDX
JZ 0x000b3bb8
MOV EBX,dword ptr [EDX + 0x10]
MOV ECX,dword ptr [EDX + 0xc]
XOR EAX,EAX
MOV EBP,EBX
OR EBP,ECX
JZ 0x000b3b96
MOV EAX,dword ptr [EDX + 0x34]
MOVZX EBP,byte ptr [EAX + 0x3]
MOV EAX,dword ptr [EDX + 0x30]
MOV EAX,dword ptr [EAX + 0x8]
AND EAX,0x2
MOV EDI,EAX
MOV EAX,EBP
CMP AL,0x49
JZ 0x000b3ba0
CMP AL,0x4c
JZ 0x000b3ba0
TEST EDI,EDI
JNZ 0x000b3bc8
ADD ECX,-0x18
MOV EAX,0x18
ADC EBX,-0x1
XOR EDX,EDX
PUSH EDX
PUSH EAX
PUSH EBX
MOV EBX,ESI
PUSH ECX
CALL 0x004428c0
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0x18
XOR EDX,EDX
TEST EDI,EDI
JZ 0x000b3b88
MOV EAX,0x8
XOR EDX,EDX
JMP 0x000b3b88
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ECX,-0x10
MOV EAX,0x8
ADC EBX,-0x1
XOR EDX,EDX
JMP 0x000b3b88
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 FUN_000b3b30(int param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_000b3b30(int param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000b3b30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }" { (expression_statement "iVar6 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x10)" identifier = (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(iVar2 + 0xc);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar2 + 0xc)" * (cast_expression "(uint *)(iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }" if (parenthesized_expression "(iVar6 != 0 || uVar5 != 0)" ( (binary_expression "iVar6 != 0 || uVar5 != 0" (binary_expression "iVar6 != 0" identifier != number_literal) || (binary_expression "uVar5 != 0" identifier != number_literal)) )) (compound_statement "{\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }" { (expression_statement "cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);" (assignment_expression "cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3)" identifier = (pointer_expression "*(char *)(*(int *)(iVar2 + 0x34) + 3)" * (cast_expression "(char *)(*(int *)(iVar2 + 0x34) + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x34) + 3)" ( (binary_expression "*(int *)(iVar2 + 0x34) + 3" (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;" (assignment_expression "uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2" identifier = (binary_expression "*(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2" (pointer_expression "*(uint *)(*(int *)(iVar2 + 0x30) + 8)" * (cast_expression "(uint *)(*(int *)(iVar2 + 0x30) + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x30) + 8)" ( (binary_expression "*(int *)(iVar2 + 0x30) + 8" (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) + number_literal) )))) & number_literal)) ;) (if_statement "if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" if (parenthesized_expression "((cVar1 == 'I') || (cVar1 == 'L'))" ( (binary_expression "(cVar1 == 'I') || (cVar1 == 'L')" (parenthesized_expression "(cVar1 == 'I')" ( (binary_expression "cVar1 == 'I'" identifier == (char_literal "'I'" ' character ')) )) || (parenthesized_expression "(cVar1 == 'L')" ( (binary_expression "cVar1 == 'L'" identifier == (char_literal "'L'" ' character ')) ))) )) (compound_statement "{\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }" { (expression_statement "uVar3 = 0x18;" (assignment_expression "uVar3 = 0x18" identifier = number_literal) ;) (if_statement "if (uVar4 != 0) {\n          uVar3 = 8;\n        }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar3 = 8;\n        }" { (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) })) }) (else_clause "else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" else (if_statement "if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" { (expression_statement "bVar7 = 0x17 < uVar5;" (assignment_expression "bVar7 = 0x17 < uVar5" identifier = (binary_expression "0x17 < uVar5" number_literal < identifier)) ;) (expression_statement "uVar5 = uVar5 - 0x18;" (assignment_expression "uVar5 = uVar5 - 0x18" identifier = (binary_expression "uVar5 - 0x18" identifier - number_literal)) ;) (expression_statement "uVar3 = 0x18;" (assignment_expression "uVar3 = 0x18" identifier = number_literal) ;) (expression_statement "iVar6 = iVar6 + -1 + (uint)bVar7;" (assignment_expression "iVar6 = iVar6 + -1 + (uint)bVar7" identifier = (binary_expression "iVar6 + -1 + (uint)bVar7" (binary_expression "iVar6 + -1" identifier + number_literal) + (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) (else_clause "else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" else (compound_statement "{\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" { (expression_statement "bVar7 = 0xf < uVar5;" (assignment_expression "bVar7 = 0xf < uVar5" identifier = (binary_expression "0xf < uVar5" number_literal < identifier)) ;) (expression_statement "uVar5 = uVar5 - 0x10;" (assignment_expression "uVar5 = uVar5 - 0x10" identifier = (binary_expression "uVar5 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) (expression_statement "iVar6 = iVar6 + -1 + (uint)bVar7;" (assignment_expression "iVar6 = iVar6 + -1 + (uint)bVar7" identifier = (binary_expression "iVar6 + -1 + (uint)bVar7" (binary_expression "iVar6 + -1" identifier + number_literal) + (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }))))) (expression_statement "uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);" (assignment_expression "uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0)" identifier = (call_expression "FUN_004428c0(uVar5,iVar6,uVar3,0)" identifier (argument_list "(uVar5,iVar6,uVar3,0)" ( identifier , identifier , identifier , number_literal )))) ;) })) (return_statement "return uVar3;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: uint plt_entry_count(Target_powerpc<64,_false> * this) */\n\nuint __thiscall\nanon_unknown.dwarf_6462d4::Target_powerpc<64,_false>::plt_entry_count\n          (Target_powerpc<64,_false> *this)\n\n{\n  Output_data_plt_powerpc<64,_false> *pOVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  bool bVar6;\n  \n  pOVar1 = this->plt_;\n  if (pOVar1 != (Output_data_plt_powerpc<64,_false> *)0x0) {\n    iVar5 = *(int *)((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4);\n    uVar4 = (uint)(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                  super_Output_data.data_size_;\n    uVar2 = 0;\n    if (iVar5 != 0 || uVar4 != 0) {\n      uVar2 = *(uint *)&pOVar1->targ_->field_0x8 & 2;\n      if ((pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L')) {\n        uVar3 = 0x18;\n        if (uVar2 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar2 == 0) {\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      uVar2 = __divdi3(uVar4,iVar5,uVar3,0);\n    }\n    return uVar2;\n  }\n  return 0;\n}\n\n" comment comment comment (declaration "uint __thiscall\nanon_unknown.dwarf_6462d4::Target_powerpc<64,_false>::plt_entry_count\n          (Target_powerpc<64,_false> *this)\n\n{\n  Output_data_plt_powerpc<64,_false> *pOVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_6462d4::" identifier . identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::plt_entry_count\n          (Target_powerpc<64,_false> *this)\n\n{" identifier > : : (function_declarator "plt_entry_count\n          (Target_powerpc<64,_false> *this)" identifier (parameter_list "(Target_powerpc<64,_false> *this)" ( (parameter_declaration "Target_powerpc" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) {) identifier (ERROR "<64" < number_literal) , (ERROR "_false>" identifier >) (pointer_declarator "*pOVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "pOVar1 = this->plt_;" (assignment_expression "pOVar1 = this->plt_" identifier = (field_expression "this->plt_" identifier -> field_identifier)) ;) (if_statement "if (pOVar1 != (Output_data_plt_powerpc<64,_false> *)0x0) {\n    iVar5 = *(int *)((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4);\n    uVar4 = (uint)(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                  super_Output_data.data_size_;\n    uVar2 = 0;\n    if (iVar5 != 0 || uVar4 != 0) {\n      uVar2 = *(uint *)&pOVar1->targ_->field_0x8 & 2;\n      if ((pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L')) {\n        uVar3 = 0x18;\n        if (uVar2 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar2 == 0) {\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      uVar2 = __divdi3(uVar4,iVar5,uVar3,0);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(pOVar1 != (Output_data_plt_powerpc<64,_false> *)0x0)" ( (binary_expression "pOVar1 != (Output_data_plt_powerpc<64,_false> *)0x0)" identifier != (parenthesized_expression "(Output_data_plt_powerpc<64,_false> *)0x0)" ( (comma_expression "Output_data_plt_powerpc<64,_false> *)0x0" (binary_expression "Output_data_plt_powerpc<64" identifier < number_literal) , (binary_expression "_false> *)0x0" identifier > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal))) ))) )) (compound_statement "{\n    iVar5 = *(int *)((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4);\n    uVar4 = (uint)(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                  super_Output_data.data_size_;\n    uVar2 = 0;\n    if (iVar5 != 0 || uVar4 != 0) {\n      uVar2 = *(uint *)&pOVar1->targ_->field_0x8 & 2;\n      if ((pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L')) {\n        uVar3 = 0x18;\n        if (uVar2 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar2 == 0) {\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      uVar2 = __divdi3(uVar4,iVar5,uVar3,0);\n    }\n    return uVar2;\n  }" { (expression_statement "iVar5 = *(int *)((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4);" (assignment_expression "iVar5 = *(int *)((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4)" identifier = (pointer_expression "*(int *)((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4)" * (cast_expression "(int *)((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4)" ( (binary_expression "(int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_ + 4" (cast_expression "(int)&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_" & (field_expression "(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data.data_size_" (field_expression "(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                           super_Output_data" (field_expression "(pOVar1->super_Output_section_data_build).super_Output_section_data" (parenthesized_expression "(pOVar1->super_Output_section_data_build)" ( (field_expression "pOVar1->super_Output_section_data_build" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar4 = (uint)(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                  super_Output_data.data_size_;" (assignment_expression "uVar4 = (uint)(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                  super_Output_data.data_size_" identifier = (field_expression "(uint)(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                  super_Output_data.data_size_" (field_expression "(uint)(pOVar1->super_Output_section_data_build).super_Output_section_data.\n                  super_Output_data" (field_expression "(uint)(pOVar1->super_Output_section_data_build).super_Output_section_data" (call_expression "(uint)(pOVar1->super_Output_section_data_build)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pOVar1->super_Output_section_data_build)" ( (field_expression "pOVar1->super_Output_section_data_build" identifier -> field_identifier) ))) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar5 != 0 || uVar4 != 0) {\n      uVar2 = *(uint *)&pOVar1->targ_->field_0x8 & 2;\n      if ((pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L')) {\n        uVar3 = 0x18;\n        if (uVar2 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar2 == 0) {\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      uVar2 = __divdi3(uVar4,iVar5,uVar3,0);\n    }" if (parenthesized_expression "(iVar5 != 0 || uVar4 != 0)" ( (binary_expression "iVar5 != 0 || uVar4 != 0" (binary_expression "iVar5 != 0" identifier != number_literal) || (binary_expression "uVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n      uVar2 = *(uint *)&pOVar1->targ_->field_0x8 & 2;\n      if ((pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L')) {\n        uVar3 = 0x18;\n        if (uVar2 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar2 == 0) {\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      uVar2 = __divdi3(uVar4,iVar5,uVar3,0);\n    }" { (expression_statement "uVar2 = *(uint *)&pOVar1->targ_->field_0x8 & 2;" (assignment_expression "uVar2 = *(uint *)&pOVar1->targ_->field_0x8 & 2" identifier = (binary_expression "*(uint *)&pOVar1->targ_->field_0x8 & 2" (pointer_expression "*(uint *)&pOVar1->targ_->field_0x8" * (cast_expression "(uint *)&pOVar1->targ_->field_0x8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pOVar1->targ_->field_0x8" & (field_expression "pOVar1->targ_->field_0x8" (field_expression "pOVar1->targ_" identifier -> field_identifier) -> field_identifier)))) & number_literal)) ;) (if_statement "if ((pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L')) {\n        uVar3 = 0x18;\n        if (uVar2 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar2 == 0) {\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }" if (parenthesized_expression "((pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L'))" ( (binary_expression "(pOVar1->name_[3] == 'I') || (pOVar1->name_[3] == 'L')" (parenthesized_expression "(pOVar1->name_[3] == 'I')" ( (binary_expression "pOVar1->name_[3] == 'I'" (subscript_expression "pOVar1->name_[3]" (field_expression "pOVar1->name_" identifier -> field_identifier) [ number_literal ]) == (char_literal "'I'" ' character ')) )) || (parenthesized_expression "(pOVar1->name_[3] == 'L')" ( (binary_expression "pOVar1->name_[3] == 'L'" (subscript_expression "pOVar1->name_[3]" (field_expression "pOVar1->name_" identifier -> field_identifier) [ number_literal ]) == (char_literal "'L'" ' character ')) ))) )) (compound_statement "{\n        uVar3 = 0x18;\n        if (uVar2 != 0) {\n          uVar3 = 8;\n        }\n      }" { (expression_statement "uVar3 = 0x18;" (assignment_expression "uVar3 = 0x18" identifier = number_literal) ;) (if_statement "if (uVar2 != 0) {\n          uVar3 = 8;\n        }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar3 = 8;\n        }" { (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) })) }) (else_clause "else if (uVar2 == 0) {\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }" else (if_statement "if (uVar2 == 0) {\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }\n      else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar6 = 0x17 < uVar4;\n        uVar4 = uVar4 - 0x18;\n        uVar3 = 0x18;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }" { (expression_statement "bVar6 = 0x17 < uVar4;" (assignment_expression "bVar6 = 0x17 < uVar4" identifier = (binary_expression "0x17 < uVar4" number_literal < identifier)) ;) (expression_statement "uVar4 = uVar4 - 0x18;" (assignment_expression "uVar4 = uVar4 - 0x18" identifier = (binary_expression "uVar4 - 0x18" identifier - number_literal)) ;) (expression_statement "uVar3 = 0x18;" (assignment_expression "uVar3 = 0x18" identifier = number_literal) ;) (expression_statement "iVar5 = iVar5 + -1 + (uint)bVar6;" (assignment_expression "iVar5 = iVar5 + -1 + (uint)bVar6" identifier = (binary_expression "iVar5 + -1 + (uint)bVar6" (binary_expression "iVar5 + -1" identifier + number_literal) + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) (else_clause "else {\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }" else (compound_statement "{\n        bVar6 = 0xf < uVar4;\n        uVar4 = uVar4 - 0x10;\n        uVar3 = 8;\n        iVar5 = iVar5 + -1 + (uint)bVar6;\n      }" { (expression_statement "bVar6 = 0xf < uVar4;" (assignment_expression "bVar6 = 0xf < uVar4" identifier = (binary_expression "0xf < uVar4" number_literal < identifier)) ;) (expression_statement "uVar4 = uVar4 - 0x10;" (assignment_expression "uVar4 = uVar4 - 0x10" identifier = (binary_expression "uVar4 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) (expression_statement "iVar5 = iVar5 + -1 + (uint)bVar6;" (assignment_expression "iVar5 = iVar5 + -1 + (uint)bVar6" identifier = (binary_expression "iVar5 + -1 + (uint)bVar6" (binary_expression "iVar5 + -1" identifier + number_literal) + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }))))) (expression_statement "uVar2 = __divdi3(uVar4,iVar5,uVar3,0);" (assignment_expression "uVar2 = __divdi3(uVar4,iVar5,uVar3,0)" identifier = (call_expression "__divdi3(uVar4,iVar5,uVar3,0)" identifier (argument_list "(uVar4,iVar5,uVar3,0)" ( identifier , identifier , identifier , number_literal )))) ;) })) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) (ERROR "}" }))
(translation_unit "undefined4 FUN_000b3b30(int param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000b3b30(int param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000b3b30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }" { (expression_statement "iVar6 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x10)" identifier = (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(iVar2 + 0xc);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar2 + 0xc)" * (cast_expression "(uint *)(iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }" if (parenthesized_expression "(iVar6 != 0 || uVar5 != 0)" ( (binary_expression "iVar6 != 0 || uVar5 != 0" (binary_expression "iVar6 != 0" identifier != number_literal) || (binary_expression "uVar5 != 0" identifier != number_literal)) )) (compound_statement "{\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }" { (expression_statement "cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);" (assignment_expression "cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3)" identifier = (pointer_expression "*(char *)(*(int *)(iVar2 + 0x34) + 3)" * (cast_expression "(char *)(*(int *)(iVar2 + 0x34) + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x34) + 3)" ( (binary_expression "*(int *)(iVar2 + 0x34) + 3" (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;" (assignment_expression "uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2" identifier = (binary_expression "*(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2" (pointer_expression "*(uint *)(*(int *)(iVar2 + 0x30) + 8)" * (cast_expression "(uint *)(*(int *)(iVar2 + 0x30) + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x30) + 8)" ( (binary_expression "*(int *)(iVar2 + 0x30) + 8" (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) + number_literal) )))) & number_literal)) ;) (if_statement "if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" if (parenthesized_expression "((cVar1 == 'I') || (cVar1 == 'L'))" ( (binary_expression "(cVar1 == 'I') || (cVar1 == 'L')" (parenthesized_expression "(cVar1 == 'I')" ( (binary_expression "cVar1 == 'I'" identifier == (char_literal "'I'" ' character ')) )) || (parenthesized_expression "(cVar1 == 'L')" ( (binary_expression "cVar1 == 'L'" identifier == (char_literal "'L'" ' character ')) ))) )) (compound_statement "{\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }" { (expression_statement "uVar3 = 0x18;" (assignment_expression "uVar3 = 0x18" identifier = number_literal) ;) (if_statement "if (uVar4 != 0) {\n          uVar3 = 8;\n        }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar3 = 8;\n        }" { (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) })) }) (else_clause "else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" else (if_statement "if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" { (expression_statement "bVar7 = 0x17 < uVar5;" (assignment_expression "bVar7 = 0x17 < uVar5" identifier = (binary_expression "0x17 < uVar5" number_literal < identifier)) ;) (expression_statement "uVar5 = uVar5 - 0x18;" (assignment_expression "uVar5 = uVar5 - 0x18" identifier = (binary_expression "uVar5 - 0x18" identifier - number_literal)) ;) (expression_statement "uVar3 = 0x18;" (assignment_expression "uVar3 = 0x18" identifier = number_literal) ;) (expression_statement "iVar6 = iVar6 + -1 + (uint)bVar7;" (assignment_expression "iVar6 = iVar6 + -1 + (uint)bVar7" identifier = (binary_expression "iVar6 + -1 + (uint)bVar7" (binary_expression "iVar6 + -1" identifier + number_literal) + (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) (else_clause "else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" else (compound_statement "{\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" { (expression_statement "bVar7 = 0xf < uVar5;" (assignment_expression "bVar7 = 0xf < uVar5" identifier = (binary_expression "0xf < uVar5" number_literal < identifier)) ;) (expression_statement "uVar5 = uVar5 - 0x10;" (assignment_expression "uVar5 = uVar5 - 0x10" identifier = (binary_expression "uVar5 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) (expression_statement "iVar6 = iVar6 + -1 + (uint)bVar7;" (assignment_expression "iVar6 = iVar6 + -1 + (uint)bVar7" identifier = (binary_expression "iVar6 + -1 + (uint)bVar7" (binary_expression "iVar6 + -1" identifier + number_literal) + (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }))))) (expression_statement "uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);" (assignment_expression "uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0)" identifier = (call_expression "FUN_004428c0(uVar5,iVar6,uVar3,0)" identifier (argument_list "(uVar5,iVar6,uVar3,0)" ( identifier , identifier , identifier , number_literal )))) ;) })) (return_statement "return uVar3;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (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) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (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) )))) + LIT) )))) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }))))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) })) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000b3b30(int param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000b3b30(int param_1)" (identifier "FUN_000b3b30") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }\n  return 0;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = *(int *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar2 + 0xc);\n    uVar3 = 0;\n    if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }\n    return uVar3;\n  }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x10)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(iVar2 + 0xc);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0xc)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar2 + 0xc)" (* "*") (cast_expression "(uint *)(iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar6 != 0 || uVar5 != 0) {\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }" (if "if") (parenthesized_expression "(iVar6 != 0 || uVar5 != 0)" (( "(") (binary_expression "iVar6 != 0 || uVar5 != 0" (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);\n      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;\n      if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);\n    }" ({ "{") (expression_statement "cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);" (assignment_expression "cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(*(int *)(iVar2 + 0x34) + 3)" (* "*") (cast_expression "(char *)(*(int *)(iVar2 + 0x34) + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x34) + 3)" (( "(") (binary_expression "*(int *)(iVar2 + 0x34) + 3" (pointer_expression "*(int *)(iVar2 + 0x34)" (* "*") (cast_expression "(int *)(iVar2 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;" (assignment_expression "uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2" (identifier "uVar4") (= "=") (binary_expression "*(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2" (pointer_expression "*(uint *)(*(int *)(iVar2 + 0x30) + 8)" (* "*") (cast_expression "(uint *)(*(int *)(iVar2 + 0x30) + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x30) + 8)" (( "(") (binary_expression "*(int *)(iVar2 + 0x30) + 8" (pointer_expression "*(int *)(iVar2 + 0x30)" (* "*") (cast_expression "(int *)(iVar2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "2"))) (; ";")) (if_statement "if ((cVar1 == 'I') || (cVar1 == 'L')) {\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }\n      else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" (if "if") (parenthesized_expression "((cVar1 == 'I') || (cVar1 == 'L'))" (( "(") (binary_expression "(cVar1 == 'I') || (cVar1 == 'L')" (parenthesized_expression "(cVar1 == 'I')" (( "(") (binary_expression "cVar1 == 'I'" (identifier "cVar1") (== "==") (char_literal "'I'" (' "'") (character "I") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar1 == 'L')" (( "(") (binary_expression "cVar1 == 'L'" (identifier "cVar1") (== "==") (char_literal "'L'" (' "'") (character "L") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        uVar3 = 0x18;\n        if (uVar4 != 0) {\n          uVar3 = 8;\n        }\n      }" ({ "{") (expression_statement "uVar3 = 0x18;" (assignment_expression "uVar3 = 0x18" (identifier "uVar3") (= "=") (number_literal "0x18")) (; ";")) (if_statement "if (uVar4 != 0) {\n          uVar3 = 8;\n        }" (if "if") (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar3 = 8;\n        }" ({ "{") (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" (identifier "uVar3") (= "=") (number_literal "8")) (; ";")) (} "}"))) (} "}")) (else_clause "else if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" (else "else") (if_statement "if (uVar4 == 0) {\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }\n      else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" (if "if") (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        bVar7 = 0x17 < uVar5;\n        uVar5 = uVar5 - 0x18;\n        uVar3 = 0x18;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" ({ "{") (expression_statement "bVar7 = 0x17 < uVar5;" (assignment_expression "bVar7 = 0x17 < uVar5" (identifier "bVar7") (= "=") (binary_expression "0x17 < uVar5" (number_literal "0x17") (< "<") (identifier "uVar5"))) (; ";")) (expression_statement "uVar5 = uVar5 - 0x18;" (assignment_expression "uVar5 = uVar5 - 0x18" (identifier "uVar5") (= "=") (binary_expression "uVar5 - 0x18" (identifier "uVar5") (- "-") (number_literal "0x18"))) (; ";")) (expression_statement "uVar3 = 0x18;" (assignment_expression "uVar3 = 0x18" (identifier "uVar3") (= "=") (number_literal "0x18")) (; ";")) (expression_statement "iVar6 = iVar6 + -1 + (uint)bVar7;" (assignment_expression "iVar6 = iVar6 + -1 + (uint)bVar7" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1 + (uint)bVar7" (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1")) (+ "+") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (} "}")) (else_clause "else {\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" (else "else") (compound_statement "{\n        bVar7 = 0xf < uVar5;\n        uVar5 = uVar5 - 0x10;\n        uVar3 = 8;\n        iVar6 = iVar6 + -1 + (uint)bVar7;\n      }" ({ "{") (expression_statement "bVar7 = 0xf < uVar5;" (assignment_expression "bVar7 = 0xf < uVar5" (identifier "bVar7") (= "=") (binary_expression "0xf < uVar5" (number_literal "0xf") (< "<") (identifier "uVar5"))) (; ";")) (expression_statement "uVar5 = uVar5 - 0x10;" (assignment_expression "uVar5 = uVar5 - 0x10" (identifier "uVar5") (= "=") (binary_expression "uVar5 - 0x10" (identifier "uVar5") (- "-") (number_literal "0x10"))) (; ";")) (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" (identifier "uVar3") (= "=") (number_literal "8")) (; ";")) (expression_statement "iVar6 = iVar6 + -1 + (uint)bVar7;" (assignment_expression "iVar6 = iVar6 + -1 + (uint)bVar7" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1 + (uint)bVar7" (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1")) (+ "+") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (} "}")))))) (expression_statement "uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);" (assignment_expression "uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0)" (identifier "uVar3") (= "=") (call_expression "FUN_004428c0(uVar5,iVar6,uVar3,0)" (identifier "FUN_004428c0") (argument_list "(uVar5,iVar6,uVar3,0)" (( "(") (identifier "uVar5") (, ",") (identifier "iVar6") (, ",") (identifier "uVar3") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint plt_entry_count(Target_powerpc<64,_false> * this) */

type_1 __thiscall
anon_unknown.dwarf_6462d4::Target_powerpc<64,var_3>::plt_entry_count
          (Target_powerpc<64,var_3> *this)

{
  var_2<64,var_3> *var_1;
  type_1 var_6;
  type_2 uVar3;
  type_1 var_5;
  int var_4;
  bool bVar6;
  
  var_1 = this->plt_;
  if (var_1 != (var_2<64,var_3> *)0x0) {
    var_4 = *(int *)((int)&(var_1->super_Output_section_data_build).super_Output_section_data.
                           super_Output_data.data_size_ + 4);
    var_5 = (type_1)(var_1->super_Output_section_data_build).super_Output_section_data.
                  super_Output_data.data_size_;
    var_6 = 0;
    if (var_4 != 0 || var_5 != 0) {
      var_6 = *(type_1 *)&var_1->targ_->field_0x8 & 2;
      if ((var_1->name_[3] == 'I') || (var_1->name_[3] == 'L')) {
        uVar3 = 0x18;
        if (var_6 != 0) {
          uVar3 = 8;
        }
      }
      else if (var_6 == 0) {
        bVar6 = 0x17 < var_5;
        var_5 = var_5 - 0x18;
        uVar3 = 0x18;
        var_4 = var_4 + -1 + (type_1)bVar6;
      }
      else {
        bVar6 = 0xf < var_5;
        var_5 = var_5 - 0x10;
        uVar3 = 8;
        var_4 = var_4 + -1 + (type_1)bVar6;
      }
      var_6 = var_7(var_5,var_4,uVar3,0);
    }
    return var_6;
  }
  return 0;
}


(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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (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: (number_literal))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal))))))) (return_statement (identifier)))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 MASKED(int param_1)

{
  char cVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  bool bVar7;
  
  iVar2 = *(int *)(param_1 + 0x18);
  if (iVar2 != 0) {
    iVar6 = *(int *)(iVar2 + 0x10);
    uVar5 = *(uint *)(iVar2 + 0xc);
    uVar3 = 0;
    if (iVar6 != 0 || uVar5 != 0) {
      cVar1 = *(char *)(*(int *)(iVar2 + 0x34) + 3);
      uVar4 = *(uint *)(*(int *)(iVar2 + 0x30) + 8) & 2;
      if ((cVar1 == 'I') || (cVar1 == 'L')) {
        uVar3 = 0x18;
        if (uVar4 != 0) {
          uVar3 = 8;
        }
      }
      else if (uVar4 == 0) {
        bVar7 = 0x17 < uVar5;
        uVar5 = uVar5 - 0x18;
        uVar3 = 0x18;
        iVar6 = iVar6 + -1 + (uint)bVar7;
      }
      else {
        bVar7 = 0xf < uVar5;
        uVar5 = uVar5 - 0x10;
        uVar3 = 8;
        iVar6 = iVar6 + -1 + (uint)bVar7;
      }
      uVar3 = FUN_004428c0(uVar5,iVar6,uVar3,0);
    }
    return uVar3;
  }
  return 0;
}

