
/* 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)

{
  bfd_vma bVar1;
  int iVar2;
  Sym *child;
  uint address;
  
  if ((debug_level & 0x100U) != 0) {
    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,p_lowpc,p_highpc);
  }
  if (p_highpc <= p_lowpc) {
    return;
  }
  do {
    while (bVar1 = (*core_bfd->xvec->bfd_getx32)
                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),
          (bVar1 & 0x7c000000) != 0x14000000) {
LAB_0001e8d0:
      p_lowpc = p_lowpc + 4;
      if (p_highpc <= p_lowpc) {
        return;
      }
    }
    if ((debug_level & 0x100U) != 0) {
      printf("[find_call] 0x%lx: bl",p_lowpc);
    }
    address = ((int)(bVar1 << 6) >> 4) + p_lowpc;
    iVar2 = hist_check_address(address);
    if ((iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {
      if ((debug_level & 0x100U) == 0) {
        if (address != child->addr) goto LAB_0001e8d0;
      }
      else {
        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);
        if (child->addr != address) goto LAB_0001e939;
      }
      arc_add(parent,child,0);
      goto LAB_0001e8d0;
    }
LAB_0001e939:
    if ((debug_level & 0x100U) == 0) goto LAB_0001e8d0;
    p_lowpc = p_lowpc + 4;
    puts("\tbut it\'s a botch");
    if (p_highpc <= p_lowpc) {
      return;
    }
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_0001e860(int param_1,uint param_2,uint param_3)

{
  uint uVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  
  if ((_DAT_0002d158 & 0x100) != 0) {
    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);
  }
  if (param_3 <= param_2) {
    return;
  }
  do {
    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))
                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),
          (uVar1 & 0x7c000000) != 0x14000000) {
LAB_0001e8d0:
      param_2 = param_2 + 4;
      if (param_3 <= param_2) {
        return;
      }
    }
    if ((_DAT_0002d158 & 0x100) != 0) {
      printf("[find_call] 0x%lx: bl",param_2);
    }
    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;
    iVar2 = FUN_0001b900(iVar4);
    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {
      if ((_DAT_0002d158 & 0x100) == 0) {
        if (iVar4 != *piVar3) goto LAB_0001e8d0;
      }
      else {
        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);
        if (*piVar3 != iVar4) goto LAB_0001e939;
      }
      FUN_00014750(param_1,piVar3,0);
      goto LAB_0001e8d0;
    }
LAB_0001e939:
    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;
    param_2 = param_2 + 4;
    puts("\tbut it\'s a botch");
    if (param_3 <= param_2) {
      return;
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0xd797
SUB ESP,0x2c
MOV EDI,dword ptr [ESP + 0x44]
LEA EAX,[EBX + 0x1158]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x8],EAX
TEST AH,0x1
JNZ 0x0001ea10
CMP EDI,dword ptr [ESP + 0x48]
JNC 0x0001e964
LEA EAX,[EBX + 0x147c]
LEA EBP,[EBX + 0x1478]
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[EBX + 0x1488]
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[EBX + 0xffff744b]
MOV dword ptr [ESP + 0x1c],EAX
LEA EAX,[EBX + 0x14a8]
MOV dword ptr [ESP + 0x18],EAX
JMP 0x0001e8dd
ADD EDI,0x4
CMP dword ptr [ESP + 0x48],EDI
JBE 0x0001e964
MOV EAX,dword ptr [EBP]
SUB ESP,0xc
MOV EDX,EDI
MOV ECX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
SUB EDX,dword ptr [EAX + 0x1c]
MOV EAX,EDX
MOV EDX,dword ptr [ESP + 0x18]
ADD EAX,dword ptr [EDX]
PUSH EAX
CALL dword ptr [ECX + 0x28]
MOV ESI,EAX
AND EAX,0x7c000000
ADD ESP,0x10
CMP EAX,0x14000000
JNZ 0x0001e8d0
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],EAX
TEST AH,0x1
JNZ 0x0001e9c0
SHL ESI,0x6
SUB ESP,0xc
SAR ESI,0x4
ADD ESI,EDI
PUSH ESI
CALL 0x0001b900
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001e970
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],EAX
TEST AH,0x1
JZ 0x0001e8d0
SUB ESP,0xc
ADD EDI,0x4
PUSH dword ptr [ESP + 0x28]
CALL 0x00012270
ADD ESP,0x10
CMP dword ptr [ESP + 0x48],EDI
JA 0x0001e8dd
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [ESP + 0x24]
CALL 0x0001cac0
ADD ESP,0x10
MOV ECX,EAX
TEST EAX,EAX
JZ 0x0001e939
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EDX]
MOV dword ptr [ESP + 0x14],EDX
AND DH,0x1
JNZ 0x0001e9e0
CMP ESI,EAX
JNZ 0x0001e8d0
SUB ESP,0x4
PUSH 0x0
PUSH ECX
PUSH dword ptr [ESP + 0x4c]
CALL 0x00014750
ADD ESP,0x10
JMP 0x0001e8d0
SUB ESP,0x8
LEA EAX,[EBX + 0xffff75c8]
PUSH EDI
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
JMP 0x0001e921
PUSH EAX
LEA EAX,[EBX + 0xffff7558]
PUSH dword ptr [ECX + 0x8]
MOV dword ptr [ESP + 0x1c],ECX
PUSH ESI
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x14]
CMP dword ptr [ECX],ESI
JNZ 0x0001e939
JMP 0x0001e99f
PUSH dword ptr [ESP + 0x48]
PUSH EDI
MOV EAX,dword ptr [ESP + 0x48]
PUSH dword ptr [EAX + 0x8]
LEA EAX,[EBX + 0xffff7210]
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
JMP 0x0001e88f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_0001e860(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}\n\n" comment comment (function_definition "void FUN_0001e860(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0001e860(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }" if (parenthesized_expression "((_DAT_0002d158 & 0x100) != 0)" ( (binary_expression "(_DAT_0002d158 & 0x100) != 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" ( (binary_expression "_DAT_0002d158 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }" { (expression_statement "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);" (call_expression "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3)" identifier (argument_list "("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3)" ( (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , identifier ))) ;) })) (if_statement "if (param_3 <= param_2) {\n    return;\n  }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  }" { (while_statement "while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" while (parenthesized_expression "(uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000)" ( (comma_expression "uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000" (assignment_expression "uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" * (pointer_expression "*(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" * (cast_expression "(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002d478 + 4) + 0x28)" ( (binary_expression "*(int *)(DAT_0002d478 + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002d478 + 4)" * (cast_expression "(int *)(DAT_0002d478 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002d478 + 4)" ( (binary_expression "DAT_0002d478 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" ( (binary_expression "(param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c" (parenthesized_expression "(param_2 - *(int *)(DAT_0002d488 + 0x1c))" ( (binary_expression "param_2 - *(int *)(DAT_0002d488 + 0x1c)" identifier - (pointer_expression "*(int *)(DAT_0002d488 + 0x1c)" * (cast_expression "(int *)(DAT_0002d488 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002d488 + 0x1c)" ( (binary_expression "DAT_0002d488 + 0x1c" identifier + number_literal) ))))) )) + identifier) )))) , (binary_expression "(uVar1 & 0x7c000000) != 0x14000000" (parenthesized_expression "(uVar1 & 0x7c000000)" ( (binary_expression "uVar1 & 0x7c000000" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" { (labeled_statement "LAB_0001e8d0:\n      param_2 = param_2 + 4;" statement_identifier : (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;)) (if_statement "if (param_3 <= param_2) {\n        return;\n      }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (if_statement "if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }" if (parenthesized_expression "((_DAT_0002d158 & 0x100) != 0)" ( (binary_expression "(_DAT_0002d158 & 0x100) != 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" ( (binary_expression "_DAT_0002d158 & 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 "iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;" (assignment_expression "iVar4 = ((int)(uVar1 << 6) >> 4) + param_2" identifier = (binary_expression "((int)(uVar1 << 6) >> 4) + param_2" (parenthesized_expression "((int)(uVar1 << 6) >> 4)" ( (binary_expression "(int)(uVar1 << 6) >> 4" (cast_expression "(int)(uVar1 << 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 6)" ( (binary_expression "uVar1 << 6" identifier << number_literal) ))) >> number_literal) )) + identifier)) ;) (expression_statement "iVar2 = FUN_0001b900(iVar4);" (assignment_expression "iVar2 = FUN_0001b900(iVar4)" identifier = (call_expression "FUN_0001b900(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (if_statement "if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }" if (parenthesized_expression "((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0))" ( (binary_expression "(iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)" ( (comma_expression "piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0" (assignment_expression "piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4)" identifier = (cast_expression "(int *)FUN_0001cac0(&DAT_0002d4a8,iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001cac0(&DAT_0002d4a8,iVar4)" identifier (argument_list "(&DAT_0002d4a8,iVar4)" ( (pointer_expression "&DAT_0002d4a8" & identifier) , identifier ))))) , (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }" { (if_statement "if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" if (parenthesized_expression "((_DAT_0002d158 & 0x100) == 0)" ( (binary_expression "(_DAT_0002d158 & 0x100) == 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" ( (binary_expression "_DAT_0002d158 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }" { (if_statement "if (iVar4 != *piVar3) goto LAB_0001e8d0;" if (parenthesized_expression "(iVar4 != *piVar3)" ( (binary_expression "iVar4 != *piVar3" identifier != (pointer_expression "*piVar3" * identifier)) )) (goto_statement "goto LAB_0001e8d0;" goto statement_identifier ;)) }) (else_clause "else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" else (compound_statement "{\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" { (expression_statement "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);" (call_expression "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3)" identifier (argument_list "("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3)" ( (string_literal ""\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n"" " escape_sequence string_content escape_sequence ") , identifier , (subscript_expression "piVar3[2]" identifier [ number_literal ]) , (pointer_expression "*piVar3" * identifier) ))) ;) (if_statement "if (*piVar3 != iVar4) goto LAB_0001e939;" if (parenthesized_expression "(*piVar3 != iVar4)" ( (binary_expression "*piVar3 != iVar4" (pointer_expression "*piVar3" * identifier) != identifier) )) (goto_statement "goto LAB_0001e939;" goto statement_identifier ;)) }))) (expression_statement "FUN_00014750(param_1,piVar3,0);" (call_expression "FUN_00014750(param_1,piVar3,0)" identifier (argument_list "(param_1,piVar3,0)" ( identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_0001e8d0;" goto statement_identifier ;) })) (labeled_statement "LAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;" statement_identifier : (if_statement "if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;" if (parenthesized_expression "((_DAT_0002d158 & 0x100) == 0)" ( (binary_expression "(_DAT_0002d158 & 0x100) == 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" ( (binary_expression "_DAT_0002d158 & 0x100" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0001e8d0;" goto statement_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 "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 ") ))) ;) (if_statement "if (param_3 <= param_2) {\n      return;\n    }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(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  bfd_vma bVar1;\n  int iVar2;\n  Sym *child;\n  uint address;\n  \n  if ((debug_level & 0x100U) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,p_lowpc,p_highpc);\n  }\n  if (p_highpc <= p_lowpc) {\n    return;\n  }\n  do {\n    while (bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),\n          (bVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      p_lowpc = p_lowpc + 4;\n      if (p_highpc <= p_lowpc) {\n        return;\n      }\n    }\n    if ((debug_level & 0x100U) != 0) {\n      printf("[find_call] 0x%lx: bl",p_lowpc);\n    }\n    address = ((int)(bVar1 << 6) >> 4) + p_lowpc;\n    iVar2 = hist_check_address(address);\n    if ((iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n      if ((debug_level & 0x100U) == 0) {\n        if (address != child->addr) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }\n      arc_add(parent,child,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((debug_level & 0x100U) == 0) goto LAB_0001e8d0;\n    p_lowpc = p_lowpc + 4;\n    puts("\tbut it\'s a botch");\n    if (p_highpc <= p_lowpc) {\n      return;\n    }\n  } while( true );\n}\n\n" comment comment (function_definition "void aarch64_find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)\n\n{\n  bfd_vma bVar1;\n  int iVar2;\n  Sym *child;\n  uint address;\n  \n  if ((debug_level & 0x100U) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,p_lowpc,p_highpc);\n  }\n  if (p_highpc <= p_lowpc) {\n    return;\n  }\n  do {\n    while (bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),\n          (bVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      p_lowpc = p_lowpc + 4;\n      if (p_highpc <= p_lowpc) {\n        return;\n      }\n    }\n    if ((debug_level & 0x100U) != 0) {\n      printf("[find_call] 0x%lx: bl",p_lowpc);\n    }\n    address = ((int)(bVar1 << 6) >> 4) + p_lowpc;\n    iVar2 = hist_check_address(address);\n    if ((iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n      if ((debug_level & 0x100U) == 0) {\n        if (address != child->addr) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }\n      arc_add(parent,child,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((debug_level & 0x100U) == 0) goto LAB_0001e8d0;\n    p_lowpc = p_lowpc + 4;\n    puts("\tbut it\'s a botch");\n    if (p_highpc <= p_lowpc) {\n      return;\n    }\n  } while( true );\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  bfd_vma bVar1;\n  int iVar2;\n  Sym *child;\n  uint address;\n  \n  if ((debug_level & 0x100U) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,p_lowpc,p_highpc);\n  }\n  if (p_highpc <= p_lowpc) {\n    return;\n  }\n  do {\n    while (bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),\n          (bVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      p_lowpc = p_lowpc + 4;\n      if (p_highpc <= p_lowpc) {\n        return;\n      }\n    }\n    if ((debug_level & 0x100U) != 0) {\n      printf("[find_call] 0x%lx: bl",p_lowpc);\n    }\n    address = ((int)(bVar1 << 6) >> 4) + p_lowpc;\n    iVar2 = hist_check_address(address);\n    if ((iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n      if ((debug_level & 0x100U) == 0) {\n        if (address != child->addr) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }\n      arc_add(parent,child,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((debug_level & 0x100U) == 0) goto LAB_0001e8d0;\n    p_lowpc = p_lowpc + 4;\n    puts("\tbut it\'s a botch");\n    if (p_highpc <= p_lowpc) {\n      return;\n    }\n  } while( true );\n}" { (declaration "bfd_vma bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Sym *child;" type_identifier (pointer_declarator "*child" * identifier) ;) (declaration "uint address;" type_identifier identifier ;) (if_statement "if ((debug_level & 0x100U) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,p_lowpc,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,p_lowpc,p_highpc);\n  }" { (expression_statement "printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,p_lowpc,p_highpc);" (call_expression "printf("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,p_lowpc,p_highpc)" identifier (argument_list "("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,p_lowpc,p_highpc)" ( (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , (field_expression "parent->name" identifier -> field_identifier) , identifier , identifier ))) ;) })) (if_statement "if (p_highpc <= p_lowpc) {\n    return;\n  }" if (parenthesized_expression "(p_highpc <= p_lowpc)" ( (binary_expression "p_highpc <= p_lowpc" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    while (bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),\n          (bVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      p_lowpc = p_lowpc + 4;\n      if (p_highpc <= p_lowpc) {\n        return;\n      }\n    }\n    if ((debug_level & 0x100U) != 0) {\n      printf("[find_call] 0x%lx: bl",p_lowpc);\n    }\n    address = ((int)(bVar1 << 6) >> 4) + p_lowpc;\n    iVar2 = hist_check_address(address);\n    if ((iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n      if ((debug_level & 0x100U) == 0) {\n        if (address != child->addr) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }\n      arc_add(parent,child,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((debug_level & 0x100U) == 0) goto LAB_0001e8d0;\n    p_lowpc = p_lowpc + 4;\n    puts("\tbut it\'s a botch");\n    if (p_highpc <= p_lowpc) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    while (bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),\n          (bVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      p_lowpc = p_lowpc + 4;\n      if (p_highpc <= p_lowpc) {\n        return;\n      }\n    }\n    if ((debug_level & 0x100U) != 0) {\n      printf("[find_call] 0x%lx: bl",p_lowpc);\n    }\n    address = ((int)(bVar1 << 6) >> 4) + p_lowpc;\n    iVar2 = hist_check_address(address);\n    if ((iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n      if ((debug_level & 0x100U) == 0) {\n        if (address != child->addr) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }\n      arc_add(parent,child,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((debug_level & 0x100U) == 0) goto LAB_0001e8d0;\n    p_lowpc = p_lowpc + 4;\n    puts("\tbut it\'s a botch");\n    if (p_highpc <= p_lowpc) {\n      return;\n    }\n  }" { (while_statement "while (bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),\n          (bVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      p_lowpc = p_lowpc + 4;\n      if (p_highpc <= p_lowpc) {\n        return;\n      }\n    }" while (parenthesized_expression "(bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),\n          (bVar1 & 0x7c000000) != 0x14000000)" ( (comma_expression "bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)),\n          (bVar1 & 0x7c000000) != 0x14000000" (assignment_expression "bVar1 = (*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space))" identifier = (call_expression "(*core_bfd->xvec->bfd_getx32)\n                             ((void *)((p_lowpc - core_text_sect->vma) + (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 *)((p_lowpc - core_text_sect->vma) + (int)core_text_space))" ( (cast_expression "(void *)((p_lowpc - core_text_sect->vma) + (int)core_text_space)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((p_lowpc - core_text_sect->vma) + (int)core_text_space)" ( (binary_expression "(p_lowpc - core_text_sect->vma) + (int)core_text_space" (parenthesized_expression "(p_lowpc - core_text_sect->vma)" ( (binary_expression "p_lowpc - core_text_sect->vma" identifier - (field_expression "core_text_sect->vma" identifier -> field_identifier)) )) + (cast_expression "(int)core_text_space" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) , (binary_expression "(bVar1 & 0x7c000000) != 0x14000000" (parenthesized_expression "(bVar1 & 0x7c000000)" ( (binary_expression "bVar1 & 0x7c000000" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\nLAB_0001e8d0:\n      p_lowpc = p_lowpc + 4;\n      if (p_highpc <= p_lowpc) {\n        return;\n      }\n    }" { (labeled_statement "LAB_0001e8d0:\n      p_lowpc = p_lowpc + 4;" statement_identifier : (expression_statement "p_lowpc = p_lowpc + 4;" (assignment_expression "p_lowpc = p_lowpc + 4" identifier = (binary_expression "p_lowpc + 4" identifier + number_literal)) ;)) (if_statement "if (p_highpc <= p_lowpc) {\n        return;\n      }" if (parenthesized_expression "(p_highpc <= p_lowpc)" ( (binary_expression "p_highpc <= p_lowpc" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (if_statement "if ((debug_level & 0x100U) != 0) {\n      printf("[find_call] 0x%lx: bl",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",p_lowpc);\n    }" { (expression_statement "printf("[find_call] 0x%lx: bl",p_lowpc);" (call_expression "printf("[find_call] 0x%lx: bl",p_lowpc)" identifier (argument_list "("[find_call] 0x%lx: bl",p_lowpc)" ( (string_literal ""[find_call] 0x%lx: bl"" " string_content ") , identifier ))) ;) })) (expression_statement "address = ((int)(bVar1 << 6) >> 4) + p_lowpc;" (assignment_expression "address = ((int)(bVar1 << 6) >> 4) + p_lowpc" identifier = (binary_expression "((int)(bVar1 << 6) >> 4) + p_lowpc" (parenthesized_expression "((int)(bVar1 << 6) >> 4)" ( (binary_expression "(int)(bVar1 << 6) >> 4" (cast_expression "(int)(bVar1 << 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(bVar1 << 6)" ( (binary_expression "bVar1 << 6" identifier << number_literal) ))) >> number_literal) )) + identifier)) ;) (expression_statement "iVar2 = hist_check_address(address);" (assignment_expression "iVar2 = hist_check_address(address)" identifier = (call_expression "hist_check_address(address)" identifier (argument_list "(address)" ( identifier )))) ;) (if_statement "if ((iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n      if ((debug_level & 0x100U) == 0) {\n        if (address != child->addr) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }\n      arc_add(parent,child,0);\n      goto LAB_0001e8d0;\n    }" if (parenthesized_expression "((iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0))" ( (binary_expression "(iVar2 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(child = sym_lookup(&symtab,address), child != (Sym *)0x0)" ( (comma_expression "child = sym_lookup(&symtab,address), child != (Sym *)0x0" (assignment_expression "child = sym_lookup(&symtab,address)" identifier = (call_expression "sym_lookup(&symtab,address)" identifier (argument_list "(&symtab,address)" ( (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 "{\n      if ((debug_level & 0x100U) == 0) {\n        if (address != child->addr) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }\n      arc_add(parent,child,0);\n      goto LAB_0001e8d0;\n    }" { (if_statement "if ((debug_level & 0x100U) == 0) {\n        if (address != child->addr) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\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 (address != child->addr) goto LAB_0001e8d0;\n      }" { (if_statement "if (address != child->addr) goto LAB_0001e8d0;" if (parenthesized_expression "(address != child->addr)" ( (binary_expression "address != child->addr" identifier != (field_expression "child->addr" identifier -> field_identifier)) )) (goto_statement "goto LAB_0001e8d0;" goto statement_identifier ;)) }) (else_clause "else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }" else (compound_statement "{\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);\n        if (child->addr != address) goto LAB_0001e939;\n      }" { (expression_statement "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr);" (call_expression "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr)" identifier (argument_list "("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",address,child->name,child->addr)" ( (string_literal ""\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n"" " escape_sequence string_content escape_sequence ") , identifier , (field_expression "child->name" identifier -> field_identifier) , (field_expression "child->addr" identifier -> field_identifier) ))) ;) (if_statement "if (child->addr != address) goto LAB_0001e939;" if (parenthesized_expression "(child->addr != address)" ( (binary_expression "child->addr != address" (field_expression "child->addr" identifier -> field_identifier) != identifier) )) (goto_statement "goto LAB_0001e939;" 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 ))) ;) (goto_statement "goto LAB_0001e8d0;" goto statement_identifier ;) })) (labeled_statement "LAB_0001e939:\n    if ((debug_level & 0x100U) == 0) goto LAB_0001e8d0;" statement_identifier : (if_statement "if ((debug_level & 0x100U) == 0) goto LAB_0001e8d0;" 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) )) (goto_statement "goto LAB_0001e8d0;" goto statement_identifier ;))) (expression_statement "p_lowpc = p_lowpc + 4;" (assignment_expression "p_lowpc = p_lowpc + 4" identifier = (binary_expression "p_lowpc + 4" identifier + number_literal)) ;) (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 ") ))) ;) (if_statement "if (p_highpc <= p_lowpc) {\n      return;\n    }" if (parenthesized_expression "(p_highpc <= p_lowpc)" ( (binary_expression "p_highpc <= p_lowpc" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_0001e860(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_0001e860(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0001e860(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }" if (parenthesized_expression "((_DAT_0002d158 & 0x100) != 0)" ( (binary_expression "(_DAT_0002d158 & 0x100) != 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" ( (binary_expression "_DAT_0002d158 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }" { (expression_statement "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);" (call_expression "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3)" identifier (argument_list "("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3)" ( (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , identifier ))) ;) })) (if_statement "if (param_3 <= param_2) {\n    return;\n  }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  }" { (while_statement "while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" while (parenthesized_expression "(uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000)" ( (comma_expression "uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000" (assignment_expression "uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" * (pointer_expression "*(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" * (cast_expression "(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002d478 + 4) + 0x28)" ( (binary_expression "*(int *)(DAT_0002d478 + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002d478 + 4)" * (cast_expression "(int *)(DAT_0002d478 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002d478 + 4)" ( (binary_expression "DAT_0002d478 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" ( (binary_expression "(param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c" (parenthesized_expression "(param_2 - *(int *)(DAT_0002d488 + 0x1c))" ( (binary_expression "param_2 - *(int *)(DAT_0002d488 + 0x1c)" identifier - (pointer_expression "*(int *)(DAT_0002d488 + 0x1c)" * (cast_expression "(int *)(DAT_0002d488 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002d488 + 0x1c)" ( (binary_expression "DAT_0002d488 + 0x1c" identifier + number_literal) ))))) )) + identifier) )))) , (binary_expression "(uVar1 & 0x7c000000) != 0x14000000" (parenthesized_expression "(uVar1 & 0x7c000000)" ( (binary_expression "uVar1 & 0x7c000000" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" { (labeled_statement "LAB_0001e8d0:\n      param_2 = param_2 + 4;" statement_identifier : (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;)) (if_statement "if (param_3 <= param_2) {\n        return;\n      }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (if_statement "if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }" if (parenthesized_expression "((_DAT_0002d158 & 0x100) != 0)" ( (binary_expression "(_DAT_0002d158 & 0x100) != 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" ( (binary_expression "_DAT_0002d158 & 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 "iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;" (assignment_expression "iVar4 = ((int)(uVar1 << 6) >> 4) + param_2" identifier = (binary_expression "((int)(uVar1 << 6) >> 4) + param_2" (parenthesized_expression "((int)(uVar1 << 6) >> 4)" ( (binary_expression "(int)(uVar1 << 6) >> 4" (cast_expression "(int)(uVar1 << 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 6)" ( (binary_expression "uVar1 << 6" identifier << number_literal) ))) >> number_literal) )) + identifier)) ;) (expression_statement "iVar2 = FUN_0001b900(iVar4);" (assignment_expression "iVar2 = FUN_0001b900(iVar4)" identifier = (call_expression "FUN_0001b900(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (if_statement "if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }" if (parenthesized_expression "((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0))" ( (binary_expression "(iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)" ( (comma_expression "piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0" (assignment_expression "piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4)" identifier = (cast_expression "(int *)FUN_0001cac0(&DAT_0002d4a8,iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001cac0(&DAT_0002d4a8,iVar4)" identifier (argument_list "(&DAT_0002d4a8,iVar4)" ( (pointer_expression "&DAT_0002d4a8" & identifier) , identifier ))))) , (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }" { (if_statement "if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" if (parenthesized_expression "((_DAT_0002d158 & 0x100) == 0)" ( (binary_expression "(_DAT_0002d158 & 0x100) == 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" ( (binary_expression "_DAT_0002d158 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }" { (if_statement "if (iVar4 != *piVar3) goto LAB_0001e8d0;" if (parenthesized_expression "(iVar4 != *piVar3)" ( (binary_expression "iVar4 != *piVar3" identifier != (pointer_expression "*piVar3" * identifier)) )) (goto_statement "goto LAB_0001e8d0;" goto statement_identifier ;)) }) (else_clause "else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" else (compound_statement "{\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" { (expression_statement "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);" (call_expression "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3)" identifier (argument_list "("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3)" ( (string_literal ""\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n"" " escape_sequence string_content escape_sequence ") , identifier , (subscript_expression "piVar3[2]" identifier [ number_literal ]) , (pointer_expression "*piVar3" * identifier) ))) ;) (if_statement "if (*piVar3 != iVar4) goto LAB_0001e939;" if (parenthesized_expression "(*piVar3 != iVar4)" ( (binary_expression "*piVar3 != iVar4" (pointer_expression "*piVar3" * identifier) != identifier) )) (goto_statement "goto LAB_0001e939;" goto statement_identifier ;)) }))) (expression_statement "FUN_00014750(param_1,piVar3,0);" (call_expression "FUN_00014750(param_1,piVar3,0)" identifier (argument_list "(param_1,piVar3,0)" ( identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_0001e8d0;" goto statement_identifier ;) })) (labeled_statement "LAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;" statement_identifier : (if_statement "if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;" if (parenthesized_expression "((_DAT_0002d158 & 0x100) == 0)" ( (binary_expression "(_DAT_0002d158 & 0x100) == 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" ( (binary_expression "_DAT_0002d158 & 0x100" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0001e8d0;" goto statement_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 "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 ") ))) ;) (if_statement "if (param_3 <= param_2) {\n      return;\n    }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (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) )))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) })) (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 (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) >> LIT) )) + 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 ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (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 IDENT != (pointer_expression * 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 (pointer_expression * IDENT) != IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content escape_sequence string_content ") ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_0001e860(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_0001e860(int param_1,uint param_2,uint param_3)" (identifier "FUN_0001e860") (parameter_list "(int param_1,uint param_2,uint param_3)" (( "(") (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")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if ((_DAT_0002d158 & 0x100) != 0) {\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }" (if "if") (parenthesized_expression "((_DAT_0002d158 & 0x100) != 0)" (( "(") (binary_expression "(_DAT_0002d158 & 0x100) != 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" (( "(") (binary_expression "_DAT_0002d158 & 0x100" (identifier "_DAT_0002d158") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);\n  }" ({ "{") (expression_statement "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);" (call_expression "printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3)" (identifier "printf") (argument_list "("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3)" (( "(") (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 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 <= param_2) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 <= param_2)" (( "(") (binary_expression "param_3 <= param_2" (identifier "param_3") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }\n    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;\n    iVar2 = FUN_0001b900(iVar4);\n    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }\nLAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  }" ({ "{") (while_statement "while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000) {\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "(uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000)" (( "(") (comma_expression "uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),\n          (uVar1 & 0x7c000000) != 0x14000000" (assignment_expression "uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))\n                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" (* "*") (cast_expression "(code **)(*(int *)(DAT_0002d478 + 4) + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0002d478 + 4) + 0x28)" (( "(") (binary_expression "*(int *)(DAT_0002d478 + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002d478 + 4)" (* "*") (cast_expression "(int *)(DAT_0002d478 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002d478 + 4)" (( "(") (binary_expression "DAT_0002d478 + 4" (identifier "DAT_0002d478") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c)" (( "(") (binary_expression "(param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c" (parenthesized_expression "(param_2 - *(int *)(DAT_0002d488 + 0x1c))" (( "(") (binary_expression "param_2 - *(int *)(DAT_0002d488 + 0x1c)" (identifier "param_2") (- "-") (pointer_expression "*(int *)(DAT_0002d488 + 0x1c)" (* "*") (cast_expression "(int *)(DAT_0002d488 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002d488 + 0x1c)" (( "(") (binary_expression "DAT_0002d488 + 0x1c" (identifier "DAT_0002d488") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (+ "+") (identifier "DAT_0002d47c")) () ")")))) (, ",") (binary_expression "(uVar1 & 0x7c000000) != 0x14000000" (parenthesized_expression "(uVar1 & 0x7c000000)" (( "(") (binary_expression "uVar1 & 0x7c000000" (identifier "uVar1") (& "&") (number_literal "0x7c000000")) () ")")) (!= "!=") (number_literal "0x14000000"))) () ")")) (compound_statement "{\nLAB_0001e8d0:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" ({ "{") (labeled_statement "LAB_0001e8d0:\n      param_2 = param_2 + 4;" (statement_identifier "LAB_0001e8d0") (: ":") (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"))) (; ";"))) (if_statement "if (param_3 <= param_2) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_3 <= param_2)" (( "(") (binary_expression "param_3 <= param_2" (identifier "param_3") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (if_statement "if ((_DAT_0002d158 & 0x100) != 0) {\n      printf("[find_call] 0x%lx: bl",param_2);\n    }" (if "if") (parenthesized_expression "((_DAT_0002d158 & 0x100) != 0)" (( "(") (binary_expression "(_DAT_0002d158 & 0x100) != 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" (( "(") (binary_expression "_DAT_0002d158 & 0x100" (identifier "_DAT_0002d158") (& "&") (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 "iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;" (assignment_expression "iVar4 = ((int)(uVar1 << 6) >> 4) + param_2" (identifier "iVar4") (= "=") (binary_expression "((int)(uVar1 << 6) >> 4) + param_2" (parenthesized_expression "((int)(uVar1 << 6) >> 4)" (( "(") (binary_expression "(int)(uVar1 << 6) >> 4" (cast_expression "(int)(uVar1 << 6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar1 << 6)" (( "(") (binary_expression "uVar1 << 6" (identifier "uVar1") (<< "<<") (number_literal "6")) () ")"))) (>> ">>") (number_literal "4")) () ")")) (+ "+") (identifier "param_2"))) (; ";")) (expression_statement "iVar2 = FUN_0001b900(iVar4);" (assignment_expression "iVar2 = FUN_0001b900(iVar4)" (identifier "iVar2") (= "=") (call_expression "FUN_0001b900(iVar4)" (identifier "FUN_0001b900") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }" (if "if") (parenthesized_expression "((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0))" (( "(") (binary_expression "(iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)" (( "(") (comma_expression "piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0" (assignment_expression "piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4)" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_0001cac0(&DAT_0002d4a8,iVar4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001cac0(&DAT_0002d4a8,iVar4)" (identifier "FUN_0001cac0") (argument_list "(&DAT_0002d4a8,iVar4)" (( "(") (pointer_expression "&DAT_0002d4a8" (& "&") (identifier "DAT_0002d4a8")) (, ",") (identifier "iVar4") () ")"))))) (, ",") (binary_expression "piVar3 != (int *)0x0" (identifier "piVar3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n      if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }\n      FUN_00014750(param_1,piVar3,0);\n      goto LAB_0001e8d0;\n    }" ({ "{") (if_statement "if ((_DAT_0002d158 & 0x100) == 0) {\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }\n      else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" (if "if") (parenthesized_expression "((_DAT_0002d158 & 0x100) == 0)" (( "(") (binary_expression "(_DAT_0002d158 & 0x100) == 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" (( "(") (binary_expression "_DAT_0002d158 & 0x100" (identifier "_DAT_0002d158") (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (iVar4 != *piVar3) goto LAB_0001e8d0;\n      }" ({ "{") (if_statement "if (iVar4 != *piVar3) goto LAB_0001e8d0;" (if "if") (parenthesized_expression "(iVar4 != *piVar3)" (( "(") (binary_expression "iVar4 != *piVar3" (identifier "iVar4") (!= "!=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) () ")")) (goto_statement "goto LAB_0001e8d0;" (goto "goto") (statement_identifier "LAB_0001e8d0") (; ";"))) (} "}")) (else_clause "else {\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" (else "else") (compound_statement "{\n        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);\n        if (*piVar3 != iVar4) goto LAB_0001e939;\n      }" ({ "{") (expression_statement "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);" (call_expression "printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3)" (identifier "printf") (argument_list "("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3)" (( "(") (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 "iVar4") (, ",") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) () ")"))) (; ";")) (if_statement "if (*piVar3 != iVar4) goto LAB_0001e939;" (if "if") (parenthesized_expression "(*piVar3 != iVar4)" (( "(") (binary_expression "*piVar3 != iVar4" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_0001e939;" (goto "goto") (statement_identifier "LAB_0001e939") (; ";"))) (} "}")))) (expression_statement "FUN_00014750(param_1,piVar3,0);" (call_expression "FUN_00014750(param_1,piVar3,0)" (identifier "FUN_00014750") (argument_list "(param_1,piVar3,0)" (( "(") (identifier "param_1") (, ",") (identifier "piVar3") (, ",") (number_literal "0") () ")"))) (; ";")) (goto_statement "goto LAB_0001e8d0;" (goto "goto") (statement_identifier "LAB_0001e8d0") (; ";")) (} "}"))) (labeled_statement "LAB_0001e939:\n    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;" (statement_identifier "LAB_0001e939") (: ":") (if_statement "if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;" (if "if") (parenthesized_expression "((_DAT_0002d158 & 0x100) == 0)" (( "(") (binary_expression "(_DAT_0002d158 & 0x100) == 0" (parenthesized_expression "(_DAT_0002d158 & 0x100)" (( "(") (binary_expression "_DAT_0002d158 & 0x100" (identifier "_DAT_0002d158") (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001e8d0;" (goto "goto") (statement_identifier "LAB_0001e8d0") (; ";")))) (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 "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") (" """)) () ")"))) (; ";")) (if_statement "if (param_3 <= param_2) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 <= param_2)" (( "(") (binary_expression "param_3 <= param_2" (identifier "param_3") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* 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 var_3)

{
  type_2 var_5;
  int var_7;
  type_1 *var_9;
  type_3 var_10;
  
  if ((var_1 & 0x100U) != 0) {
    var_2("[find_call] %s: 0x%lx to 0x%lx\n",parent->name,var_4,var_3);
  }
  if (var_3 <= var_4) {
    return;
  }
  do {
    while (var_5 = (*core_bfd->xvec->bfd_getx32)
                             ((void *)((var_4 - core_text_sect->vma) + (int)core_text_space)),
          (var_5 & 0x7c000000) != 0x14000000) {
LAB_0001e8d0:
      var_4 = var_4 + 4;
      if (var_3 <= var_4) {
        return;
      }
    }
    if ((var_1 & 0x100U) != 0) {
      var_2("[find_call] 0x%lx: bl",var_4);
    }
    var_10 = ((int)(var_5 << 6) >> 4) + var_4;
    var_7 = var_6(var_10);
    if ((var_7 != 0) && (var_9 = var_8(&symtab,var_10), var_9 != (type_1 *)0x0)) {
      if ((var_1 & 0x100U) == 0) {
        if (var_10 != var_9->addr) goto LAB_0001e8d0;
      }
      else {
        var_2("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",var_10,var_9->name,var_9->addr);
        if (var_9->addr != var_10) goto LAB_0001e939;
      }
      var_11(parent,var_9,0);
      goto LAB_0001e8d0;
    }
LAB_0001e939:
    if ((var_1 & 0x100U) == 0) goto LAB_0001e8d0;
    var_4 = var_4 + 4;
    var_12("\tbut it\'s a botch");
    if (var_3 <= var_4) {
      return;
    }
  } while( true );
}


(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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator 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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (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))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) body: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) right: (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))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))) (goto_statement label: (statement_identifier)))) (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: (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (escape_sequence) (string_content) (escape_sequence) (string_content))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement)))) condition: (parenthesized_expression (true))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(int param_1,uint param_2,uint param_3)

{
  uint uVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  
  if ((_DAT_0002d158 & 0x100) != 0) {
    printf("[find_call] %s: 0x%lx to 0x%lx\n",*(undefined4 *)(param_1 + 8),param_2,param_3);
  }
  if (param_3 <= param_2) {
    return;
  }
  do {
    while (uVar1 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x28))
                             ((param_2 - *(int *)(DAT_0002d488 + 0x1c)) + DAT_0002d47c),
          (uVar1 & 0x7c000000) != 0x14000000) {
LAB_0001e8d0:
      param_2 = param_2 + 4;
      if (param_3 <= param_2) {
        return;
      }
    }
    if ((_DAT_0002d158 & 0x100) != 0) {
      printf("[find_call] 0x%lx: bl",param_2);
    }
    iVar4 = ((int)(uVar1 << 6) >> 4) + param_2;
    iVar2 = FUN_0001b900(iVar4);
    if ((iVar2 != 0) && (piVar3 = (int *)FUN_0001cac0(&DAT_0002d4a8,iVar4), piVar3 != (int *)0x0)) {
      if ((_DAT_0002d158 & 0x100) == 0) {
        if (iVar4 != *piVar3) goto LAB_0001e8d0;
      }
      else {
        printf("\tdest_pc=0x%lx, (name=%s, addr=0x%lx)\n",iVar4,piVar3[2],*piVar3);
        if (*piVar3 != iVar4) goto LAB_0001e939;
      }
      FUN_00014750(param_1,piVar3,0);
      goto LAB_0001e8d0;
    }
LAB_0001e939:
    if ((_DAT_0002d158 & 0x100) == 0) goto LAB_0001e8d0;
    param_2 = param_2 + 4;
    puts("\tbut it\'s a botch");
    if (param_3 <= param_2) {
      return;
    }
  } while( true );
}

