
bfd_boolean pr_class_static_member(void *p,char *name,char *physname,debug_visibility visibility)

{
  pr_handle *info;
  bfd_boolean bVar1;
  char *s;
  uint uVar2;
  
  bVar1 = substitute_type((pr_handle *)p,name);
  if (bVar1 != 0) {
    info = (pr_handle *)((long)p + 0x10);
    bVar1 = prepend_type(info,"static ");
    if ((((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&
        (bVar1 = append_type(info,physname), bVar1 != 0)) &&
       (bVar1 = append_type(info," */\n"), bVar1 != 0)) {
      if (*(int *)((long)p + 8) != 0) {
        uVar2 = 0;
        do {
          bVar1 = append_type(info," ");
          if (bVar1 == 0) {
            return 0;
          }
          uVar2 = uVar2 + 1;
        } while (uVar2 < *(uint *)((long)p + 8));
      }
      s = pop_type(info);
      if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))
      {
        bVar1 = append_type(info,s);
        return bVar1;
      }
    }
  }
  return 0;
}



undefined8 FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)

{
  long lVar1;
  int iVar2;
  long lVar3;
  undefined8 uVar4;
  uint uVar5;
  
  iVar2 = FUN_00127110();
  if (iVar2 != 0) {
    lVar1 = param_1 + 0x10;
    iVar2 = FUN_00126fe0(lVar1,"static ");
    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&
        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&
       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {
      if (*(int *)(param_1 + 8) != 0) {
        uVar5 = 0;
        do {
          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);
          if (iVar2 == 0) {
            return 0;
          }
          uVar5 = uVar5 + 1;
        } while (uVar5 < *(uint *)(param_1 + 8));
      }
      lVar3 = FUN_00126930(lVar1);
      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {
        uVar4 = FUN_00127080(lVar1,lVar3);
        return uVar4;
      }
    }
  }
  return 0;
}


PUSH R14
PUSH R13
MOV R13D,ECX
PUSH R12
MOV R12,RDX
PUSH RBP
PUSH RBX
MOV RBX,RDI
CALL 0x00127110
TEST EAX,EAX
JNZ 0x00128908
POP RBX
XOR EAX,EAX
POP RBP
POP R12
POP R13
POP R14
RET
LEA RBP,[RBX + 0x10]
LEA RSI,[0x14584e]
MOV RDI,RBP
CALL 0x00126fe0
TEST EAX,EAX
JZ 0x001288fa
LEA RSI,[0x1458fa]
MOV RDI,RBP
CALL 0x00127080
TEST EAX,EAX
JZ 0x001288fa
MOV RSI,R12
MOV RDI,RBP
CALL 0x00127080
TEST EAX,EAX
JZ 0x001288fa
LEA RSI,[0x14574a]
MOV RDI,RBP
CALL 0x00127080
TEST EAX,EAX
JZ 0x001288fa
MOV EAX,dword ptr [RBX + 0x8]
TEST EAX,EAX
JZ 0x00128981
XOR R12D,R12D
LEA R14,[0x13d6b7]
NOP dword ptr [RAX]
MOV RSI,R14
MOV RDI,RBP
CALL 0x00127080
TEST EAX,EAX
JZ 0x001288fa
ADD R12D,0x1
CMP R12D,dword ptr [RBX + 0x8]
JC 0x00128968
MOV RDI,RBP
CALL 0x00126930
MOV R12,RAX
TEST RAX,RAX
JZ 0x001288fa
MOV ESI,R13D
MOV RDI,RBX
CALL 0x00127970
TEST EAX,EAX
JZ 0x001288fa
POP RBX
MOV RSI,R12
MOV RDI,RBP
POP RBP
POP R12
POP R13
POP R14
JMP 0x00127080
(translation_unit "undefined8 FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  \n  iVar2 = FUN_00127110();\n  if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  \n  iVar2 = FUN_00127110();\n  if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  \n  iVar2 = FUN_00127110();\n  if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar2 = FUN_00127110();" (assignment_expression "iVar2 = FUN_00127110()" identifier = (call_expression "FUN_00127110()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }" { (expression_statement "lVar1 = param_1 + 0x10;" (assignment_expression "lVar1 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar2 = FUN_00126fe0(lVar1,"static ");" (assignment_expression "iVar2 = FUN_00126fe0(lVar1,"static ")" identifier = (call_expression "FUN_00126fe0(lVar1,"static ")" identifier (argument_list "(lVar1,"static ")" ( identifier , (string_literal ""static "" " string_content ") )))) ;) (if_statement "if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }" if (parenthesized_expression "((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0))" ( (binary_expression "(((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)" (parenthesized_expression "(((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0))" ( (binary_expression "((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)" (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,&DAT_001458fa)" identifier = (call_expression "FUN_00127080(lVar1,&DAT_001458fa)" identifier (argument_list "(lVar1,&DAT_001458fa)" ( identifier , (pointer_expression "&DAT_001458fa" & identifier) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,param_3)" identifier = (call_expression "FUN_00127080(lVar1,param_3)" identifier (argument_list "(lVar1,param_3)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1," */\n")" identifier = (call_expression "FUN_00127080(lVar1," */\n")" identifier (argument_list "(lVar1," */\n")" ( identifier , (string_literal "" */\n"" " string_content escape_sequence ") )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }" { (if_statement "if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }" if (parenthesized_expression "(*(int *)(param_1 + 8) != 0)" ( (binary_expression "*(int *)(param_1 + 8) != 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));" do (compound_statement "{\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        }" { (expression_statement "iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);" (assignment_expression "iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7)" identifier = (call_expression "FUN_00127080(lVar1,&DAT_0013d6b7)" identifier (argument_list "(lVar1,&DAT_0013d6b7)" ( identifier , (pointer_expression "&DAT_0013d6b7" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n            return 0;\n          }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < *(uint *)(param_1 + 8))" ( (binary_expression "uVar5 < *(uint *)(param_1 + 8)" identifier < (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) ;) })) (expression_statement "lVar3 = FUN_00126930(lVar1);" (assignment_expression "lVar3 = FUN_00126930(lVar1)" identifier = (call_expression "FUN_00126930(lVar1)" identifier (argument_list "(lVar1)" ( identifier )))) ;) (if_statement "if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }" if (parenthesized_expression "((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0))" ( (binary_expression "(lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)" (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127970(param_1,param_4)" identifier = (call_expression "FUN_00127970(param_1,param_4)" identifier (argument_list "(param_1,param_4)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }" { (expression_statement "uVar4 = FUN_00127080(lVar1,lVar3);" (assignment_expression "uVar4 = FUN_00127080(lVar1,lVar3)" identifier = (call_expression "FUN_00127080(lVar1,lVar3)" identifier (argument_list "(lVar1,lVar3)" ( identifier , identifier )))) ;) (return_statement "return uVar4;" return identifier ;) })) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bfd_boolean pr_class_static_member(void *p,char *name,char *physname,debug_visibility visibility)\n\n{\n  pr_handle *info;\n  bfd_boolean bVar1;\n  char *s;\n  uint uVar2;\n  \n  bVar1 = substitute_type((pr_handle *)p,name);\n  if (bVar1 != 0) {\n    info = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info,"static ");\n    if ((((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)) &&\n       (bVar1 = append_type(info," */\n"), bVar1 != 0)) {\n      if (*(int *)((long)p + 8) != 0) {\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }\n      s = pop_type(info);\n      if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))\n      {\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "bfd_boolean pr_class_static_member(void *p,char *name,char *physname,debug_visibility visibility)\n\n{\n  pr_handle *info;\n  bfd_boolean bVar1;\n  char *s;\n  uint uVar2;\n  \n  bVar1 = substitute_type((pr_handle *)p,name);\n  if (bVar1 != 0) {\n    info = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info,"static ");\n    if ((((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)) &&\n       (bVar1 = append_type(info," */\n"), bVar1 != 0)) {\n      if (*(int *)((long)p + 8) != 0) {\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }\n      s = pop_type(info);\n      if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))\n      {\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "pr_class_static_member(void *p,char *name,char *physname,debug_visibility visibility)" identifier (parameter_list "(void *p,char *name,char *physname,debug_visibility visibility)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "char *physname" primitive_type (pointer_declarator "*physname" * identifier)) , (parameter_declaration "debug_visibility visibility" type_identifier identifier) ))) (compound_statement "{\n  pr_handle *info;\n  bfd_boolean bVar1;\n  char *s;\n  uint uVar2;\n  \n  bVar1 = substitute_type((pr_handle *)p,name);\n  if (bVar1 != 0) {\n    info = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info,"static ");\n    if ((((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)) &&\n       (bVar1 = append_type(info," */\n"), bVar1 != 0)) {\n      if (*(int *)((long)p + 8) != 0) {\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }\n      s = pop_type(info);\n      if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))\n      {\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "pr_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "bVar1 = substitute_type((pr_handle *)p,name);" (assignment_expression "bVar1 = substitute_type((pr_handle *)p,name)" identifier = (call_expression "substitute_type((pr_handle *)p,name)" identifier (argument_list "((pr_handle *)p,name)" ( (cast_expression "(pr_handle *)p" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if (bVar1 != 0) {\n    info = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info,"static ");\n    if ((((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)) &&\n       (bVar1 = append_type(info," */\n"), bVar1 != 0)) {\n      if (*(int *)((long)p + 8) != 0) {\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }\n      s = pop_type(info);\n      if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))\n      {\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }\n    }\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    info = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info,"static ");\n    if ((((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)) &&\n       (bVar1 = append_type(info," */\n"), bVar1 != 0)) {\n      if (*(int *)((long)p + 8) != 0) {\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }\n      s = pop_type(info);\n      if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))\n      {\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }\n    }\n  }" { (expression_statement "info = (pr_handle *)((long)p + 0x10);" (assignment_expression "info = (pr_handle *)((long)p + 0x10)" identifier = (cast_expression "(pr_handle *)((long)p + 0x10)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x10)" ( (binary_expression "(long)p + 0x10" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "bVar1 = prepend_type(info,"static ");" (assignment_expression "bVar1 = prepend_type(info,"static ")" identifier = (call_expression "prepend_type(info,"static ")" identifier (argument_list "(info,"static ")" ( identifier , (string_literal ""static "" " string_content ") )))) ;) (if_statement "if ((((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)) &&\n       (bVar1 = append_type(info," */\n"), bVar1 != 0)) {\n      if (*(int *)((long)p + 8) != 0) {\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }\n      s = pop_type(info);\n      if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))\n      {\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }\n    }" if (parenthesized_expression "((((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)) &&\n       (bVar1 = append_type(info," */\n"), bVar1 != 0))" ( (binary_expression "(((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)) &&\n       (bVar1 = append_type(info," */\n"), bVar1 != 0)" (parenthesized_expression "(((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0))" ( (binary_expression "((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)) &&\n        (bVar1 = append_type(info,physname), bVar1 != 0)" (parenthesized_expression "((bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0))" ( (binary_expression "(bVar1 != 0) && (bVar1 = append_type(info,"; /* "), bVar1 != 0)" (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(bVar1 = append_type(info,"; /* "), bVar1 != 0)" ( (comma_expression "bVar1 = append_type(info,"; /* "), bVar1 != 0" (assignment_expression "bVar1 = append_type(info,"; /* ")" identifier = (call_expression "append_type(info,"; /* ")" identifier (argument_list "(info,"; /* ")" ( identifier , (string_literal ""; /* "" " string_content ") )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(bVar1 = append_type(info,physname), bVar1 != 0)" ( (comma_expression "bVar1 = append_type(info,physname), bVar1 != 0" (assignment_expression "bVar1 = append_type(info,physname)" identifier = (call_expression "append_type(info,physname)" identifier (argument_list "(info,physname)" ( identifier , identifier )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(bVar1 = append_type(info," */\n"), bVar1 != 0)" ( (comma_expression "bVar1 = append_type(info," */\n"), bVar1 != 0" (assignment_expression "bVar1 = append_type(info," */\n")" identifier = (call_expression "append_type(info," */\n")" identifier (argument_list "(info," */\n")" ( identifier , (string_literal "" */\n"" " string_content escape_sequence ") )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (*(int *)((long)p + 8) != 0) {\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }\n      s = pop_type(info);\n      if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))\n      {\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }\n    }" { (if_statement "if (*(int *)((long)p + 8) != 0) {\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }" if (parenthesized_expression "(*(int *)((long)p + 8) != 0)" ( (binary_expression "*(int *)((long)p + 8) != 0" (pointer_expression "*(int *)((long)p + 8)" * (cast_expression "(int *)((long)p + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 8)" ( (binary_expression "(long)p + 8" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        uVar2 = 0;\n        do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));\n      }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        } while (uVar2 < *(uint *)((long)p + 8));" do (compound_statement "{\n          bVar1 = append_type(info," ");\n          if (bVar1 == 0) {\n            return 0;\n          }\n          uVar2 = uVar2 + 1;\n        }" { (expression_statement "bVar1 = append_type(info," ");" (assignment_expression "bVar1 = append_type(info," ")" identifier = (call_expression "append_type(info," ")" identifier (argument_list "(info," ")" ( identifier , (string_literal "" "" " string_content ") )))) ;) (if_statement "if (bVar1 == 0) {\n            return 0;\n          }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < *(uint *)((long)p + 8))" ( (binary_expression "uVar2 < *(uint *)((long)p + 8)" identifier < (pointer_expression "*(uint *)((long)p + 8)" * (cast_expression "(uint *)((long)p + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 8)" ( (binary_expression "(long)p + 8" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) )) ;) })) (expression_statement "s = pop_type(info);" (assignment_expression "s = pop_type(info)" identifier = (call_expression "pop_type(info)" identifier (argument_list "(info)" ( identifier )))) ;) (if_statement "if ((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))\n      {\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }" if (parenthesized_expression "((s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0))" ( (binary_expression "(s != (char *)0x0) && (bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0)" (parenthesized_expression "(s != (char *)0x0)" ( (binary_expression "s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0)" ( (comma_expression "bVar1 = pr_fix_visibility((pr_handle *)p,visibility), bVar1 != 0" (assignment_expression "bVar1 = pr_fix_visibility((pr_handle *)p,visibility)" identifier = (call_expression "pr_fix_visibility((pr_handle *)p,visibility)" identifier (argument_list "((pr_handle *)p,visibility)" ( (cast_expression "(pr_handle *)p" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        bVar1 = append_type(info,s);\n        return bVar1;\n      }" { (expression_statement "bVar1 = append_type(info,s);" (assignment_expression "bVar1 = append_type(info,s)" identifier = (call_expression "append_type(info,s)" identifier (argument_list "(info,s)" ( identifier , identifier )))) ;) (return_statement "return bVar1;" return identifier ;) })) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  \n  iVar2 = FUN_00127110();\n  if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  \n  iVar2 = FUN_00127110();\n  if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  \n  iVar2 = FUN_00127110();\n  if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar2 = FUN_00127110();" (assignment_expression "iVar2 = FUN_00127110()" identifier = (call_expression "FUN_00127110()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }" { (expression_statement "lVar1 = param_1 + 0x10;" (assignment_expression "lVar1 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar2 = FUN_00126fe0(lVar1,"static ");" (assignment_expression "iVar2 = FUN_00126fe0(lVar1,"static ")" identifier = (call_expression "FUN_00126fe0(lVar1,"static ")" identifier (argument_list "(lVar1,"static ")" ( identifier , (string_literal ""static "" " string_content ") )))) ;) (if_statement "if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }" if (parenthesized_expression "((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0))" ( (binary_expression "(((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)" (parenthesized_expression "(((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0))" ( (binary_expression "((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)" (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,&DAT_001458fa)" identifier = (call_expression "FUN_00127080(lVar1,&DAT_001458fa)" identifier (argument_list "(lVar1,&DAT_001458fa)" ( identifier , (pointer_expression "&DAT_001458fa" & identifier) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,param_3)" identifier = (call_expression "FUN_00127080(lVar1,param_3)" identifier (argument_list "(lVar1,param_3)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1," */\n")" identifier = (call_expression "FUN_00127080(lVar1," */\n")" identifier (argument_list "(lVar1," */\n")" ( identifier , (string_literal "" */\n"" " string_content escape_sequence ") )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }" { (if_statement "if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }" if (parenthesized_expression "(*(int *)(param_1 + 8) != 0)" ( (binary_expression "*(int *)(param_1 + 8) != 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));" do (compound_statement "{\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        }" { (expression_statement "iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);" (assignment_expression "iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7)" identifier = (call_expression "FUN_00127080(lVar1,&DAT_0013d6b7)" identifier (argument_list "(lVar1,&DAT_0013d6b7)" ( identifier , (pointer_expression "&DAT_0013d6b7" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n            return 0;\n          }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < *(uint *)(param_1 + 8))" ( (binary_expression "uVar5 < *(uint *)(param_1 + 8)" identifier < (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) ;) })) (expression_statement "lVar3 = FUN_00126930(lVar1);" (assignment_expression "lVar3 = FUN_00126930(lVar1)" identifier = (call_expression "FUN_00126930(lVar1)" identifier (argument_list "(lVar1)" ( identifier )))) ;) (if_statement "if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }" if (parenthesized_expression "((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0))" ( (binary_expression "(lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)" (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127970(param_1,param_4)" identifier = (call_expression "FUN_00127970(param_1,param_4)" identifier (argument_list "(param_1,param_4)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }" { (expression_statement "uVar4 = FUN_00127080(lVar1,lVar3);" (assignment_expression "uVar4 = FUN_00127080(lVar1,lVar3)" identifier = (call_expression "FUN_00127080(lVar1,lVar3)" identifier (argument_list "(lVar1,lVar3)" ( identifier , identifier )))) ;) (return_statement "return uVar4;" return identifier ;) })) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (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 = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) })) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  \n  iVar2 = FUN_00127110();\n  if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_001288e0(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)" (identifier "FUN_001288e0") (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  \n  iVar2 = FUN_00127110();\n  if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "iVar2 = FUN_00127110();" (assignment_expression "iVar2 = FUN_00127110()" (identifier "iVar2") (= "=") (call_expression "FUN_00127110()" (identifier "FUN_00127110") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar1 = param_1 + 0x10;\n    iVar2 = FUN_00126fe0(lVar1,"static ");\n    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }\n  }" ({ "{") (expression_statement "lVar1 = param_1 + 0x10;" (assignment_expression "lVar1 = param_1 + 0x10" (identifier "lVar1") (= "=") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "iVar2 = FUN_00126fe0(lVar1,"static ");" (assignment_expression "iVar2 = FUN_00126fe0(lVar1,"static ")" (identifier "iVar2") (= "=") (call_expression "FUN_00126fe0(lVar1,"static ")" (identifier "FUN_00126fe0") (argument_list "(lVar1,"static ")" (( "(") (identifier "lVar1") (, ",") (string_literal ""static "" (" """) (string_content "static ") (" """)) () ")")))) (; ";")) (if_statement "if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }" (if "if") (parenthesized_expression "((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0))" (( "(") (binary_expression "(((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&\n       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)" (parenthesized_expression "(((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0))" (( "(") (binary_expression "((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&\n        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)" (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0))" (( "(") (binary_expression "(iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,&DAT_001458fa)" (identifier "iVar2") (= "=") (call_expression "FUN_00127080(lVar1,&DAT_001458fa)" (identifier "FUN_00127080") (argument_list "(lVar1,&DAT_001458fa)" (( "(") (identifier "lVar1") (, ",") (pointer_expression "&DAT_001458fa" (& "&") (identifier "DAT_001458fa")) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,param_3)" (identifier "iVar2") (= "=") (call_expression "FUN_00127080(lVar1,param_3)" (identifier "FUN_00127080") (argument_list "(lVar1,param_3)" (( "(") (identifier "lVar1") (, ",") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1," */\n")" (identifier "iVar2") (= "=") (call_expression "FUN_00127080(lVar1," */\n")" (identifier "FUN_00127080") (argument_list "(lVar1," */\n")" (( "(") (identifier "lVar1") (, ",") (string_literal "" */\n"" (" """) (string_content " */") (escape_sequence "\n") (" """)) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }\n      lVar3 = FUN_00126930(lVar1);\n      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }\n    }" ({ "{") (if_statement "if (*(int *)(param_1 + 8) != 0) {\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 8) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 8) != 0" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = 0;\n        do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));\n      }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        } while (uVar5 < *(uint *)(param_1 + 8));" (do "do") (compound_statement "{\n          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          uVar5 = uVar5 + 1;\n        }" ({ "{") (expression_statement "iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);" (assignment_expression "iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7)" (identifier "iVar2") (= "=") (call_expression "FUN_00127080(lVar1,&DAT_0013d6b7)" (identifier "FUN_00127080") (argument_list "(lVar1,&DAT_0013d6b7)" (( "(") (identifier "lVar1") (, ",") (pointer_expression "&DAT_0013d6b7" (& "&") (identifier "DAT_0013d6b7")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n            return 0;\n          }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 < *(uint *)(param_1 + 8))" (( "(") (binary_expression "uVar5 < *(uint *)(param_1 + 8)" (identifier "uVar5") (< "<") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "lVar3 = FUN_00126930(lVar1);" (assignment_expression "lVar3 = FUN_00126930(lVar1)" (identifier "lVar3") (= "=") (call_expression "FUN_00126930(lVar1)" (identifier "FUN_00126930") (argument_list "(lVar1)" (( "(") (identifier "lVar1") () ")")))) (; ";")) (if_statement "if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }" (if "if") (parenthesized_expression "((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0))" (( "(") (binary_expression "(lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)" (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127970(param_1,param_4)" (identifier "iVar2") (= "=") (call_expression "FUN_00127970(param_1,param_4)" (identifier "FUN_00127970") (argument_list "(param_1,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_4") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        uVar4 = FUN_00127080(lVar1,lVar3);\n        return uVar4;\n      }" ({ "{") (expression_statement "uVar4 = FUN_00127080(lVar1,lVar3);" (assignment_expression "uVar4 = FUN_00127080(lVar1,lVar3)" (identifier "uVar4") (= "=") (call_expression "FUN_00127080(lVar1,lVar3)" (identifier "FUN_00127080") (argument_list "(lVar1,lVar3)" (( "(") (identifier "lVar1") (, ",") (identifier "lVar3") () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 function_1(void *p,char *name,char *physname,type_2 visibility)

{
  type_3 *info;
  type_1 var_2;
  char *var_7;
  type_4 var_5;
  
  var_2 = var_1((type_3 *)p,name);
  if (var_2 != 0) {
    info = (type_3 *)((long)p + 0x10);
    var_2 = var_3(info,"static ");
    if ((((var_2 != 0) && (var_2 = var_4(info,"; /* "), var_2 != 0)) &&
        (var_2 = var_4(info,physname), var_2 != 0)) &&
       (var_2 = var_4(info," */\n"), var_2 != 0)) {
      if (*(int *)((long)p + 8) != 0) {
        var_5 = 0;
        do {
          var_2 = var_4(info," ");
          if (var_2 == 0) {
            return 0;
          }
          var_5 = var_5 + 1;
        } while (var_5 < *(type_4 *)((long)p + 8));
      }
      var_7 = var_6(info);
      if ((var_7 != (char *)0x0) && (var_2 = var_8((type_3 *)p,visibility), var_2 != 0))
      {
        var_2 = var_4(info,var_7);
        return var_2;
      }
    }
  }
  return 0;
}


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

undefined8 MASKED(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)

{
  long lVar1;
  int iVar2;
  long lVar3;
  undefined8 uVar4;
  uint uVar5;
  
  iVar2 = FUN_00127110();
  if (iVar2 != 0) {
    lVar1 = param_1 + 0x10;
    iVar2 = FUN_00126fe0(lVar1,"static ");
    if ((((iVar2 != 0) && (iVar2 = FUN_00127080(lVar1,&DAT_001458fa), iVar2 != 0)) &&
        (iVar2 = FUN_00127080(lVar1,param_3), iVar2 != 0)) &&
       (iVar2 = FUN_00127080(lVar1," */\n"), iVar2 != 0)) {
      if (*(int *)(param_1 + 8) != 0) {
        uVar5 = 0;
        do {
          iVar2 = FUN_00127080(lVar1,&DAT_0013d6b7);
          if (iVar2 == 0) {
            return 0;
          }
          uVar5 = uVar5 + 1;
        } while (uVar5 < *(uint *)(param_1 + 8));
      }
      lVar3 = FUN_00126930(lVar1);
      if ((lVar3 != 0) && (iVar2 = FUN_00127970(param_1,param_4), iVar2 != 0)) {
        uVar4 = FUN_00127080(lVar1,lVar3);
        return uVar4;
      }
    }
  }
  return 0;
}

