
void __regparm3 resizeResolveLabel(Parse *p,Vdbe *v,int j)

{
  int *piVar1;
  int iVar2;
  
  iVar2 = 10 - p->nLabel;
  piVar1 = (int *)sqlite3DbReallocOrFree(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4));
  p->aLabel = piVar1;
  if (piVar1 != (int *)0x0) {
    p->nLabelAlloc = iVar2;
    piVar1[j] = (int)v->db;
    return;
  }
  p->nLabelAlloc = 0;
  return;
}



void __regparm3 FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)

{
  int iVar1;
  int iVar2;
  
  iVar2 = 10 - *(int *)(param_1 + 0x38);
  iVar1 = FUN_00062560(iVar2 * 4,0);
  *(int *)(param_1 + 0x40) = iVar1;
  if (iVar1 != 0) {
    *(int *)(param_1 + 0x3c) = iVar2;
    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;
    return;
  }
  *(undefined4 *)(param_1 + 0x3c) = 0;
  return;
}


PUSH EBP
MOV EBP,EDX
XOR EDX,EDX
PUSH EDI
MOV EDI,ECX
PUSH ESI
MOV ESI,0xa
PUSH EBX
MOV EBX,EAX
SUB ESP,0x14
SUB ESI,dword ptr [EAX + 0x38]
LEA EAX,[ESI*0x4 + 0x0]
PUSH EDX
MOV EDX,dword ptr [EBX + 0x40]
PUSH EAX
MOV EAX,dword ptr [EBX]
CALL 0x00062560
ADD ESP,0x10
MOV dword ptr [EBX + 0x40],EAX
TEST EAX,EAX
JZ 0x00065c38
MOV dword ptr [EBX + 0x3c],ESI
MOV EDX,dword ptr [EBP]
MOV dword ptr [EAX + EDI*0x4],EDX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EBX + 0x3c],0x0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void __regparm3 FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 10 - *(int *)(param_1 + 0x38);\n  iVar1 = FUN_00062560(iVar2 * 4,0);\n  *(int *)(param_1 + 0x40) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 10 - *(int *)(param_1 + 0x38);\n  iVar1 = FUN_00062560(iVar2 * 4,0);\n  *(int *)(param_1 + 0x40) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 10 - *(int *)(param_1 + 0x38);\n  iVar1 = FUN_00062560(iVar2 * 4,0);\n  *(int *)(param_1 + 0x40) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = 10 - *(int *)(param_1 + 0x38);" (assignment_expression "iVar2 = 10 - *(int *)(param_1 + 0x38)" identifier = (binary_expression "10 - *(int *)(param_1 + 0x38)" number_literal - (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))))) ;) (expression_statement "iVar1 = FUN_00062560(iVar2 * 4,0);" (assignment_expression "iVar1 = FUN_00062560(iVar2 * 4,0)" identifier = (call_expression "FUN_00062560(iVar2 * 4,0)" identifier (argument_list "(iVar2 * 4,0)" ( (binary_expression "iVar2 * 4" identifier * number_literal) , number_literal )))) ;) (expression_statement "*(int *)(param_1 + 0x40) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x40) = iVar1" (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x3c) = iVar2;" (assignment_expression "*(int *)(param_1 + 0x3c) = iVar2" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + param_3 * 4) = *param_2;" (assignment_expression "*(undefined4 *)(iVar1 + param_3 * 4) = *param_2" (pointer_expression "*(undefined4 *)(iVar1 + param_3 * 4)" * (cast_expression "(undefined4 *)(iVar1 + param_3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_3 * 4)" ( (binary_expression "iVar1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) )))) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 resizeResolveLabel(Parse *p,Vdbe *v,int j)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  iVar2 = 10 - p->nLabel;\n  piVar1 = (int *)sqlite3DbReallocOrFree(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4));\n  p->aLabel = piVar1;\n  if (piVar1 != (int *)0x0) {\n    p->nLabelAlloc = iVar2;\n    piVar1[j] = (int)v->db;\n    return;\n  }\n  p->nLabelAlloc = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 resizeResolveLabel(Parse *p,Vdbe *v,int j)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  iVar2 = 10 - p->nLabel;\n  piVar1 = (int *)sqlite3DbReallocOrFree(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4));\n  p->aLabel = piVar1;\n  if (piVar1 != (int *)0x0) {\n    p->nLabelAlloc = iVar2;\n    piVar1[j] = (int)v->db;\n    return;\n  }\n  p->nLabelAlloc = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "resizeResolveLabel(Parse *p,Vdbe *v,int j)" identifier (parameter_list "(Parse *p,Vdbe *v,int j)" ( (parameter_declaration "Parse *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "Vdbe *v" type_identifier (pointer_declarator "*v" * identifier)) , (parameter_declaration "int j" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  iVar2 = 10 - p->nLabel;\n  piVar1 = (int *)sqlite3DbReallocOrFree(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4));\n  p->aLabel = piVar1;\n  if (piVar1 != (int *)0x0) {\n    p->nLabelAlloc = iVar2;\n    piVar1[j] = (int)v->db;\n    return;\n  }\n  p->nLabelAlloc = 0;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = 10 - p->nLabel;" (assignment_expression "iVar2 = 10 - p->nLabel" identifier = (binary_expression "10 - p->nLabel" number_literal - (field_expression "p->nLabel" identifier -> field_identifier))) ;) (expression_statement "piVar1 = (int *)sqlite3DbReallocOrFree(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4));" (assignment_expression "piVar1 = (int *)sqlite3DbReallocOrFree(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4))" identifier = (cast_expression "(int *)sqlite3DbReallocOrFree(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3DbReallocOrFree(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4))" identifier (argument_list "(p->db,p->aLabel,(ulonglong)(uint)(iVar2 * 4))" ( (field_expression "p->db" identifier -> field_identifier) , (field_expression "p->aLabel" identifier -> field_identifier) , (call_expression "(ulonglong)(uint)(iVar2 * 4)" (call_expression "(ulonglong)(uint)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(iVar2 * 4)" ( (binary_expression "iVar2 * 4" identifier * number_literal) ))) ))))) ;) (expression_statement "p->aLabel = piVar1;" (assignment_expression "p->aLabel = piVar1" (field_expression "p->aLabel" identifier -> field_identifier) = identifier) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    p->nLabelAlloc = iVar2;\n    piVar1[j] = (int)v->db;\n    return;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p->nLabelAlloc = iVar2;\n    piVar1[j] = (int)v->db;\n    return;\n  }" { (expression_statement "p->nLabelAlloc = iVar2;" (assignment_expression "p->nLabelAlloc = iVar2" (field_expression "p->nLabelAlloc" identifier -> field_identifier) = identifier) ;) (expression_statement "piVar1[j] = (int)v->db;" (assignment_expression "piVar1[j] = (int)v->db" (subscript_expression "piVar1[j]" identifier [ identifier ]) = (cast_expression "(int)v->db" ( (type_descriptor "int" primitive_type) ) (field_expression "v->db" identifier -> field_identifier))) ;) (return_statement "return;" return ;) })) (expression_statement "p->nLabelAlloc = 0;" (assignment_expression "p->nLabelAlloc = 0" (field_expression "p->nLabelAlloc" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 10 - *(int *)(param_1 + 0x38);\n  iVar1 = FUN_00062560(iVar2 * 4,0);\n  *(int *)(param_1 + 0x40) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 10 - *(int *)(param_1 + 0x38);\n  iVar1 = FUN_00062560(iVar2 * 4,0);\n  *(int *)(param_1 + 0x40) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 10 - *(int *)(param_1 + 0x38);\n  iVar1 = FUN_00062560(iVar2 * 4,0);\n  *(int *)(param_1 + 0x40) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = 10 - *(int *)(param_1 + 0x38);" (assignment_expression "iVar2 = 10 - *(int *)(param_1 + 0x38)" identifier = (binary_expression "10 - *(int *)(param_1 + 0x38)" number_literal - (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))))) ;) (expression_statement "iVar1 = FUN_00062560(iVar2 * 4,0);" (assignment_expression "iVar1 = FUN_00062560(iVar2 * 4,0)" identifier = (call_expression "FUN_00062560(iVar2 * 4,0)" identifier (argument_list "(iVar2 * 4,0)" ( (binary_expression "iVar2 * 4" identifier * number_literal) , number_literal )))) ;) (expression_statement "*(int *)(param_1 + 0x40) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x40) = iVar1" (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x3c) = iVar2;" (assignment_expression "*(int *)(param_1 + 0x3c) = iVar2" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + param_3 * 4) = *param_2;" (assignment_expression "*(undefined4 *)(iVar1 + param_3 * 4) = *param_2" (pointer_expression "*(undefined4 *)(iVar1 + param_3 * 4)" * (cast_expression "(undefined4 *)(iVar1 + param_3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_3 * 4)" ( (binary_expression "iVar1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) )))) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT - (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 ( (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 IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (pointer_expression * IDENT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 10 - *(int *)(param_1 + 0x38);\n  iVar1 = FUN_00062560(iVar2 * 4,0);\n  *(int *)(param_1 + 0x40) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00065bf0(int param_1,undefined4 *param_2,int param_3)" (identifier "FUN_00065bf0") (parameter_list "(int param_1,undefined4 *param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 10 - *(int *)(param_1 + 0x38);\n  iVar1 = FUN_00062560(iVar2 * 4,0);\n  *(int *)(param_1 + 0x40) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = 10 - *(int *)(param_1 + 0x38);" (assignment_expression "iVar2 = 10 - *(int *)(param_1 + 0x38)" (identifier "iVar2") (= "=") (binary_expression "10 - *(int *)(param_1 + 0x38)" (number_literal "10") (- "-") (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))))) (; ";")) (expression_statement "iVar1 = FUN_00062560(iVar2 * 4,0);" (assignment_expression "iVar1 = FUN_00062560(iVar2 * 4,0)" (identifier "iVar1") (= "=") (call_expression "FUN_00062560(iVar2 * 4,0)" (identifier "FUN_00062560") (argument_list "(iVar2 * 4,0)" (( "(") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x40) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x40) = iVar1" (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar1 != 0) {\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x3c) = iVar2;\n    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x3c) = iVar2;" (assignment_expression "*(int *)(param_1 + 0x3c) = iVar2" (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + param_3 * 4) = *param_2;" (assignment_expression "*(undefined4 *)(iVar1 + param_3 * 4) = *param_2" (pointer_expression "*(undefined4 *)(iVar1 + param_3 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + param_3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_3 * 4)" (( "(") (binary_expression "iVar1 + param_3 * 4" (identifier "iVar1") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *p,type_2 *v,int j)

{
  int *var_3;
  int var_2;
  
  var_2 = 10 - p->nLabel;
  var_3 = (int *)var_1(p->db,p->aLabel,(ulonglong)(uint)(var_2 * 4));
  p->aLabel = var_3;
  if (var_3 != (int *)0x0) {
    p->nLabelAlloc = var_2;
    var_3[j] = (int)v->db;
    return;
  }
  p->nLabelAlloc = 0;
  return;
}


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

void __regparm3 MASKED(int param_1,undefined4 *param_2,int param_3)

{
  int iVar1;
  int iVar2;
  
  iVar2 = 10 - *(int *)(param_1 + 0x38);
  iVar1 = FUN_00062560(iVar2 * 4,0);
  *(int *)(param_1 + 0x40) = iVar1;
  if (iVar1 != 0) {
    *(int *)(param_1 + 0x3c) = iVar2;
    *(undefined4 *)(iVar1 + param_3 * 4) = *param_2;
    return;
  }
  *(undefined4 *)(param_1 + 0x3c) = 0;
  return;
}

