
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void aarch64_find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)

{
  longlong lVar1;
  uint uVar2;
  int iVar3;
  Sym *child;
  bfd_vma bVar5;
  uint uVar4;
  
  if ((debug_level & 0x100U) != 0) {
    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc);
  }
  if (p_lowpc._4_4_ < p_highpc._4_4_ ||
      p_lowpc._4_4_ - p_highpc._4_4_ < (uint)((uint)p_lowpc < (uint)p_highpc)) {
    do {
      bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)
                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +
                                       (int)core_text_space));
      if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {
        if ((debug_level & 0x100U) != 0) {
          printf("[find_call] 0x%lx: bl",(int)p_lowpc);
        }
        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;
        uVar2 = uVar4 + 0xfe000000;
        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);
        iVar3 = hist_check_address((uint)bVar5);
        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {
LAB_0001f70b:
          if ((debug_level & 0x100U) != 0) {
            puts("\tbut it\'s a botch");
          }
        }
        else {
          if ((debug_level & 0x100U) == 0) {
            if (bVar5 != child->addr) goto LAB_0001f668;
          }
          else {
            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,
                   (int)child->addr);
            if (bVar5 != child->addr) goto LAB_0001f70b;
          }
          arc_add(parent,child,0);
        }
      }
LAB_0001f668:
      lVar1 = p_lowpc + 4;
      uVar2 = (uint)((ulonglong)lVar1 >> 0x20);
      p_lowpc = p_lowpc + 4;
    } while (uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)
            );
  }
  return;
}



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

int FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int *piVar5;
  uint uVar6;
  int iVar7;
  bool bVar8;
  
  if ((DAT_0002e158 & 0x100) != 0) {
    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);
  }
  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);
  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {
    do {
      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))
                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);
      if ((uVar2 & 0x7c000000) == 0x14000000) {
        if ((DAT_0002e158 & 0x100) != 0) {
          printf("[find_call] 0x%lx: bl",param_2);
        }
        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;
        uVar2 = uVar6 + 0xfe000000;
        uVar3 = uVar2 * 4;
        iVar1 = uVar3 + param_2;
        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +
                (uint)CARRY4(uVar3,param_2);
        iVar4 = FUN_0001c070(iVar1);
        if ((iVar4 == 0) ||
           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {
LAB_0001f70b:
          if ((DAT_0002e158 & 0x100) != 0) {
            puts("\tbut it\'s a botch");
          }
        }
        else {
          if ((DAT_0002e158 & 0x100) == 0) {
            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;
          }
          else {
            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);
            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;
          }
          FUN_00014870(param_1,piVar5,0);
        }
      }
LAB_0001f668:
      bVar8 = 0xfffffffb < param_2;
      param_2 = param_2 + 4;
      param_3 = param_3 + bVar8;
      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);
    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));
  }
  return iVar1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0xda17
SUB ESP,0x4c
MOV EAX,dword ptr [ESP + 0x6c]
MOV ESI,dword ptr [ESP + 0x64]
MOV EDI,dword ptr [ESP + 0x68]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[EBX + 0x1158]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],EAX
TEST AH,0x1
JNZ 0x0001f800
CMP ESI,dword ptr [ESP + 0xc]
MOV EAX,EDI
SBB EAX,dword ptr [ESP + 0x10]
JNC 0x0001f738
LEA EAX,[EBX + 0x14ec]
LEA EBP,[EBX + 0x14fc]
MOV dword ptr [ESP + 0x20],EAX
LEA EAX,[EBX + 0x14f0]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[EBX + 0xffff744b]
MOV dword ptr [ESP + 0x34],EAX
LEA EAX,[EBX + 0x1520]
MOV dword ptr [ESP + 0x30],EAX
JMP 0x0001f67e
ADD ESI,0x4
ADC EDI,0x0
CMP ESI,dword ptr [ESP + 0xc]
MOV EAX,EDI
SBB EAX,dword ptr [ESP + 0x10]
JNC 0x0001f738
SUB ESP,0xc
MOV EAX,ESI
MOV ECX,dword ptr [ESP + 0x2c]
MOV EDX,dword ptr [ECX]
MOV ECX,dword ptr [EBP]
SUB EAX,dword ptr [ECX + 0x1c]
MOV ECX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [EDX + 0x4]
ADD EAX,dword ptr [ECX]
PUSH EAX
CALL dword ptr [EDX + 0x28]
MOV EDX,EAX
AND EAX,0x7c000000
ADD ESP,0x10
CMP EAX,0x14000000
JNZ 0x0001f668
MOV EAX,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x28],EAX
TEST AH,0x1
JNZ 0x0001f7a0
AND EDX,0x3ffffff
MOV dword ptr [ESP + 0x1c],0x0
XOR EDX,0x2000000
MOV dword ptr [ESP + 0x18],EDX
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
ADD EAX,0xfe000000
ADC EDX,-0x1
SHLD EDX,EAX,0x2
SHL EAX,0x2
ADD EAX,ESI
ADC EDX,EDI
MOV dword ptr [ESP + 0x28],EAX
SUB ESP,0xc
MOV dword ptr [ESP + 0x38],EDX
PUSH EAX
CALL 0x0001c070
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001f740
MOV EAX,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x28],EAX
TEST AH,0x1
JZ 0x0001f668
SUB ESP,0xc
PUSH dword ptr [ESP + 0x40]
CALL 0x00012270
ADD ESP,0x10
JMP 0x0001f668
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x3c]
CALL 0x0001d480
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JZ 0x0001f70b
MOV ECX,dword ptr [EDX + 0x4]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x3c],ECX
MOV ECX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ECX]
MOV dword ptr [ESP + 0x38],ECX
AND CH,0x1
JNZ 0x0001f7c0
XOR EAX,dword ptr [ESP + 0x28]
MOV ECX,dword ptr [ESP + 0x3c]
XOR ECX,dword ptr [ESP + 0x2c]
OR ECX,EAX
JNZ 0x0001f668
SUB ESP,0x4
PUSH 0x0
PUSH EDX
PUSH dword ptr [ESP + 0x6c]
CALL 0x00014870
ADD ESP,0x10
JMP 0x0001f668
MOV dword ptr [ESP + 0x28],EDX
LEA EAX,[EBX + 0xffff75c8]
SUB ESP,0x8
PUSH ESI
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x28]
JMP 0x0001f6c0
PUSH EAX
LEA EAX,[EBX + 0xffff7558]
PUSH dword ptr [EDX + 0x10]
MOV dword ptr [ESP + 0x40],EDX
PUSH dword ptr [ESP + 0x30]
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x38]
MOV EAX,dword ptr [ESP + 0x28]
MOV ECX,dword ptr [ESP + 0x2c]
XOR EAX,dword ptr [EDX]
XOR ECX,dword ptr [EDX + 0x4]
OR ECX,EAX
JNZ 0x0001f70b
JMP 0x0001f789
PUSH dword ptr [ESP + 0xc]
PUSH ESI
MOV EAX,dword ptr [ESP + 0x68]
PUSH dword ptr [EAX + 0x10]
LEA EAX,[EBX + 0xffff7210]
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
JMP 0x0001f623
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }\n  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }\n  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" identifier (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }\n  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }" if (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" ( (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" ( (binary_expression "DAT_0002e158 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }" { (expression_statement "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);" (call_expression "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4)" identifier (argument_list "("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4)" ( (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , identifier ))) ;) })) (expression_statement "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);" (assignment_expression "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4)" identifier = (binary_expression "(param_3 - param_5) - (uint)(param_2 < param_4)" (parenthesized_expression "(param_3 - param_5)" ( (binary_expression "param_3 - param_5" identifier - identifier) )) - (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_4)" ( (binary_expression "param_2 < param_4" identifier < identifier) ))))) ;) (if_statement "if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }" if (parenthesized_expression "(param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4))" ( (binary_expression "param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 < param_5" identifier < identifier) || (binary_expression "param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 - param_5" identifier - identifier) < (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_4)" ( (binary_expression "param_2 < param_4" identifier < identifier) ))))) )) (compound_statement "{\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }" { (do_statement "do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));" do (compound_statement "{\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    }" { (expression_statement "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);" (assignment_expression "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" * (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" * (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x28)" ( (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" * (cast_expression "(int *)(DAT_0002e4ec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4ec + 4)" ( (binary_expression "DAT_0002e4ec + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" ( (binary_expression "(param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0" (parenthesized_expression "(param_2 - *(int *)(DAT_0002e4fc + 0x1c))" ( (binary_expression "param_2 - *(int *)(DAT_0002e4fc + 0x1c)" identifier - (pointer_expression "*(int *)(DAT_0002e4fc + 0x1c)" * (cast_expression "(int *)(DAT_0002e4fc + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4fc + 0x1c)" ( (binary_expression "DAT_0002e4fc + 0x1c" identifier + number_literal) ))))) )) + identifier) )))) ;) (if_statement "if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }" if (parenthesized_expression "((uVar2 & 0x7c000000) == 0x14000000)" ( (binary_expression "(uVar2 & 0x7c000000) == 0x14000000" (parenthesized_expression "(uVar2 & 0x7c000000)" ( (binary_expression "uVar2 & 0x7c000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }" { (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }" if (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" ( (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" ( (binary_expression "DAT_0002e158 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          printf("[find_call] 0x%lx: bl",param_2);\n        }" { (expression_statement "printf("[find_call] 0x%lx: bl",param_2);" (call_expression "printf("[find_call] 0x%lx: bl",param_2)" identifier (argument_list "("[find_call] 0x%lx: bl",param_2)" ( (string_literal ""[find_call] 0x%lx: bl"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;" (assignment_expression "uVar6 = uVar2 & 0x3ffffff ^ 0x2000000" identifier = (binary_expression "uVar2 & 0x3ffffff ^ 0x2000000" (binary_expression "uVar2 & 0x3ffffff" identifier & number_literal) ^ number_literal)) ;) (expression_statement "uVar2 = uVar6 + 0xfe000000;" (assignment_expression "uVar2 = uVar6 + 0xfe000000" identifier = (binary_expression "uVar6 + 0xfe000000" identifier + number_literal)) ;) (expression_statement "uVar3 = uVar2 * 4;" (assignment_expression "uVar3 = uVar2 * 4" identifier = (binary_expression "uVar2 * 4" identifier * number_literal)) ;) (expression_statement "iVar1 = uVar3 + param_2;" (assignment_expression "iVar1 = uVar3 + param_2" identifier = (binary_expression "uVar3 + param_2" identifier + identifier)) ;) (expression_statement "iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);" (assignment_expression "iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2)" identifier = (binary_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2)" (binary_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3" (parenthesized_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e)" ( (binary_expression "((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e" (binary_expression "((0x1ffffff < uVar6) - 1) * 4" (parenthesized_expression "((0x1ffffff < uVar6) - 1)" ( (binary_expression "(0x1ffffff < uVar6) - 1" (parenthesized_expression "(0x1ffffff < uVar6)" ( (binary_expression "0x1ffffff < uVar6" number_literal < identifier) )) - number_literal) )) * number_literal) | (binary_expression "uVar2 >> 0x1e" identifier >> number_literal)) )) + identifier) + (cast_expression "(uint)CARRY4(uVar3,param_2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,param_2)" identifier (argument_list "(uVar3,param_2)" ( identifier , identifier )))))) ;) (expression_statement "iVar4 = FUN_0001c070(iVar1);" (assignment_expression "iVar4 = FUN_0001c070(iVar1)" identifier = (call_expression "FUN_0001c070(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" if (parenthesized_expression "((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0))" ( (binary_expression "(iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)" ( (comma_expression "piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0" (assignment_expression "piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" identifier = (cast_expression "(int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" identifier (argument_list "(&DAT_0002e520,iVar1,iVar7)" ( (pointer_expression "&DAT_0002e520" & identifier) , identifier , identifier ))))) , (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }" { (labeled_statement "LAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }" statement_identifier : (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }" if (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" ( (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" ( (binary_expression "DAT_0002e158 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            puts("\tbut it\'s a botch");\n          }" { (expression_statement "puts("\tbut it\'s a botch");" (call_expression "puts("\tbut it\'s a botch")" identifier (argument_list "("\tbut it\'s a botch")" ( (string_literal ""\tbut it\'s a botch"" " escape_sequence string_content escape_sequence string_content ") ))) ;) }))) }) (else_clause "else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" else (compound_statement "{\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" { (if_statement "if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" if (parenthesized_expression "((DAT_0002e158 & 0x100) == 0)" ( (binary_expression "(DAT_0002e158 & 0x100) == 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" ( (binary_expression "DAT_0002e158 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }" { (if_statement "if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;" if (parenthesized_expression "(piVar5[1] != iVar7 || *piVar5 != iVar1)" ( (binary_expression "piVar5[1] != iVar7 || *piVar5 != iVar1" (binary_expression "piVar5[1] != iVar7" (subscript_expression "piVar5[1]" identifier [ number_literal ]) != identifier) || (binary_expression "*piVar5 != iVar1" (pointer_expression "*piVar5" * identifier) != identifier)) )) (goto_statement "goto LAB_0001f668;" goto statement_identifier ;)) }) (else_clause "else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" else (compound_statement "{\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" { (expression_statement "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);" (call_expression "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5)" identifier (argument_list "("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5)" ( (string_literal ""\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n"" " escape_sequence string_content escape_sequence ") , identifier , (subscript_expression "piVar5[4]" identifier [ number_literal ]) , (pointer_expression "*piVar5" * identifier) ))) ;) (if_statement "if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;" if (parenthesized_expression "(iVar7 != piVar5[1] || iVar1 != *piVar5)" ( (binary_expression "iVar7 != piVar5[1] || iVar1 != *piVar5" (binary_expression "iVar7 != piVar5[1]" identifier != (subscript_expression "piVar5[1]" identifier [ number_literal ])) || (binary_expression "iVar1 != *piVar5" identifier != (pointer_expression "*piVar5" * identifier))) )) (goto_statement "goto LAB_0001f70b;" goto statement_identifier ;)) }))) (expression_statement "FUN_00014870(param_1,piVar5,0);" (call_expression "FUN_00014870(param_1,piVar5,0)" identifier (argument_list "(param_1,piVar5,0)" ( identifier , identifier , number_literal ))) ;) }))) })) (labeled_statement "LAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;" statement_identifier : (expression_statement "bVar8 = 0xfffffffb < param_2;" (assignment_expression "bVar8 = 0xfffffffb < param_2" identifier = (binary_expression "0xfffffffb < param_2" number_literal < identifier)) ;)) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "param_3 = param_3 + bVar8;" (assignment_expression "param_3 = param_3 + bVar8" identifier = (binary_expression "param_3 + bVar8" identifier + identifier)) ;) (expression_statement "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);" (assignment_expression "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4)" identifier = (binary_expression "(param_3 - param_5) - (uint)(param_2 < param_4)" (parenthesized_expression "(param_3 - param_5)" ( (binary_expression "param_3 - param_5" identifier - identifier) )) - (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_4)" ( (binary_expression "param_2 < param_4" identifier < identifier) ))))) ;) }) while (parenthesized_expression "(param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4))" ( (binary_expression "param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 < param_5" identifier < identifier) || (binary_expression "param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 - param_5" identifier - identifier) < (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_4)" ( (binary_expression "param_2 < param_4" identifier < identifier) ))))) )) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid aarch64_find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  int iVar3;\n  Sym *child;\n  bfd_vma bVar5;\n  uint uVar4;\n  \n  if ((debug_level & 0x100U) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc);\n  }\n  if (p_lowpc._4_4_ < p_highpc._4_4_ ||\n      p_lowpc._4_4_ - p_highpc._4_4_ < (uint)((uint)p_lowpc < (uint)p_highpc)) {\n    do {\n      bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space));\n      if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }\nLAB_0001f668:\n      lVar1 = p_lowpc + 4;\n      uVar2 = (uint)((ulonglong)lVar1 >> 0x20);\n      p_lowpc = p_lowpc + 4;\n    } while (uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)\n            );\n  }\n  return;\n}\n\n" comment comment (function_definition "void aarch64_find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  int iVar3;\n  Sym *child;\n  bfd_vma bVar5;\n  uint uVar4;\n  \n  if ((debug_level & 0x100U) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc);\n  }\n  if (p_lowpc._4_4_ < p_highpc._4_4_ ||\n      p_lowpc._4_4_ - p_highpc._4_4_ < (uint)((uint)p_lowpc < (uint)p_highpc)) {\n    do {\n      bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space));\n      if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }\nLAB_0001f668:\n      lVar1 = p_lowpc + 4;\n      uVar2 = (uint)((ulonglong)lVar1 >> 0x20);\n      p_lowpc = p_lowpc + 4;\n    } while (uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)\n            );\n  }\n  return;\n}" primitive_type (function_declarator "aarch64_find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)" identifier (parameter_list "(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)" ( (parameter_declaration "Sym *parent" type_identifier (pointer_declarator "*parent" * identifier)) , (parameter_declaration "bfd_vma p_lowpc" type_identifier identifier) , (parameter_declaration "bfd_vma p_highpc" type_identifier identifier) ))) (compound_statement "{\n  longlong lVar1;\n  uint uVar2;\n  int iVar3;\n  Sym *child;\n  bfd_vma bVar5;\n  uint uVar4;\n  \n  if ((debug_level & 0x100U) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc);\n  }\n  if (p_lowpc._4_4_ < p_highpc._4_4_ ||\n      p_lowpc._4_4_ - p_highpc._4_4_ < (uint)((uint)p_lowpc < (uint)p_highpc)) {\n    do {\n      bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space));\n      if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }\nLAB_0001f668:\n      lVar1 = p_lowpc + 4;\n      uVar2 = (uint)((ulonglong)lVar1 >> 0x20);\n      p_lowpc = p_lowpc + 4;\n    } while (uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)\n            );\n  }\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Sym *child;" type_identifier (pointer_declarator "*child" * identifier) ;) (declaration "bfd_vma bVar5;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (if_statement "if ((debug_level & 0x100U) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc);\n  }" if (parenthesized_expression "((debug_level & 0x100U) != 0)" ( (binary_expression "(debug_level & 0x100U) != 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc);\n  }" { (expression_statement "printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc);" (call_expression "printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc)" identifier (argument_list "("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(uint)p_lowpc,(uint)p_highpc)" ( (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , (field_expression "parent->name" identifier -> field_identifier) , (cast_expression "(uint)p_lowpc" ( (type_descriptor "uint" type_identifier) ) identifier) , (cast_expression "(uint)p_highpc" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) })) (if_statement "if (p_lowpc._4_4_ < p_highpc._4_4_ ||\n      p_lowpc._4_4_ - p_highpc._4_4_ < (uint)((uint)p_lowpc < (uint)p_highpc)) {\n    do {\n      bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space));\n      if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }\nLAB_0001f668:\n      lVar1 = p_lowpc + 4;\n      uVar2 = (uint)((ulonglong)lVar1 >> 0x20);\n      p_lowpc = p_lowpc + 4;\n    } while (uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)\n            );\n  }" if (parenthesized_expression "(p_lowpc._4_4_ < p_highpc._4_4_ ||\n      p_lowpc._4_4_ - p_highpc._4_4_ < (uint)((uint)p_lowpc < (uint)p_highpc))" ( (binary_expression "p_lowpc._4_4_ < p_highpc._4_4_ ||\n      p_lowpc._4_4_ - p_highpc._4_4_ < (uint)((uint)p_lowpc < (uint)p_highpc)" (binary_expression "p_lowpc._4_4_ < p_highpc._4_4_" (field_expression "p_lowpc._4_4_" identifier . field_identifier) < (field_expression "p_highpc._4_4_" identifier . field_identifier)) || (binary_expression "p_lowpc._4_4_ - p_highpc._4_4_ < (uint)((uint)p_lowpc < (uint)p_highpc)" (binary_expression "p_lowpc._4_4_ - p_highpc._4_4_" (field_expression "p_lowpc._4_4_" identifier . field_identifier) - (field_expression "p_highpc._4_4_" identifier . field_identifier)) < (call_expression "(uint)((uint)p_lowpc < (uint)p_highpc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)p_lowpc < (uint)p_highpc)" ( (binary_expression "(uint)p_lowpc < (uint)p_highpc" (cast_expression "(uint)p_lowpc" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(uint)p_highpc" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n    do {\n      bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space));\n      if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }\nLAB_0001f668:\n      lVar1 = p_lowpc + 4;\n      uVar2 = (uint)((ulonglong)lVar1 >> 0x20);\n      p_lowpc = p_lowpc + 4;\n    } while (uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)\n            );\n  }" { (do_statement "do {\n      bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space));\n      if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }\nLAB_0001f668:\n      lVar1 = p_lowpc + 4;\n      uVar2 = (uint)((ulonglong)lVar1 >> 0x20);\n      p_lowpc = p_lowpc + 4;\n    } while (uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)\n            );" do (compound_statement "{\n      bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space));\n      if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }\nLAB_0001f668:\n      lVar1 = p_lowpc + 4;\n      uVar2 = (uint)((ulonglong)lVar1 >> 0x20);\n      p_lowpc = p_lowpc + 4;\n    }" { (expression_statement "bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space));" (assignment_expression "bVar5._0_4_ = (*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space))" (field_expression "bVar5._0_4_" identifier . field_identifier) = (call_expression "(*core_bfd->xvec->bfd_getx32)\n                              ((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space))" (parenthesized_expression "(*core_bfd->xvec->bfd_getx32)" ( (pointer_expression "*core_bfd->xvec->bfd_getx32" * (field_expression "core_bfd->xvec->bfd_getx32" (field_expression "core_bfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "((void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space))" ( (cast_expression "(void *)(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space)" ( (binary_expression "((int)p_lowpc - (int)core_text_sect->vma) +\n                                       (int)core_text_space" (parenthesized_expression "((int)p_lowpc - (int)core_text_sect->vma)" ( (binary_expression "(int)p_lowpc - (int)core_text_sect->vma" (cast_expression "(int)p_lowpc" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)core_text_sect->vma" ( (type_descriptor "int" primitive_type) ) (field_expression "core_text_sect->vma" identifier -> field_identifier))) )) + (cast_expression "(int)core_text_space" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) ;) (if_statement "if (((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000) {\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }" if (parenthesized_expression "(((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000)" ( (binary_expression "((uint)(bfd_vma)bVar5 & 0x7c000000) == 0x14000000" (parenthesized_expression "((uint)(bfd_vma)bVar5 & 0x7c000000)" ( (binary_expression "(uint)(bfd_vma)bVar5 & 0x7c000000" (cast_expression "(uint)(bfd_vma)bVar5" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(bfd_vma)bVar5" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n        if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }\n        uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar4 + 0xfe000000;\n        bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);\n        iVar3 = hist_check_address((uint)bVar5);\n        if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }\n      }" { (if_statement "if ((debug_level & 0x100U) != 0) {\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }" if (parenthesized_expression "((debug_level & 0x100U) != 0)" ( (binary_expression "(debug_level & 0x100U) != 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          printf("[find_call] 0x%lx: bl",(int)p_lowpc);\n        }" { (expression_statement "printf("[find_call] 0x%lx: bl",(int)p_lowpc);" (call_expression "printf("[find_call] 0x%lx: bl",(int)p_lowpc)" identifier (argument_list "("[find_call] 0x%lx: bl",(int)p_lowpc)" ( (string_literal ""[find_call] 0x%lx: bl"" " string_content ") , (cast_expression "(int)p_lowpc" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (expression_statement "uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000;" (assignment_expression "uVar4 = (uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000" identifier = (binary_expression "(uint)(bfd_vma)bVar5 & 0x3ffffff ^ 0x2000000" (binary_expression "(uint)(bfd_vma)bVar5 & 0x3ffffff" (cast_expression "(uint)(bfd_vma)bVar5" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(bfd_vma)bVar5" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) & number_literal) ^ number_literal)) ;) (expression_statement "uVar2 = uVar4 + 0xfe000000;" (assignment_expression "uVar2 = uVar4 + 0xfe000000" identifier = (binary_expression "uVar4 + 0xfe000000" identifier + number_literal)) ;) (expression_statement "bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4);" (assignment_expression "bVar5 = p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4)" identifier = (binary_expression "p_lowpc + CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4)" identifier + (call_expression "CONCAT44(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4)" identifier (argument_list "(((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e,uVar2 * 4)" ( (binary_expression "((0x1ffffff < uVar4) - 1) * 4 | uVar2 >> 0x1e" (binary_expression "((0x1ffffff < uVar4) - 1) * 4" (parenthesized_expression "((0x1ffffff < uVar4) - 1)" ( (binary_expression "(0x1ffffff < uVar4) - 1" (parenthesized_expression "(0x1ffffff < uVar4)" ( (binary_expression "0x1ffffff < uVar4" number_literal < identifier) )) - number_literal) )) * number_literal) | (binary_expression "uVar2 >> 0x1e" identifier >> number_literal)) , (binary_expression "uVar2 * 4" identifier * number_literal) ))))) ;) (expression_statement "iVar3 = hist_check_address((uint)bVar5);" (assignment_expression "iVar3 = hist_check_address((uint)bVar5)" identifier = (call_expression "hist_check_address((uint)bVar5)" identifier (argument_list "((uint)bVar5)" ( (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) )))) ;) (if_statement "if ((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)) {\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }" if (parenthesized_expression "((iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0))" ( (binary_expression "(iVar3 == 0) || (child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0)" ( (comma_expression "child = sym_lookup(&symtab,bVar5), child == (Sym *)0x0" (assignment_expression "child = sym_lookup(&symtab,bVar5)" identifier = (call_expression "sym_lookup(&symtab,bVar5)" identifier (argument_list "(&symtab,bVar5)" ( (pointer_expression "&symtab" & identifier) , identifier )))) , (binary_expression "child == (Sym *)0x0" identifier == (cast_expression "(Sym *)0x0" ( (type_descriptor "Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\nLAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }" { (labeled_statement "LAB_0001f70b:\n          if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }" statement_identifier : (if_statement "if ((debug_level & 0x100U) != 0) {\n            puts("\tbut it\'s a botch");\n          }" if (parenthesized_expression "((debug_level & 0x100U) != 0)" ( (binary_expression "(debug_level & 0x100U) != 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            puts("\tbut it\'s a botch");\n          }" { (expression_statement "puts("\tbut it\'s a botch");" (call_expression "puts("\tbut it\'s a botch")" identifier (argument_list "("\tbut it\'s a botch")" ( (string_literal ""\tbut it\'s a botch"" " escape_sequence string_content escape_sequence string_content ") ))) ;) }))) }) (else_clause "else {\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }" else (compound_statement "{\n          if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }\n          arc_add(parent,child,0);\n        }" { (if_statement "if ((debug_level & 0x100U) == 0) {\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }" if (parenthesized_expression "((debug_level & 0x100U) == 0)" ( (binary_expression "(debug_level & 0x100U) == 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if (bVar5 != child->addr) goto LAB_0001f668;\n          }" { (if_statement "if (bVar5 != child->addr) goto LAB_0001f668;" if (parenthesized_expression "(bVar5 != child->addr)" ( (binary_expression "bVar5 != child->addr" identifier != (field_expression "child->addr" identifier -> field_identifier)) )) (goto_statement "goto LAB_0001f668;" goto statement_identifier ;)) }) (else_clause "else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }" else (compound_statement "{\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);\n            if (bVar5 != child->addr) goto LAB_0001f70b;\n          }" { (expression_statement "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr);" (call_expression "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr)" identifier (argument_list "("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(uint)bVar5,child->name,\n                   (int)child->addr)" ( (string_literal ""\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n"" " escape_sequence string_content escape_sequence ") , (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) , (field_expression "child->name" identifier -> field_identifier) , (cast_expression "(int)child->addr" ( (type_descriptor "int" primitive_type) ) (field_expression "child->addr" identifier -> field_identifier)) ))) ;) (if_statement "if (bVar5 != child->addr) goto LAB_0001f70b;" if (parenthesized_expression "(bVar5 != child->addr)" ( (binary_expression "bVar5 != child->addr" identifier != (field_expression "child->addr" identifier -> field_identifier)) )) (goto_statement "goto LAB_0001f70b;" goto statement_identifier ;)) }))) (expression_statement "arc_add(parent,child,0);" (call_expression "arc_add(parent,child,0)" identifier (argument_list "(parent,child,0)" ( identifier , identifier , number_literal ))) ;) }))) })) (labeled_statement "LAB_0001f668:\n      lVar1 = p_lowpc + 4;" statement_identifier : (expression_statement "lVar1 = p_lowpc + 4;" (assignment_expression "lVar1 = p_lowpc + 4" identifier = (binary_expression "p_lowpc + 4" identifier + number_literal)) ;)) (expression_statement "uVar2 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar2 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "p_lowpc = p_lowpc + 4;" (assignment_expression "p_lowpc = p_lowpc + 4" identifier = (binary_expression "p_lowpc + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)\n            )" ( (binary_expression "uVar2 < p_highpc._4_4_ || uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)" (binary_expression "uVar2 < p_highpc._4_4_" identifier < (field_expression "p_highpc._4_4_" identifier . field_identifier)) || (binary_expression "uVar2 - p_highpc._4_4_ < (uint)((uint)lVar1 < (uint)p_highpc)" (binary_expression "uVar2 - p_highpc._4_4_" identifier - (field_expression "p_highpc._4_4_" identifier . field_identifier)) < (call_expression "(uint)((uint)lVar1 < (uint)p_highpc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)lVar1 < (uint)p_highpc)" ( (binary_expression "(uint)lVar1 < (uint)p_highpc" (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(uint)p_highpc" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "int FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }\n  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }\n  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" identifier (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }\n  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }" if (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" ( (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" ( (binary_expression "DAT_0002e158 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }" { (expression_statement "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);" (call_expression "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4)" identifier (argument_list "("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4)" ( (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , identifier ))) ;) })) (expression_statement "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);" (assignment_expression "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4)" identifier = (binary_expression "(param_3 - param_5) - (uint)(param_2 < param_4)" (parenthesized_expression "(param_3 - param_5)" ( (binary_expression "param_3 - param_5" identifier - identifier) )) - (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_4)" ( (binary_expression "param_2 < param_4" identifier < identifier) ))))) ;) (if_statement "if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }" if (parenthesized_expression "(param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4))" ( (binary_expression "param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 < param_5" identifier < identifier) || (binary_expression "param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 - param_5" identifier - identifier) < (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_4)" ( (binary_expression "param_2 < param_4" identifier < identifier) ))))) )) (compound_statement "{\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }" { (do_statement "do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));" do (compound_statement "{\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    }" { (expression_statement "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);" (assignment_expression "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" * (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" * (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x28)" ( (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" * (cast_expression "(int *)(DAT_0002e4ec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4ec + 4)" ( (binary_expression "DAT_0002e4ec + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" ( (binary_expression "(param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0" (parenthesized_expression "(param_2 - *(int *)(DAT_0002e4fc + 0x1c))" ( (binary_expression "param_2 - *(int *)(DAT_0002e4fc + 0x1c)" identifier - (pointer_expression "*(int *)(DAT_0002e4fc + 0x1c)" * (cast_expression "(int *)(DAT_0002e4fc + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4fc + 0x1c)" ( (binary_expression "DAT_0002e4fc + 0x1c" identifier + number_literal) ))))) )) + identifier) )))) ;) (if_statement "if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }" if (parenthesized_expression "((uVar2 & 0x7c000000) == 0x14000000)" ( (binary_expression "(uVar2 & 0x7c000000) == 0x14000000" (parenthesized_expression "(uVar2 & 0x7c000000)" ( (binary_expression "uVar2 & 0x7c000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }" { (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }" if (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" ( (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" ( (binary_expression "DAT_0002e158 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          printf("[find_call] 0x%lx: bl",param_2);\n        }" { (expression_statement "printf("[find_call] 0x%lx: bl",param_2);" (call_expression "printf("[find_call] 0x%lx: bl",param_2)" identifier (argument_list "("[find_call] 0x%lx: bl",param_2)" ( (string_literal ""[find_call] 0x%lx: bl"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;" (assignment_expression "uVar6 = uVar2 & 0x3ffffff ^ 0x2000000" identifier = (binary_expression "uVar2 & 0x3ffffff ^ 0x2000000" (binary_expression "uVar2 & 0x3ffffff" identifier & number_literal) ^ number_literal)) ;) (expression_statement "uVar2 = uVar6 + 0xfe000000;" (assignment_expression "uVar2 = uVar6 + 0xfe000000" identifier = (binary_expression "uVar6 + 0xfe000000" identifier + number_literal)) ;) (expression_statement "uVar3 = uVar2 * 4;" (assignment_expression "uVar3 = uVar2 * 4" identifier = (binary_expression "uVar2 * 4" identifier * number_literal)) ;) (expression_statement "iVar1 = uVar3 + param_2;" (assignment_expression "iVar1 = uVar3 + param_2" identifier = (binary_expression "uVar3 + param_2" identifier + identifier)) ;) (expression_statement "iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);" (assignment_expression "iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2)" identifier = (binary_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2)" (binary_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3" (parenthesized_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e)" ( (binary_expression "((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e" (binary_expression "((0x1ffffff < uVar6) - 1) * 4" (parenthesized_expression "((0x1ffffff < uVar6) - 1)" ( (binary_expression "(0x1ffffff < uVar6) - 1" (parenthesized_expression "(0x1ffffff < uVar6)" ( (binary_expression "0x1ffffff < uVar6" number_literal < identifier) )) - number_literal) )) * number_literal) | (binary_expression "uVar2 >> 0x1e" identifier >> number_literal)) )) + identifier) + (cast_expression "(uint)CARRY4(uVar3,param_2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,param_2)" identifier (argument_list "(uVar3,param_2)" ( identifier , identifier )))))) ;) (expression_statement "iVar4 = FUN_0001c070(iVar1);" (assignment_expression "iVar4 = FUN_0001c070(iVar1)" identifier = (call_expression "FUN_0001c070(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" if (parenthesized_expression "((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0))" ( (binary_expression "(iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)" ( (comma_expression "piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0" (assignment_expression "piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" identifier = (cast_expression "(int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" identifier (argument_list "(&DAT_0002e520,iVar1,iVar7)" ( (pointer_expression "&DAT_0002e520" & identifier) , identifier , identifier ))))) , (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }" { (labeled_statement "LAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }" statement_identifier : (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }" if (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" ( (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" ( (binary_expression "DAT_0002e158 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            puts("\tbut it\'s a botch");\n          }" { (expression_statement "puts("\tbut it\'s a botch");" (call_expression "puts("\tbut it\'s a botch")" identifier (argument_list "("\tbut it\'s a botch")" ( (string_literal ""\tbut it\'s a botch"" " escape_sequence string_content escape_sequence string_content ") ))) ;) }))) }) (else_clause "else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" else (compound_statement "{\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" { (if_statement "if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" if (parenthesized_expression "((DAT_0002e158 & 0x100) == 0)" ( (binary_expression "(DAT_0002e158 & 0x100) == 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" ( (binary_expression "DAT_0002e158 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }" { (if_statement "if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;" if (parenthesized_expression "(piVar5[1] != iVar7 || *piVar5 != iVar1)" ( (binary_expression "piVar5[1] != iVar7 || *piVar5 != iVar1" (binary_expression "piVar5[1] != iVar7" (subscript_expression "piVar5[1]" identifier [ number_literal ]) != identifier) || (binary_expression "*piVar5 != iVar1" (pointer_expression "*piVar5" * identifier) != identifier)) )) (goto_statement "goto LAB_0001f668;" goto statement_identifier ;)) }) (else_clause "else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" else (compound_statement "{\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" { (expression_statement "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);" (call_expression "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5)" identifier (argument_list "("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5)" ( (string_literal ""\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n"" " escape_sequence string_content escape_sequence ") , identifier , (subscript_expression "piVar5[4]" identifier [ number_literal ]) , (pointer_expression "*piVar5" * identifier) ))) ;) (if_statement "if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;" if (parenthesized_expression "(iVar7 != piVar5[1] || iVar1 != *piVar5)" ( (binary_expression "iVar7 != piVar5[1] || iVar1 != *piVar5" (binary_expression "iVar7 != piVar5[1]" identifier != (subscript_expression "piVar5[1]" identifier [ number_literal ])) || (binary_expression "iVar1 != *piVar5" identifier != (pointer_expression "*piVar5" * identifier))) )) (goto_statement "goto LAB_0001f70b;" goto statement_identifier ;)) }))) (expression_statement "FUN_00014870(param_1,piVar5,0);" (call_expression "FUN_00014870(param_1,piVar5,0)" identifier (argument_list "(param_1,piVar5,0)" ( identifier , identifier , number_literal ))) ;) }))) })) (labeled_statement "LAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;" statement_identifier : (expression_statement "bVar8 = 0xfffffffb < param_2;" (assignment_expression "bVar8 = 0xfffffffb < param_2" identifier = (binary_expression "0xfffffffb < param_2" number_literal < identifier)) ;)) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "param_3 = param_3 + bVar8;" (assignment_expression "param_3 = param_3 + bVar8" identifier = (binary_expression "param_3 + bVar8" identifier + identifier)) ;) (expression_statement "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);" (assignment_expression "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4)" identifier = (binary_expression "(param_3 - param_5) - (uint)(param_2 < param_4)" (parenthesized_expression "(param_3 - param_5)" ( (binary_expression "param_3 - param_5" identifier - identifier) )) - (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_4)" ( (binary_expression "param_2 < param_4" identifier < identifier) ))))) ;) }) while (parenthesized_expression "(param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4))" ( (binary_expression "param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 < param_5" identifier < identifier) || (binary_expression "param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 - param_5" identifier - identifier) < (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_4)" ( (binary_expression "param_2 < param_4" identifier < identifier) ))))) )) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) ^ LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) - LIT) )) * LIT) | (binary_expression IDENT >> LIT)) )) + IDENT) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content escape_sequence string_content ") ))) ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) || (binary_expression (pointer_expression * IDENT) != IDENT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content escape_sequence ") , IDENT , (subscript_expression IDENT [ LIT ]) , (pointer_expression * IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) || (binary_expression IDENT != (pointer_expression * IDENT))) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) }))) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }\n  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0001f5e0(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" (identifier "FUN_0001f5e0") (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }\n  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }" (if "if") (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" (( "(") (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" (( "(") (binary_expression "DAT_0002e158 & 0x100" (identifier "DAT_0002e158") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);\n  }" ({ "{") (expression_statement "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);" (call_expression "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4)" (identifier "printf") (argument_list "("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4)" (( "(") (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" (" """) (string_content "[find_call] %s: 0x%lx to 0x%lx") (escape_sequence "\n") (" """)) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);" (assignment_expression "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4)" (identifier "iVar1") (= "=") (binary_expression "(param_3 - param_5) - (uint)(param_2 < param_4)" (parenthesized_expression "(param_3 - param_5)" (( "(") (binary_expression "param_3 - param_5" (identifier "param_3") (- "-") (identifier "param_5")) () ")")) (- "-") (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < param_4)" (( "(") (binary_expression "param_2 < param_4" (identifier "param_2") (< "<") (identifier "param_4")) () ")"))))) (; ";")) (if_statement "if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }" (if "if") (parenthesized_expression "(param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4))" (( "(") (binary_expression "param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 < param_5" (identifier "param_3") (< "<") (identifier "param_5")) (|| "||") (binary_expression "param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 - param_5" (identifier "param_3") (- "-") (identifier "param_5")) (< "<") (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < param_4)" (( "(") (binary_expression "param_2 < param_4" (identifier "param_2") (< "<") (identifier "param_4")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));\n  }" ({ "{") (do_statement "do {\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));" (do "do") (compound_statement "{\n      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);\n      if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }\nLAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;\n      param_2 = param_2 + 4;\n      param_3 = param_3 + bVar8;\n      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);\n    }" ({ "{") (expression_statement "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);" (assignment_expression "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))\n                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" (* "*") (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x28)" (( "(") (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" (* "*") (cast_expression "(int *)(DAT_0002e4ec + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002e4ec + 4)" (( "(") (binary_expression "DAT_0002e4ec + 4" (identifier "DAT_0002e4ec") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0)" (( "(") (binary_expression "(param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0" (parenthesized_expression "(param_2 - *(int *)(DAT_0002e4fc + 0x1c))" (( "(") (binary_expression "param_2 - *(int *)(DAT_0002e4fc + 0x1c)" (identifier "param_2") (- "-") (pointer_expression "*(int *)(DAT_0002e4fc + 0x1c)" (* "*") (cast_expression "(int *)(DAT_0002e4fc + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002e4fc + 0x1c)" (( "(") (binary_expression "DAT_0002e4fc + 0x1c" (identifier "DAT_0002e4fc") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (+ "+") (identifier "DAT_0002e4f0")) () ")")))) (; ";")) (if_statement "if ((uVar2 & 0x7c000000) == 0x14000000) {\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }" (if "if") (parenthesized_expression "((uVar2 & 0x7c000000) == 0x14000000)" (( "(") (binary_expression "(uVar2 & 0x7c000000) == 0x14000000" (parenthesized_expression "(uVar2 & 0x7c000000)" (( "(") (binary_expression "uVar2 & 0x7c000000" (identifier "uVar2") (& "&") (number_literal "0x7c000000")) () ")")) (== "==") (number_literal "0x14000000")) () ")")) (compound_statement "{\n        if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }\n        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;\n        uVar2 = uVar6 + 0xfe000000;\n        uVar3 = uVar2 * 4;\n        iVar1 = uVar3 + param_2;\n        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);\n        iVar4 = FUN_0001c070(iVar1);\n        if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }\n      }" ({ "{") (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n          printf("[find_call] 0x%lx: bl",param_2);\n        }" (if "if") (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" (( "(") (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" (( "(") (binary_expression "DAT_0002e158 & 0x100" (identifier "DAT_0002e158") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          printf("[find_call] 0x%lx: bl",param_2);\n        }" ({ "{") (expression_statement "printf("[find_call] 0x%lx: bl",param_2);" (call_expression "printf("[find_call] 0x%lx: bl",param_2)" (identifier "printf") (argument_list "("[find_call] 0x%lx: bl",param_2)" (( "(") (string_literal ""[find_call] 0x%lx: bl"" (" """) (string_content "[find_call] 0x%lx: bl") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;" (assignment_expression "uVar6 = uVar2 & 0x3ffffff ^ 0x2000000" (identifier "uVar6") (= "=") (binary_expression "uVar2 & 0x3ffffff ^ 0x2000000" (binary_expression "uVar2 & 0x3ffffff" (identifier "uVar2") (& "&") (number_literal "0x3ffffff")) (^ "^") (number_literal "0x2000000"))) (; ";")) (expression_statement "uVar2 = uVar6 + 0xfe000000;" (assignment_expression "uVar2 = uVar6 + 0xfe000000" (identifier "uVar2") (= "=") (binary_expression "uVar6 + 0xfe000000" (identifier "uVar6") (+ "+") (number_literal "0xfe000000"))) (; ";")) (expression_statement "uVar3 = uVar2 * 4;" (assignment_expression "uVar3 = uVar2 * 4" (identifier "uVar3") (= "=") (binary_expression "uVar2 * 4" (identifier "uVar2") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar1 = uVar3 + param_2;" (assignment_expression "iVar1 = uVar3 + param_2" (identifier "iVar1") (= "=") (binary_expression "uVar3 + param_2" (identifier "uVar3") (+ "+") (identifier "param_2"))) (; ";")) (expression_statement "iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2);" (assignment_expression "iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2)" (identifier "iVar7") (= "=") (binary_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +\n                (uint)CARRY4(uVar3,param_2)" (binary_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3" (parenthesized_expression "(((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e)" (( "(") (binary_expression "((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e" (binary_expression "((0x1ffffff < uVar6) - 1) * 4" (parenthesized_expression "((0x1ffffff < uVar6) - 1)" (( "(") (binary_expression "(0x1ffffff < uVar6) - 1" (parenthesized_expression "(0x1ffffff < uVar6)" (( "(") (binary_expression "0x1ffffff < uVar6" (number_literal "0x1ffffff") (< "<") (identifier "uVar6")) () ")")) (- "-") (number_literal "1")) () ")")) (* "*") (number_literal "4")) (| "|") (binary_expression "uVar2 >> 0x1e" (identifier "uVar2") (>> ">>") (number_literal "0x1e"))) () ")")) (+ "+") (identifier "param_3")) (+ "+") (cast_expression "(uint)CARRY4(uVar3,param_2)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar3,param_2)" (identifier "CARRY4") (argument_list "(uVar3,param_2)" (( "(") (identifier "uVar3") (, ",") (identifier "param_2") () ")")))))) (; ";")) (expression_statement "iVar4 = FUN_0001c070(iVar1);" (assignment_expression "iVar4 = FUN_0001c070(iVar1)" (identifier "iVar4") (= "=") (call_expression "FUN_0001c070(iVar1)" (identifier "FUN_0001c070") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if ((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }\n        else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" (if "if") (parenthesized_expression "((iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0))" (( "(") (binary_expression "(iVar4 == 0) ||\n           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)" (( "(") (comma_expression "piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0" (assignment_expression "piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" (identifier "piVar5") (= "=") (cast_expression "(int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001d480(&DAT_0002e520,iVar1,iVar7)" (identifier "FUN_0001d480") (argument_list "(&DAT_0002e520,iVar1,iVar7)" (( "(") (pointer_expression "&DAT_0002e520" (& "&") (identifier "DAT_0002e520")) (, ",") (identifier "iVar1") (, ",") (identifier "iVar7") () ")"))))) (, ",") (binary_expression "piVar5 == (int *)0x0" (identifier "piVar5") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\nLAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }\n        }" ({ "{") (labeled_statement "LAB_0001f70b:\n          if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }" (statement_identifier "LAB_0001f70b") (: ":") (if_statement "if ((DAT_0002e158 & 0x100) != 0) {\n            puts("\tbut it\'s a botch");\n          }" (if "if") (parenthesized_expression "((DAT_0002e158 & 0x100) != 0)" (( "(") (binary_expression "(DAT_0002e158 & 0x100) != 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" (( "(") (binary_expression "DAT_0002e158 & 0x100" (identifier "DAT_0002e158") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            puts("\tbut it\'s a botch");\n          }" ({ "{") (expression_statement "puts("\tbut it\'s a botch");" (call_expression "puts("\tbut it\'s a botch")" (identifier "puts") (argument_list "("\tbut it\'s a botch")" (( "(") (string_literal ""\tbut it\'s a botch"" (" """) (escape_sequence "\t") (string_content "but it") (escape_sequence "\'") (string_content "s a botch") (" """)) () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" (else "else") (compound_statement "{\n          if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }\n          FUN_00014870(param_1,piVar5,0);\n        }" ({ "{") (if_statement "if ((DAT_0002e158 & 0x100) == 0) {\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }\n          else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" (if "if") (parenthesized_expression "((DAT_0002e158 & 0x100) == 0)" (( "(") (binary_expression "(DAT_0002e158 & 0x100) == 0" (parenthesized_expression "(DAT_0002e158 & 0x100)" (( "(") (binary_expression "DAT_0002e158 & 0x100" (identifier "DAT_0002e158") (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;\n          }" ({ "{") (if_statement "if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;" (if "if") (parenthesized_expression "(piVar5[1] != iVar7 || *piVar5 != iVar1)" (( "(") (binary_expression "piVar5[1] != iVar7 || *piVar5 != iVar1" (binary_expression "piVar5[1] != iVar7" (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]")) (!= "!=") (identifier "iVar7")) (|| "||") (binary_expression "*piVar5 != iVar1" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (!= "!=") (identifier "iVar1"))) () ")")) (goto_statement "goto LAB_0001f668;" (goto "goto") (statement_identifier "LAB_0001f668") (; ";"))) (} "}")) (else_clause "else {\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" (else "else") (compound_statement "{\n            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);\n            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;\n          }" ({ "{") (expression_statement "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);" (call_expression "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5)" (identifier "printf") (argument_list "("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5)" (( "(") (string_literal ""\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n"" (" """) (escape_sequence "\t") (string_content "dest_pc=0x%lx, (name=%s, addr=0x%lx)") (escape_sequence "\n") (" """)) (, ",") (identifier "iVar1") (, ",") (subscript_expression "piVar5[4]" (identifier "piVar5") ([ "[") (number_literal "4") (] "]")) (, ",") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) () ")"))) (; ";")) (if_statement "if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;" (if "if") (parenthesized_expression "(iVar7 != piVar5[1] || iVar1 != *piVar5)" (( "(") (binary_expression "iVar7 != piVar5[1] || iVar1 != *piVar5" (binary_expression "iVar7 != piVar5[1]" (identifier "iVar7") (!= "!=") (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]"))) (|| "||") (binary_expression "iVar1 != *piVar5" (identifier "iVar1") (!= "!=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) () ")")) (goto_statement "goto LAB_0001f70b;" (goto "goto") (statement_identifier "LAB_0001f70b") (; ";"))) (} "}")))) (expression_statement "FUN_00014870(param_1,piVar5,0);" (call_expression "FUN_00014870(param_1,piVar5,0)" (identifier "FUN_00014870") (argument_list "(param_1,piVar5,0)" (( "(") (identifier "param_1") (, ",") (identifier "piVar5") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_0001f668:\n      bVar8 = 0xfffffffb < param_2;" (statement_identifier "LAB_0001f668") (: ":") (expression_statement "bVar8 = 0xfffffffb < param_2;" (assignment_expression "bVar8 = 0xfffffffb < param_2" (identifier "bVar8") (= "=") (binary_expression "0xfffffffb < param_2" (number_literal "0xfffffffb") (< "<") (identifier "param_2"))) (; ";"))) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" (identifier "param_2") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "param_3 = param_3 + bVar8;" (assignment_expression "param_3 = param_3 + bVar8" (identifier "param_3") (= "=") (binary_expression "param_3 + bVar8" (identifier "param_3") (+ "+") (identifier "bVar8"))) (; ";")) (expression_statement "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);" (assignment_expression "iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4)" (identifier "iVar1") (= "=") (binary_expression "(param_3 - param_5) - (uint)(param_2 < param_4)" (parenthesized_expression "(param_3 - param_5)" (( "(") (binary_expression "param_3 - param_5" (identifier "param_3") (- "-") (identifier "param_5")) () ")")) (- "-") (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < param_4)" (( "(") (binary_expression "param_2 < param_4" (identifier "param_2") (< "<") (identifier "param_4")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4))" (( "(") (binary_expression "param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 < param_5" (identifier "param_3") (< "<") (identifier "param_5")) (|| "||") (binary_expression "param_3 - param_5 < (uint)(param_2 < param_4)" (binary_expression "param_3 - param_5" (identifier "param_3") (- "-") (identifier "param_5")) (< "<") (call_expression "(uint)(param_2 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < param_4)" (( "(") (binary_expression "param_2 < param_4" (identifier "param_2") (< "<") (identifier "param_4")) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 *parent,type_2 var_4,type_2 p_highpc)

{
  type_3 lVar1;
  type_4 var_6;
  int var_8;
  type_1 *var_10;
  type_2 var_12;
  type_4 var_3;
  
  if ((var_1 & 0x100U) != 0) {
    var_2("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,(type_4)var_4,(type_4)p_highpc);
  }
  if (var_4._4_4_ < p_highpc._4_4_ ||
      var_4._4_4_ - p_highpc._4_4_ < (type_4)((type_4)var_4 < (type_4)p_highpc)) {
    do {
      var_12._0_4_ = (*core_bfd->xvec->bfd_getx32)
                              ((void *)(((int)var_4 - (int)core_text_sect->vma) +
                                       (int)core_text_space));
      if (((type_4)(type_2)var_12 & 0x7c000000) == 0x14000000) {
        if ((var_1 & 0x100U) != 0) {
          var_2("[find_call] 0x%lx: bl",(int)var_4);
        }
        var_3 = (type_4)(type_2)var_12 & 0x3ffffff ^ 0x2000000;
        var_6 = var_3 + 0xfe000000;
        var_12 = var_4 + var_5(((0x1ffffff < var_3) - 1) * 4 | var_6 >> 0x1e,var_6 * 4);
        var_8 = var_7((type_4)var_12);
        if ((var_8 == 0) || (var_10 = var_9(&symtab,var_12), var_10 == (type_1 *)0x0)) {
LAB_0001f70b:
          if ((var_1 & 0x100U) != 0) {
            var_11("\tbut it\'s a botch");
          }
        }
        else {
          if ((var_1 & 0x100U) == 0) {
            if (var_12 != var_10->addr) goto LAB_0001f668;
          }
          else {
            var_2("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",(type_4)var_12,var_10->name,
                   (int)var_10->addr);
            if (var_12 != var_10->addr) goto LAB_0001f70b;
          }
          var_13(parent,var_10,0);
        }
      }
LAB_0001f668:
      lVar1 = var_4 + 4;
      var_6 = (type_4)((type_5)lVar1 >> 0x20);
      var_4 = var_4 + 4;
    } while (var_6 < p_highpc._4_4_ || var_6 - p_highpc._4_4_ < (type_4)((type_4)lVar1 < (type_4)p_highpc)
            );
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (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))))) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (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))))))) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_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: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (escape_sequence) (string_content) (escape_sequence) (string_content))))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (escape_sequence) (string_content) (escape_sequence)) (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal))))))))) (labeled_statement label: (statement_identifier) (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: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))))))) (return_statement (identifier)))))

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

int MASKED(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int *piVar5;
  uint uVar6;
  int iVar7;
  bool bVar8;
  
  if ((DAT_0002e158 & 0x100) != 0) {
    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 0x10),param_2,param_4);
  }
  iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);
  if (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4)) {
    do {
      uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))
                        ((param_2 - *(int *)(DAT_0002e4fc + 0x1c)) + DAT_0002e4f0);
      if ((uVar2 & 0x7c000000) == 0x14000000) {
        if ((DAT_0002e158 & 0x100) != 0) {
          printf("[find_call] 0x%lx: bl",param_2);
        }
        uVar6 = uVar2 & 0x3ffffff ^ 0x2000000;
        uVar2 = uVar6 + 0xfe000000;
        uVar3 = uVar2 * 4;
        iVar1 = uVar3 + param_2;
        iVar7 = (((0x1ffffff < uVar6) - 1) * 4 | uVar2 >> 0x1e) + param_3 +
                (uint)CARRY4(uVar3,param_2);
        iVar4 = FUN_0001c070(iVar1);
        if ((iVar4 == 0) ||
           (piVar5 = (int *)FUN_0001d480(&DAT_0002e520,iVar1,iVar7), piVar5 == (int *)0x0)) {
LAB_0001f70b:
          if ((DAT_0002e158 & 0x100) != 0) {
            puts("\tbut it\'s a botch");
          }
        }
        else {
          if ((DAT_0002e158 & 0x100) == 0) {
            if (piVar5[1] != iVar7 || *piVar5 != iVar1) goto LAB_0001f668;
          }
          else {
            printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar1,piVar5[4],*piVar5);
            if (iVar7 != piVar5[1] || iVar1 != *piVar5) goto LAB_0001f70b;
          }
          FUN_00014870(param_1,piVar5,0);
        }
      }
LAB_0001f668:
      bVar8 = 0xfffffffb < param_2;
      param_2 = param_2 + 4;
      param_3 = param_3 + bVar8;
      iVar1 = (param_3 - param_5) - (uint)(param_2 < param_4);
    } while (param_3 < param_5 || param_3 - param_5 < (uint)(param_2 < param_4));
  }
  return iVar1;
}

