
void __regparm3 setJoinExpr(Expr *p,int iTable)

{
  ExprList *pEVar1;
  int iVar2;
  int iVar3;
  
  if (p == (Expr *)0x0) {
    return;
  }
  do {
    p->flags = p->flags | 1;
    p->iRightJoinTable = (i16)iTable;
    if (((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&
       (0 < pEVar1->nExpr)) {
      iVar2 = 0;
      do {
        iVar3 = iVar2 + 1;
        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);
        pEVar1 = (p->x).pList;
        iVar2 = iVar3;
      } while (iVar3 < pEVar1->nExpr);
    }
    setJoinExpr(p->pLeft,iTable);
    p = p->pRight;
  } while (p != (Expr *)0x0);
  return;
}



void __regparm3 FUN_00039da0(char *param_1,undefined2 param_2)

{
  int iVar1;
  
  if (param_1 == (char *)0x0) {
    return;
  }
  do {
    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;
    *(undefined2 *)(param_1 + 0x26) = param_2;
    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&
       (0 < **(int **)(param_1 + 0x14))) {
      iVar1 = 0;
      do {
        iVar1 = iVar1 + 1;
        FUN_00039da0();
      } while (iVar1 < **(int **)(param_1 + 0x14));
    }
    FUN_00039da0();
    param_1 = *(char **)(param_1 + 0x10);
  } while (param_1 != (char *)0x0);
  return;
}


TEST EAX,EAX
JZ 0x00039e10
PUSH EBP
MOV EBP,EDX
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
MOV EBX,EAX
SUB ESP,0xc
OR dword ptr [EBX + 0x4],0x1
CMP byte ptr [EBX],0x9d
MOV word ptr [EBX + 0x26],BP
JZ 0x00039de0
MOV EAX,dword ptr [EBX + 0xc]
MOV EDX,ESI
CALL 0x00039da0
MOV EBX,dword ptr [EBX + 0x10]
TEST EBX,EBX
JNZ 0x00039db1
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBX + 0x14]
TEST EAX,EAX
JZ 0x00039dbe
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JLE 0x00039dbe
XOR EDI,EDI
LEA ECX,[EDI + EDI*0x4]
MOV EDX,ESI
ADD EDI,0x1
MOV EAX,dword ptr [EAX + ECX*0x4 + 0x4]
CALL 0x00039da0
MOV EAX,dword ptr [EBX + 0x14]
CMP dword ptr [EAX],EDI
JG 0x00039def
JMP 0x00039dbe
RET
(translation_unit "void __regparm3 FUN_00039da0(char *param_1,undefined2 param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (char *)0x0) {\n    return;\n  }\n  do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00039da0(char *param_1,undefined2 param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (char *)0x0) {\n    return;\n  }\n  do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00039da0(char *param_1,undefined2 param_2)" identifier (parameter_list "(char *param_1,undefined2 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined2 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (char *)0x0) {\n    return;\n  }\n  do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);" do (compound_statement "{\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  }" { (expression_statement "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;" (assignment_expression "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 4) | 1" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(undefined2 *)(param_1 + 0x26) = param_2;" (assignment_expression "*(undefined2 *)(param_1 + 0x26) = param_2" (pointer_expression "*(undefined2 *)(param_1 + 0x26)" * (cast_expression "(undefined2 *)(param_1 + 0x26)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x26)" ( (binary_expression "param_1 + 0x26" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }" if (parenthesized_expression "(((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14)))" ( (binary_expression "((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))" (parenthesized_expression "((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0))" ( (binary_expression "(*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)" (parenthesized_expression "(*param_1 == -99)" ( (binary_expression "*param_1 == -99" (pointer_expression "*param_1" * identifier) == number_literal) )) && (parenthesized_expression "(*(int **)(param_1 + 0x14) != (int *)0x0)" ( (binary_expression "*(int **)(param_1 + 0x14) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(0 < **(int **)(param_1 + 0x14))" ( (binary_expression "0 < **(int **)(param_1 + 0x14)" number_literal < (pointer_expression "**(int **)(param_1 + 0x14)" * (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));" do (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00039da0();" (call_expression "FUN_00039da0()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar1 < **(int **)(param_1 + 0x14))" ( (binary_expression "iVar1 < **(int **)(param_1 + 0x14)" identifier < (pointer_expression "**(int **)(param_1 + 0x14)" * (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))))) )) ;) })) (expression_statement "FUN_00039da0();" (call_expression "FUN_00039da0()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1 = *(char **)(param_1 + 0x10);" (assignment_expression "param_1 = *(char **)(param_1 + 0x10)" identifier = (pointer_expression "*(char **)(param_1 + 0x10)" * (cast_expression "(char **)(param_1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 setJoinExpr(Expr *p,int iTable)\n\n{\n  ExprList *pEVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (p == (Expr *)0x0) {\n    return;\n  }\n  do {\n    p->flags = p->flags | 1;\n    p->iRightJoinTable = (i16)iTable;\n    if (((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&\n       (0 < pEVar1->nExpr)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      } while (iVar3 < pEVar1->nExpr);\n    }\n    setJoinExpr(p->pLeft,iTable);\n    p = p->pRight;\n  } while (p != (Expr *)0x0);\n  return;\n}\n\n" (function_definition "void __regparm3 setJoinExpr(Expr *p,int iTable)\n\n{\n  ExprList *pEVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (p == (Expr *)0x0) {\n    return;\n  }\n  do {\n    p->flags = p->flags | 1;\n    p->iRightJoinTable = (i16)iTable;\n    if (((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&\n       (0 < pEVar1->nExpr)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      } while (iVar3 < pEVar1->nExpr);\n    }\n    setJoinExpr(p->pLeft,iTable);\n    p = p->pRight;\n  } while (p != (Expr *)0x0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "setJoinExpr(Expr *p,int iTable)" identifier (parameter_list "(Expr *p,int iTable)" ( (parameter_declaration "Expr *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "int iTable" primitive_type identifier) ))) (compound_statement "{\n  ExprList *pEVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (p == (Expr *)0x0) {\n    return;\n  }\n  do {\n    p->flags = p->flags | 1;\n    p->iRightJoinTable = (i16)iTable;\n    if (((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&\n       (0 < pEVar1->nExpr)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      } while (iVar3 < pEVar1->nExpr);\n    }\n    setJoinExpr(p->pLeft,iTable);\n    p = p->pRight;\n  } while (p != (Expr *)0x0);\n  return;\n}" { (declaration "ExprList *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (p == (Expr *)0x0) {\n    return;\n  }" if (parenthesized_expression "(p == (Expr *)0x0)" ( (binary_expression "p == (Expr *)0x0" identifier == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    p->flags = p->flags | 1;\n    p->iRightJoinTable = (i16)iTable;\n    if (((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&\n       (0 < pEVar1->nExpr)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      } while (iVar3 < pEVar1->nExpr);\n    }\n    setJoinExpr(p->pLeft,iTable);\n    p = p->pRight;\n  } while (p != (Expr *)0x0);" do (compound_statement "{\n    p->flags = p->flags | 1;\n    p->iRightJoinTable = (i16)iTable;\n    if (((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&\n       (0 < pEVar1->nExpr)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      } while (iVar3 < pEVar1->nExpr);\n    }\n    setJoinExpr(p->pLeft,iTable);\n    p = p->pRight;\n  }" { (expression_statement "p->flags = p->flags | 1;" (assignment_expression "p->flags = p->flags | 1" (field_expression "p->flags" identifier -> field_identifier) = (binary_expression "p->flags | 1" (field_expression "p->flags" identifier -> field_identifier) | number_literal)) ;) (expression_statement "p->iRightJoinTable = (i16)iTable;" (assignment_expression "p->iRightJoinTable = (i16)iTable" (field_expression "p->iRightJoinTable" identifier -> field_identifier) = (cast_expression "(i16)iTable" ( (type_descriptor "i16" type_identifier) ) identifier)) ;) (if_statement "if (((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&\n       (0 < pEVar1->nExpr)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      } while (iVar3 < pEVar1->nExpr);\n    }" if (parenthesized_expression "(((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&\n       (0 < pEVar1->nExpr))" ( (binary_expression "((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)) &&\n       (0 < pEVar1->nExpr)" (parenthesized_expression "((p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0))" ( (binary_expression "(p->op == 0x9d) && (pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)" (parenthesized_expression "(p->op == 0x9d)" ( (binary_expression "p->op == 0x9d" (field_expression "p->op" identifier -> field_identifier) == number_literal) )) && (parenthesized_expression "(pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0)" ( (comma_expression "pEVar1 = (p->x).pList, pEVar1 != (ExprList *)0x0" (assignment_expression "pEVar1 = (p->x).pList" identifier = (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "pEVar1 != (ExprList *)0x0" identifier != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(0 < pEVar1->nExpr)" ( (binary_expression "0 < pEVar1->nExpr" number_literal < (field_expression "pEVar1->nExpr" identifier -> field_identifier)) ))) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      } while (iVar3 < pEVar1->nExpr);\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      } while (iVar3 < pEVar1->nExpr);" do (compound_statement "{\n        iVar3 = iVar2 + 1;\n        setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);\n        pEVar1 = (p->x).pList;\n        iVar2 = iVar3;\n      }" { (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "setJoinExpr(pEVar1->a[iVar2].pExpr,iTable);" (call_expression "setJoinExpr(pEVar1->a[iVar2].pExpr,iTable)" identifier (argument_list "(pEVar1->a[iVar2].pExpr,iTable)" ( (field_expression "pEVar1->a[iVar2].pExpr" (subscript_expression "pEVar1->a[iVar2]" (field_expression "pEVar1->a" identifier -> field_identifier) [ identifier ]) . field_identifier) , identifier ))) ;) (expression_statement "pEVar1 = (p->x).pList;" (assignment_expression "pEVar1 = (p->x).pList" identifier = (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 < pEVar1->nExpr)" ( (binary_expression "iVar3 < pEVar1->nExpr" identifier < (field_expression "pEVar1->nExpr" identifier -> field_identifier)) )) ;) })) (expression_statement "setJoinExpr(p->pLeft,iTable);" (call_expression "setJoinExpr(p->pLeft,iTable)" identifier (argument_list "(p->pLeft,iTable)" ( (field_expression "p->pLeft" identifier -> field_identifier) , identifier ))) ;) (expression_statement "p = p->pRight;" (assignment_expression "p = p->pRight" identifier = (field_expression "p->pRight" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(p != (Expr *)0x0)" ( (binary_expression "p != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00039da0(char *param_1,undefined2 param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (char *)0x0) {\n    return;\n  }\n  do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00039da0(char *param_1,undefined2 param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (char *)0x0) {\n    return;\n  }\n  do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00039da0(char *param_1,undefined2 param_2)" identifier (parameter_list "(char *param_1,undefined2 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined2 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (char *)0x0) {\n    return;\n  }\n  do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);" do (compound_statement "{\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  }" { (expression_statement "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;" (assignment_expression "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 4) | 1" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(undefined2 *)(param_1 + 0x26) = param_2;" (assignment_expression "*(undefined2 *)(param_1 + 0x26) = param_2" (pointer_expression "*(undefined2 *)(param_1 + 0x26)" * (cast_expression "(undefined2 *)(param_1 + 0x26)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x26)" ( (binary_expression "param_1 + 0x26" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }" if (parenthesized_expression "(((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14)))" ( (binary_expression "((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))" (parenthesized_expression "((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0))" ( (binary_expression "(*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)" (parenthesized_expression "(*param_1 == -99)" ( (binary_expression "*param_1 == -99" (pointer_expression "*param_1" * identifier) == number_literal) )) && (parenthesized_expression "(*(int **)(param_1 + 0x14) != (int *)0x0)" ( (binary_expression "*(int **)(param_1 + 0x14) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(0 < **(int **)(param_1 + 0x14))" ( (binary_expression "0 < **(int **)(param_1 + 0x14)" number_literal < (pointer_expression "**(int **)(param_1 + 0x14)" * (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));" do (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00039da0();" (call_expression "FUN_00039da0()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar1 < **(int **)(param_1 + 0x14))" ( (binary_expression "iVar1 < **(int **)(param_1 + 0x14)" identifier < (pointer_expression "**(int **)(param_1 + 0x14)" * (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))))) )) ;) })) (expression_statement "FUN_00039da0();" (call_expression "FUN_00039da0()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1 = *(char **)(param_1 + 0x10);" (assignment_expression "param_1 = *(char **)(param_1 + 0x10)" identifier = (pointer_expression "*(char **)(param_1 + 0x10)" * (cast_expression "(char **)(param_1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) && (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00039da0(char *param_1,undefined2 param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (char *)0x0) {\n    return;\n  }\n  do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00039da0(char *param_1,undefined2 param_2)" (identifier "FUN_00039da0") (parameter_list "(char *param_1,undefined2 param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined2 param_2" (type_identifier "undefined2") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (char *)0x0) {\n    return;\n  }\n  do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == (char *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  } while (param_1 != (char *)0x0);" (do "do") (compound_statement "{\n    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;\n    *(undefined2 *)(param_1 + 0x26) = param_2;\n    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }\n    FUN_00039da0();\n    param_1 = *(char **)(param_1 + 0x10);\n  }" ({ "{") (expression_statement "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;" (assignment_expression "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 4) | 1" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (| "|") (number_literal "1"))) (; ";")) (expression_statement "*(undefined2 *)(param_1 + 0x26) = param_2;" (assignment_expression "*(undefined2 *)(param_1 + 0x26) = param_2" (pointer_expression "*(undefined2 *)(param_1 + 0x26)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x26)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x26)" (( "(") (binary_expression "param_1 + 0x26" (identifier "param_1") (+ "+") (number_literal "0x26")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (if_statement "if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))) {\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }" (if "if") (parenthesized_expression "(((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14)))" (( "(") (binary_expression "((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&\n       (0 < **(int **)(param_1 + 0x14))" (parenthesized_expression "((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0))" (( "(") (binary_expression "(*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)" (parenthesized_expression "(*param_1 == -99)" (( "(") (binary_expression "*param_1 == -99" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "-99")) () ")")) (&& "&&") (parenthesized_expression "(*(int **)(param_1 + 0x14) != (int *)0x0)" (( "(") (binary_expression "*(int **)(param_1 + 0x14) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x14)" (* "*") (cast_expression "(int **)(param_1 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(0 < **(int **)(param_1 + 0x14))" (( "(") (binary_expression "0 < **(int **)(param_1 + 0x14)" (number_literal "0") (< "<") (pointer_expression "**(int **)(param_1 + 0x14)" (* "*") (pointer_expression "*(int **)(param_1 + 0x14)" (* "*") (cast_expression "(int **)(param_1 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));\n    }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      } while (iVar1 < **(int **)(param_1 + 0x14));" (do "do") (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_00039da0();\n      }" ({ "{") (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00039da0();" (call_expression "FUN_00039da0()" (identifier "FUN_00039da0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 < **(int **)(param_1 + 0x14))" (( "(") (binary_expression "iVar1 < **(int **)(param_1 + 0x14)" (identifier "iVar1") (< "<") (pointer_expression "**(int **)(param_1 + 0x14)" (* "*") (pointer_expression "*(int **)(param_1 + 0x14)" (* "*") (cast_expression "(int **)(param_1 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))))) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_00039da0();" (call_expression "FUN_00039da0()" (identifier "FUN_00039da0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "param_1 = *(char **)(param_1 + 0x10);" (assignment_expression "param_1 = *(char **)(param_1 + 0x10)" (identifier "param_1") (= "=") (pointer_expression "*(char **)(param_1 + 0x10)" (* "*") (cast_expression "(char **)(param_1 + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *var_1,int iTable)

{
  type_2 *var_2;
  int var_3;
  int var_4;
  
  if (var_1 == (type_1 *)0x0) {
    return;
  }
  do {
    var_1->flags = var_1->flags | 1;
    var_1->iRightJoinTable = (type_3)iTable;
    if (((var_1->op == 0x9d) && (var_2 = (var_1->x).pList, var_2 != (type_2 *)0x0)) &&
       (0 < var_2->nExpr)) {
      var_3 = 0;
      do {
        var_4 = var_3 + 1;
        function_1(var_2->a[var_3].pExpr,iTable);
        var_2 = (var_1->x).pList;
        var_3 = var_4;
      } while (var_4 < var_2->nExpr);
    }
    function_1(var_1->pLeft,iTable);
    var_1 = var_1->pRight;
  } while (var_1 != (type_1 *)0x0);
  return;
}


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

void __regparm3 MASKED(char *param_1,undefined2 param_2)

{
  int iVar1;
  
  if (param_1 == (char *)0x0) {
    return;
  }
  do {
    *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | 1;
    *(undefined2 *)(param_1 + 0x26) = param_2;
    if (((*param_1 == -99) && (*(int **)(param_1 + 0x14) != (int *)0x0)) &&
       (0 < **(int **)(param_1 + 0x14))) {
      iVar1 = 0;
      do {
        iVar1 = iVar1 + 1;
        MASKED();
      } while (iVar1 < **(int **)(param_1 + 0x14));
    }
    MASKED();
    param_1 = *(char **)(param_1 + 0x10);
  } while (param_1 != (char *)0x0);
  return;
}

