
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: asymbol * group_signature(asection * group, asection * group) */

asymbol * __regparm3 group_signature(asection *group,asection *group_1)

{
  uint uVar1;
  asymbol **ppaVar2;
  bfd *abfd;
  int iVar3;
  asymbol *paVar4;
  undefined8 uVar5;
  
  ppaVar2 = isympp;
  paVar4 = (asymbol *)isympp;
  if (isympp != (asymbol **)0x0) {
    if (((*(int *)(group_1->id + 4) == 5) &&
        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))
       && (uVar1 = (uint)group->size, uVar1 != 0)) {
      uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),
                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);
      iVar3 = (int)((ulonglong)uVar5 >> 0x20);
      if (iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)) {
        return ppaVar2[uVar1 - 1];
      }
    }
    paVar4 = (asymbol *)0x0;
  }
  return paVar4;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int __regparm3 FUN_00017590(int param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  undefined8 uVar4;
  
  iVar3 = DAT_00040bdc;
  if (DAT_00040bdc != 0) {
    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&
        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&
       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {
      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),
                           *(undefined1 *)
                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);
      iVar2 = (int)((ulonglong)uVar4 >> 0x20);
      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {
        return *(int *)(iVar3 + -4 + uVar1 * 4);
      }
    }
    iVar3 = 0;
  }
  return iVar3;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x28a67
SUB ESP,0xc
MOV ESI,dword ptr [EBX + 0xbdc]
TEST ESI,ESI
JZ 0x00017612
MOV ECX,dword ptr [EDX + 0x4]
CMP dword ptr [ECX + 0x4],0x5
JNZ 0x00017610
MOV EBP,dword ptr [EDX + 0xa0]
MOV EDI,dword ptr [EBP + 0x9a4]
CMP dword ptr [EAX + 0x28],EDI
JNZ 0x00017610
MOV EDI,dword ptr [EAX + 0x2c]
TEST EDI,EDI
JZ 0x00017610
MOV EAX,dword ptr [ECX + 0x1c0]
XOR EDX,EDX
MOV EAX,dword ptr [EAX + 0x19c]
MOVZX EAX,byte ptr [EAX + 0x5]
PUSH EDX
PUSH EAX
PUSH dword ptr [EBP + 0x78]
PUSH dword ptr [EBP + 0x74]
CALL 0x0002e730
ADD ESP,0x10
MOV ECX,EDX
MOV EDX,0x0
CMP EDI,EAX
MOV EAX,EDX
SBB EAX,ECX
JNC 0x00017610
MOV ESI,dword ptr [ESI + EDI*0x4 + -0x4]
ADD ESP,0xc
POP EBX
MOV EAX,ESI
POP ESI
POP EDI
POP EBP
RET
XOR ESI,ESI
ADD ESP,0xc
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 FUN_00017590(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 uVar4;\n  \n  iVar3 = DAT_00040bdc;\n  if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }\n  return iVar3;\n}\n\n" comment (function_definition "int __regparm3 FUN_00017590(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 uVar4;\n  \n  iVar3 = DAT_00040bdc;\n  if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }\n  return iVar3;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00017590(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 uVar4;\n  \n  iVar3 = DAT_00040bdc;\n  if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }\n  return iVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "iVar3 = DAT_00040bdc;" (assignment_expression "iVar3 = DAT_00040bdc" identifier = identifier) ;) (if_statement "if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }" if (parenthesized_expression "(DAT_00040bdc != 0)" ( (binary_expression "DAT_00040bdc != 0" identifier != number_literal) )) (compound_statement "{\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }" { (if_statement "if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }" if (parenthesized_expression "(((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0))" ( (binary_expression "((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)" (parenthesized_expression "((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)))" ( (binary_expression "(*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))" (parenthesized_expression "(*(int *)(*(int *)(param_2 + 4) + 4) == 5)" ( (binary_expression "*(int *)(*(int *)(param_2 + 4) + 4) == 5" (pointer_expression "*(int *)(*(int *)(param_2 + 4) + 4)" * (cast_expression "(int *)(*(int *)(param_2 + 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + 4)" ( (binary_expression "*(int *)(param_2 + 4) + 4" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))" ( (comma_expression "iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)" (assignment_expression "iVar2 = *(int *)(param_2 + 0xa0)" identifier = (pointer_expression "*(int *)(param_2 + 0xa0)" * (cast_expression "(int *)(param_2 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xa0)" ( (binary_expression "param_2 + 0xa0" identifier + number_literal) ))))) , (binary_expression "*(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar2 + 0x9a4)" * (cast_expression "(int *)(iVar2 + 0x9a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x9a4)" ( (binary_expression "iVar2 + 0x9a4" identifier + number_literal) )))))) ))) )) && (parenthesized_expression "(uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)" ( (comma_expression "uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) , (binary_expression "uVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }" { (expression_statement "uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);" (assignment_expression "uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" identifier = (call_expression "FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" identifier (argument_list "(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x74)" * (cast_expression "(undefined4 *)(iVar2 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x74)" ( (binary_expression "iVar2 + 0x74" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar2 + 0x78)" * (cast_expression "(undefined4 *)(iVar2 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x78)" ( (binary_expression "iVar2 + 0x78" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" * (cast_expression "(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" ( (binary_expression "*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5" (pointer_expression "*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" * (cast_expression "(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" ( (binary_expression "*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c" (pointer_expression "*(int *)(*(int *)(param_2 + 4) + 0x1c0)" * (cast_expression "(int *)(*(int *)(param_2 + 4) + 0x1c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + 0x1c0)" ( (binary_expression "*(int *)(param_2 + 4) + 0x1c0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) + number_literal) )))) , number_literal )))) ;) (expression_statement "iVar2 = (int)((ulonglong)uVar4 >> 0x20);" (assignment_expression "iVar2 = (int)((ulonglong)uVar4 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }" if (parenthesized_expression "(iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4))" ( (binary_expression "iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)" (binary_expression "iVar2 != 0" identifier != number_literal) || (binary_expression "(uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)" (binary_expression "(uint)-iVar2" (parenthesized_expression "(uint)" ( identifier )) - identifier) < (call_expression "(uint)(uVar1 < (uint)uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < (uint)uVar4)" ( (binary_expression "uVar1 < (uint)uVar4" identifier < (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }" { (return_statement "return *(int *)(iVar3 + -4 + uVar1 * 4);" return (pointer_expression "*(int *)(iVar3 + -4 + uVar1 * 4)" * (cast_expression "(int *)(iVar3 + -4 + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -4 + uVar1 * 4)" ( (binary_expression "iVar3 + -4 + uVar1 * 4" (binary_expression "iVar3 + -4" identifier + number_literal) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) })) })) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: asymbol * group_signature(asection * group, asection * group) */\n\nasymbol * __regparm3 group_signature(asection *group,asection *group_1)\n\n{\n  uint uVar1;\n  asymbol **ppaVar2;\n  bfd *abfd;\n  int iVar3;\n  asymbol *paVar4;\n  undefined8 uVar5;\n  \n  ppaVar2 = isympp;\n  paVar4 = (asymbol *)isympp;\n  if (isympp != (asymbol **)0x0) {\n    if (((*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))\n       && (uVar1 = (uint)group->size, uVar1 != 0)) {\n      uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);\n      iVar3 = (int)((ulonglong)uVar5 >> 0x20);\n      if (iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)) {\n        return ppaVar2[uVar1 - 1];\n      }\n    }\n    paVar4 = (asymbol *)0x0;\n  }\n  return paVar4;\n}\n\n" comment comment (ERROR "asymbol * __regparm3 group_signature(asection *group,asection *group_1)" (binary_expression "asymbol * __regparm3 group_signature(asection *group,asection *group_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "group_signature(asection *group,asection *group_1)" identifier (argument_list "(asection *group,asection *group_1)" ( (binary_expression "asection *group" identifier * identifier) , (binary_expression "asection *group_1" identifier * identifier) ))))) (compound_statement "{\n  uint uVar1;\n  asymbol **ppaVar2;\n  bfd *abfd;\n  int iVar3;\n  asymbol *paVar4;\n  undefined8 uVar5;\n  \n  ppaVar2 = isympp;\n  paVar4 = (asymbol *)isympp;\n  if (isympp != (asymbol **)0x0) {\n    if (((*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))\n       && (uVar1 = (uint)group->size, uVar1 != 0)) {\n      uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);\n      iVar3 = (int)((ulonglong)uVar5 >> 0x20);\n      if (iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)) {\n        return ppaVar2[uVar1 - 1];\n      }\n    }\n    paVar4 = (asymbol *)0x0;\n  }\n  return paVar4;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "asymbol **ppaVar2;" type_identifier (pointer_declarator "**ppaVar2" * (pointer_declarator "*ppaVar2" * identifier)) ;) (declaration "bfd *abfd;" type_identifier (pointer_declarator "*abfd" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "asymbol *paVar4;" type_identifier (pointer_declarator "*paVar4" * identifier) ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "ppaVar2 = isympp;" (assignment_expression "ppaVar2 = isympp" identifier = identifier) ;) (expression_statement "paVar4 = (asymbol *)isympp;" (assignment_expression "paVar4 = (asymbol *)isympp" identifier = (cast_expression "(asymbol *)isympp" ( (type_descriptor "asymbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (isympp != (asymbol **)0x0) {\n    if (((*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))\n       && (uVar1 = (uint)group->size, uVar1 != 0)) {\n      uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);\n      iVar3 = (int)((ulonglong)uVar5 >> 0x20);\n      if (iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)) {\n        return ppaVar2[uVar1 - 1];\n      }\n    }\n    paVar4 = (asymbol *)0x0;\n  }" if (parenthesized_expression "(isympp != (asymbol **)0x0)" ( (binary_expression "isympp != (asymbol **)0x0" identifier != (cast_expression "(asymbol **)0x0" ( (type_descriptor "asymbol **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    if (((*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))\n       && (uVar1 = (uint)group->size, uVar1 != 0)) {\n      uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);\n      iVar3 = (int)((ulonglong)uVar5 >> 0x20);\n      if (iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)) {\n        return ppaVar2[uVar1 - 1];\n      }\n    }\n    paVar4 = (asymbol *)0x0;\n  }" { (if_statement "if (((*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))\n       && (uVar1 = (uint)group->size, uVar1 != 0)) {\n      uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);\n      iVar3 = (int)((ulonglong)uVar5 >> 0x20);\n      if (iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)) {\n        return ppaVar2[uVar1 - 1];\n      }\n    }" if (parenthesized_expression "(((*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))\n       && (uVar1 = (uint)group->size, uVar1 != 0))" ( (binary_expression "((*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))\n       && (uVar1 = (uint)group->size, uVar1 != 0)" (parenthesized_expression "((*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)))" ( (binary_expression "(*(int *)(group_1->id + 4) == 5) &&\n        (iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4))" (parenthesized_expression "(*(int *)(group_1->id + 4) == 5)" ( (binary_expression "*(int *)(group_1->id + 4) == 5" (pointer_expression "*(int *)(group_1->id + 4)" * (cast_expression "(int *)(group_1->id + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(group_1->id + 4)" ( (binary_expression "group_1->id + 4" (field_expression "group_1->id" identifier -> field_identifier) + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4))" ( (comma_expression "iVar3 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)" (assignment_expression "iVar3 = group_1->target_index" identifier = (field_expression "group_1->target_index" identifier -> field_identifier)) , (binary_expression "*(int *)((int)&group->lma + 4) == *(int *)(iVar3 + 0x9a4)" (pointer_expression "*(int *)((int)&group->lma + 4)" * (cast_expression "(int *)((int)&group->lma + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&group->lma + 4)" ( (binary_expression "(int)&group->lma + 4" (cast_expression "(int)&group->lma" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&group->lma" & (field_expression "group->lma" identifier -> field_identifier))) + number_literal) )))) == (pointer_expression "*(int *)(iVar3 + 0x9a4)" * (cast_expression "(int *)(iVar3 + 0x9a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x9a4)" ( (binary_expression "iVar3 + 0x9a4" identifier + number_literal) )))))) ))) )) && (parenthesized_expression "(uVar1 = (uint)group->size, uVar1 != 0)" ( (comma_expression "uVar1 = (uint)group->size, uVar1 != 0" (assignment_expression "uVar1 = (uint)group->size" identifier = (cast_expression "(uint)group->size" ( (type_descriptor "uint" type_identifier) ) (field_expression "group->size" identifier -> field_identifier))) , (binary_expression "uVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);\n      iVar3 = (int)((ulonglong)uVar5 >> 0x20);\n      if (iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)) {\n        return ppaVar2[uVar1 - 1];\n      }\n    }" { (expression_statement "uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);" (assignment_expression "uVar5 = __udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0)" identifier = (call_expression "__udivdi3(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0)" identifier (argument_list "(*(undefined4 *)(iVar3 + 0x74),*(undefined4 *)(iVar3 + 0x78),\n                        *(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0)" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x74)" * (cast_expression "(undefined4 *)(iVar3 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x74)" ( (binary_expression "iVar3 + 0x74" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x78)" * (cast_expression "(undefined4 *)(iVar3 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x78)" ( (binary_expression "iVar3 + 0x78" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5)" * (cast_expression "(undefined1 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5)" ( (binary_expression "*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5" (pointer_expression "*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c)" * (cast_expression "(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(group_1->id + 0x1c0) + 0x19c)" ( (binary_expression "*(int *)(group_1->id + 0x1c0) + 0x19c" (pointer_expression "*(int *)(group_1->id + 0x1c0)" * (cast_expression "(int *)(group_1->id + 0x1c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(group_1->id + 0x1c0)" ( (binary_expression "group_1->id + 0x1c0" (field_expression "group_1->id" identifier -> field_identifier) + number_literal) )))) + number_literal) )))) + number_literal) )))) , number_literal )))) ;) (expression_statement "iVar3 = (int)((ulonglong)uVar5 >> 0x20);" (assignment_expression "iVar3 = (int)((ulonglong)uVar5 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)) {\n        return ppaVar2[uVar1 - 1];\n      }" if (parenthesized_expression "(iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5))" ( (binary_expression "iVar3 != 0 || (uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)" (binary_expression "iVar3 != 0" identifier != number_literal) || (binary_expression "(uint)-iVar3 < (uint)(uVar1 < (uint)uVar5)" (binary_expression "(uint)-iVar3" (parenthesized_expression "(uint)" ( identifier )) - identifier) < (call_expression "(uint)(uVar1 < (uint)uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < (uint)uVar5)" ( (binary_expression "uVar1 < (uint)uVar5" identifier < (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n        return ppaVar2[uVar1 - 1];\n      }" { (return_statement "return ppaVar2[uVar1 - 1];" return (subscript_expression "ppaVar2[uVar1 - 1]" identifier [ (binary_expression "uVar1 - 1" identifier - number_literal) ]) ;) })) })) (expression_statement "paVar4 = (asymbol *)0x0;" (assignment_expression "paVar4 = (asymbol *)0x0" identifier = (cast_expression "(asymbol *)0x0" ( (type_descriptor "asymbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (return_statement "return paVar4;" return identifier ;) }))
(translation_unit "int __regparm3 FUN_00017590(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 uVar4;\n  \n  iVar3 = DAT_00040bdc;\n  if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }\n  return iVar3;\n}\n\n" (function_definition "int __regparm3 FUN_00017590(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 uVar4;\n  \n  iVar3 = DAT_00040bdc;\n  if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }\n  return iVar3;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00017590(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 uVar4;\n  \n  iVar3 = DAT_00040bdc;\n  if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }\n  return iVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "iVar3 = DAT_00040bdc;" (assignment_expression "iVar3 = DAT_00040bdc" identifier = identifier) ;) (if_statement "if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }" if (parenthesized_expression "(DAT_00040bdc != 0)" ( (binary_expression "DAT_00040bdc != 0" identifier != number_literal) )) (compound_statement "{\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }" { (if_statement "if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }" if (parenthesized_expression "(((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0))" ( (binary_expression "((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)" (parenthesized_expression "((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)))" ( (binary_expression "(*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))" (parenthesized_expression "(*(int *)(*(int *)(param_2 + 4) + 4) == 5)" ( (binary_expression "*(int *)(*(int *)(param_2 + 4) + 4) == 5" (pointer_expression "*(int *)(*(int *)(param_2 + 4) + 4)" * (cast_expression "(int *)(*(int *)(param_2 + 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + 4)" ( (binary_expression "*(int *)(param_2 + 4) + 4" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))" ( (comma_expression "iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)" (assignment_expression "iVar2 = *(int *)(param_2 + 0xa0)" identifier = (pointer_expression "*(int *)(param_2 + 0xa0)" * (cast_expression "(int *)(param_2 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xa0)" ( (binary_expression "param_2 + 0xa0" identifier + number_literal) ))))) , (binary_expression "*(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar2 + 0x9a4)" * (cast_expression "(int *)(iVar2 + 0x9a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x9a4)" ( (binary_expression "iVar2 + 0x9a4" identifier + number_literal) )))))) ))) )) && (parenthesized_expression "(uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)" ( (comma_expression "uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) , (binary_expression "uVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }" { (expression_statement "uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);" (assignment_expression "uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" identifier = (call_expression "FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" identifier (argument_list "(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x74)" * (cast_expression "(undefined4 *)(iVar2 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x74)" ( (binary_expression "iVar2 + 0x74" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar2 + 0x78)" * (cast_expression "(undefined4 *)(iVar2 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x78)" ( (binary_expression "iVar2 + 0x78" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" * (cast_expression "(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" ( (binary_expression "*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5" (pointer_expression "*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" * (cast_expression "(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" ( (binary_expression "*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c" (pointer_expression "*(int *)(*(int *)(param_2 + 4) + 0x1c0)" * (cast_expression "(int *)(*(int *)(param_2 + 4) + 0x1c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + 0x1c0)" ( (binary_expression "*(int *)(param_2 + 4) + 0x1c0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) + number_literal) )))) , number_literal )))) ;) (expression_statement "iVar2 = (int)((ulonglong)uVar4 >> 0x20);" (assignment_expression "iVar2 = (int)((ulonglong)uVar4 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }" if (parenthesized_expression "(iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4))" ( (binary_expression "iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)" (binary_expression "iVar2 != 0" identifier != number_literal) || (binary_expression "(uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)" (binary_expression "(uint)-iVar2" (parenthesized_expression "(uint)" ( identifier )) - identifier) < (call_expression "(uint)(uVar1 < (uint)uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < (uint)uVar4)" ( (binary_expression "uVar1 < (uint)uVar4" identifier < (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }" { (return_statement "return *(int *)(iVar3 + -4 + uVar1 * 4);" return (pointer_expression "*(int *)(iVar3 + -4 + uVar1 * 4)" * (cast_expression "(int *)(iVar3 + -4 + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -4 + uVar1 * 4)" ( (binary_expression "iVar3 + -4 + uVar1 * 4" (binary_expression "iVar3 + -4" identifier + number_literal) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) })) })) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (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) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (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 (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) )))) + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression (binary_expression (parenthesized_expression ( IDENT )) - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int __regparm3 FUN_00017590(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 uVar4;\n  \n  iVar3 = DAT_00040bdc;\n  if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }\n  return iVar3;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00017590(int param_1,int param_2)" (identifier "FUN_00017590") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 uVar4;\n  \n  iVar3 = DAT_00040bdc;\n  if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }\n  return iVar3;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (expression_statement "iVar3 = DAT_00040bdc;" (assignment_expression "iVar3 = DAT_00040bdc" (identifier "iVar3") (= "=") (identifier "DAT_00040bdc")) (; ";")) (if_statement "if (DAT_00040bdc != 0) {\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }" (if "if") (parenthesized_expression "(DAT_00040bdc != 0)" (( "(") (binary_expression "DAT_00040bdc != 0" (identifier "DAT_00040bdc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }\n    iVar3 = 0;\n  }" ({ "{") (if_statement "if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }" (if "if") (parenthesized_expression "(((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0))" (( "(") (binary_expression "((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&\n       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)" (parenthesized_expression "((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)))" (( "(") (binary_expression "(*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&\n        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))" (parenthesized_expression "(*(int *)(*(int *)(param_2 + 4) + 4) == 5)" (( "(") (binary_expression "*(int *)(*(int *)(param_2 + 4) + 4) == 5" (pointer_expression "*(int *)(*(int *)(param_2 + 4) + 4)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 4) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 4) + 4)" (( "(") (binary_expression "*(int *)(param_2 + 4) + 4" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "5")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))" (( "(") (comma_expression "iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)" (assignment_expression "iVar2 = *(int *)(param_2 + 0xa0)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0xa0)" (* "*") (cast_expression "(int *)(param_2 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xa0)" (( "(") (binary_expression "param_2 + 0xa0" (identifier "param_2") (+ "+") (number_literal "0xa0")) () ")"))))) (, ",") (binary_expression "*(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4)" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (pointer_expression "*(int *)(iVar2 + 0x9a4)" (* "*") (cast_expression "(int *)(iVar2 + 0x9a4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x9a4)" (( "(") (binary_expression "iVar2 + 0x9a4" (identifier "iVar2") (+ "+") (number_literal "0x9a4")) () ")")))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)" (( "(") (comma_expression "uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0x2c)" (* "*") (cast_expression "(uint *)(param_1 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (, ",") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);\n      iVar2 = (int)((ulonglong)uVar4 >> 0x20);\n      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }\n    }" ({ "{") (expression_statement "uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);" (assignment_expression "uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" (identifier "uVar4") (= "=") (call_expression "FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" (identifier "FUN_0002e730") (argument_list "(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),\n                           *(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0)" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x74)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x74)" (( "(") (binary_expression "iVar2 + 0x74" (identifier "iVar2") (+ "+") (number_literal "0x74")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x78)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x78)" (( "(") (binary_expression "iVar2 + 0x78" (identifier "iVar2") (+ "+") (number_literal "0x78")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" (* "*") (cast_expression "(undefined1 *)\n                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5)" (( "(") (binary_expression "*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5" (pointer_expression "*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" (* "*") (cast_expression "(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c)" (( "(") (binary_expression "*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c" (pointer_expression "*(int *)(*(int *)(param_2 + 4) + 0x1c0)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 4) + 0x1c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 4) + 0x1c0)" (( "(") (binary_expression "*(int *)(param_2 + 4) + 0x1c0" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x1c0")) () ")")))) (+ "+") (number_literal "0x19c")) () ")")))) (+ "+") (number_literal "5")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar2 = (int)((ulonglong)uVar4 >> 0x20);" (assignment_expression "iVar2 = (int)((ulonglong)uVar4 >> 0x20)" (identifier "iVar2") (= "=") (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar4")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }" (if "if") (parenthesized_expression "(iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4))" (( "(") (binary_expression "iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)" (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "(uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)" (binary_expression "(uint)-iVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "iVar2")) (< "<") (call_expression "(uint)(uVar1 < (uint)uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < (uint)uVar4)" (( "(") (binary_expression "uVar1 < (uint)uVar4" (identifier "uVar1") (< "<") (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4"))) () ")"))))) () ")")) (compound_statement "{\n        return *(int *)(iVar3 + -4 + uVar1 * 4);\n      }" ({ "{") (return_statement "return *(int *)(iVar3 + -4 + uVar1 * 4);" (return "return") (pointer_expression "*(int *)(iVar3 + -4 + uVar1 * 4)" (* "*") (cast_expression "(int *)(iVar3 + -4 + uVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -4 + uVar1 * 4)" (( "(") (binary_expression "iVar3 + -4 + uVar1 * 4" (binary_expression "iVar3 + -4" (identifier "iVar3") (+ "+") (number_literal "-4")) (+ "+") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: asymbol * group_signature(asection * group, asection * group) */

type_2 * __regparm3 group_signature(asection *group,asection *group_1)

{
  type_1 var_3;
  type_2 **ppaVar2;
  type_3 *abfd;
  int var_2;
  type_2 *paVar4;
  type_4 uVar5;
  
  ppaVar2 = var_1;
  paVar4 = (type_2 *)var_1;
  if (var_1 != (type_2 **)0x0) {
    if (((*(int *)(group_1->id + 4) == 5) &&
        (var_2 = group_1->target_index, *(int *)((int)&group->lma + 4) == *(int *)(var_2 + 0x9a4)))
       && (var_3 = (type_1)group->size, var_3 != 0)) {
      uVar5 = var_4(*(type_5 *)(var_2 + 0x74),*(type_5 *)(var_2 + 0x78),
                        *(type_6 *)(*(int *)(*(int *)(group_1->id + 0x1c0) + 0x19c) + 5),0);
      var_2 = (int)((type_7)uVar5 >> 0x20);
      if (var_2 != 0 || (type_1)-var_2 < (type_1)(var_3 < (type_1)uVar5)) {
        return ppaVar2[var_3 - 1];
      }
    }
    paVar4 = (type_2 *)0x0;
  }
  return paVar4;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (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))) right: (parenthesized_expression (comma_expression left: (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)))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (parenthesized_expression (comma_expression left: (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)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (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))))) (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: (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))))) right: (number_literal))))) right: (number_literal))))) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))) consequence: (compound_statement (return_statement (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: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int __regparm3 MASKED(int param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  undefined8 uVar4;
  
  iVar3 = DAT_00040bdc;
  if (DAT_00040bdc != 0) {
    if (((*(int *)(*(int *)(param_2 + 4) + 4) == 5) &&
        (iVar2 = *(int *)(param_2 + 0xa0), *(int *)(param_1 + 0x28) == *(int *)(iVar2 + 0x9a4))) &&
       (uVar1 = *(uint *)(param_1 + 0x2c), uVar1 != 0)) {
      uVar4 = FUN_0002e730(*(undefined4 *)(iVar2 + 0x74),*(undefined4 *)(iVar2 + 0x78),
                           *(undefined1 *)
                            (*(int *)(*(int *)(*(int *)(param_2 + 4) + 0x1c0) + 0x19c) + 5),0);
      iVar2 = (int)((ulonglong)uVar4 >> 0x20);
      if (iVar2 != 0 || (uint)-iVar2 < (uint)(uVar1 < (uint)uVar4)) {
        return *(int *)(iVar3 + -4 + uVar1 * 4);
      }
    }
    iVar3 = 0;
  }
  return iVar3;
}

