
void addModuleArgument(Parse *pParse,Table *pTable,char *zArg)

{
  char **ppcVar1;
  int iVar2;
  sqlite3 *db;
  undefined1 *puVar3;
  undefined4 in_stack_ffffffe4;
  
  puVar3 = &_gp;
  db = pParse->db;
  if (db->aLimit[2] <= pTable->nModuleArg + 3) {
    sqlite3ErrorMsg(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName);
  }
  ppcVar1 = (char **)sqlite3DbRealloc(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4));
  if (ppcVar1 == (char **)0x0) {
    (*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))(db,zArg);
  }
  else {
    iVar2 = pTable->nModuleArg;
    pTable->nModuleArg = iVar2 + 1;
    ppcVar1[iVar2] = zArg;
    (ppcVar1 + iVar2)[1] = (char *)0x0;
    pTable->azModuleArg = ppcVar1;
  }
  return;
}



void FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 *puVar2;
  int iVar3;
  
  iVar1 = param_2[0xe];
  iVar3 = *param_1;
  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {
    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);
  }
  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);
  if (iVar1 == 0) {
    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);
  }
  else {
    iVar3 = param_2[0xe];
    param_2[0xe] = iVar3 + 1;
    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);
    *puVar2 = param_3;
    puVar2[1] = 0;
    param_2[0xf] = iVar1;
  }
  return;
}


lui gp,0xb
addiu gp,gp,0x380
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s0,a1,zero
or s1,a2,zero
lw v0,0x38(a1)
addiu s2,v0,0x2
lw s3,0x0(a0)
addiu v0,v0,0x3
lw v1,0x74(s3)
slt v0,v0,v1
beq v0,zero,0x0004dfd8
_sll s2,s2,0x2
or a2,zero,zero
or a3,s2,zero
lw a1,0x3c(s0)
or a0,s3,zero
lw t9,-0x7f90(gp)
addiu t9,t9,-0x6f3c
bal 0x000390c4
_nop
lw gp,0x10(sp)
beq v0,zero,0x0004e000
_or a1,s1,zero
lw v1,0x38(s0)
addiu a0,v1,0x1
sw a0,0x38(s0)
sll v1,v1,0x2
addu v1,v0,v1
sw s1,0x0(v1)
sw zero,0x4(v1)
sw v0,0x3c(s0)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw a2,0x0(a1)
lw a1,-0x7fcc(gp)
addiu a1,a1,-0x76f8
lw t9,-0x7fb0(gp)
addiu t9,t9,-0x2b28
bal 0x0004d4d8
_nop
lw gp,0x10(sp)
b 0x0004df74
_or a2,zero,zero
or a0,s3,zero
lw t9,-0x7f9c(gp)
addiu t9,t9,-0x2eec
jalr t9
_nop
lw gp,0x10(sp)
b 0x0004dfc0
_lw ra,0x2c(sp)
(translation_unit "void FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  iVar1 = param_2[0xe];\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }\n  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);\n  if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  iVar1 = param_2[0xe];\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }\n  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);\n  if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,undefined4 *param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  iVar1 = param_2[0xe];\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }\n  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);\n  if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar1 = param_2[0xe];" (assignment_expression "iVar1 = param_2[0xe]" identifier = (subscript_expression "param_2[0xe]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 0x74) <= iVar1 + 3)" ( (binary_expression "*(int *)(iVar3 + 0x74) <= iVar1 + 3" (pointer_expression "*(int *)(iVar3 + 0x74)" * (cast_expression "(int *)(iVar3 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x74)" ( (binary_expression "iVar3 + 0x74" identifier + number_literal) )))) <= (binary_expression "iVar1 + 3" identifier + number_literal)) )) (compound_statement "{\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }" { (expression_statement "FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);" (call_expression "FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2)" identifier (argument_list "(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2)" ( identifier , (binary_expression "PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8" identifier + number_literal) , (pointer_expression "*param_2" * identifier) ))) ;) })) (expression_statement "iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);" (assignment_expression "iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" identifier = (call_expression "FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" identifier (argument_list "(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" ( identifier , (subscript_expression "param_2[0xf]" identifier [ number_literal ]) , number_literal , (binary_expression "(iVar1 + 2) * 4" (parenthesized_expression "(iVar1 + 2)" ( (binary_expression "iVar1 + 2" identifier + number_literal) )) * number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }" { (expression_statement "(*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);" (call_expression "(*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6304 + -0x2eec))" ( (pointer_expression "*(code *)(PTR_LAB_000f6304 + -0x2eec)" * (cast_expression "(code *)(PTR_LAB_000f6304 + -0x2eec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6304 + -0x2eec)" ( (binary_expression "PTR_LAB_000f6304 + -0x2eec" identifier + number_literal) )))) )) (argument_list "(iVar3,param_3)" ( identifier , identifier ))) ;) }) (else_clause "else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" else (compound_statement "{\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" { (expression_statement "iVar3 = param_2[0xe];" (assignment_expression "iVar3 = param_2[0xe]" identifier = (subscript_expression "param_2[0xe]" identifier [ number_literal ])) ;) (expression_statement "param_2[0xe] = iVar3 + 1;" (assignment_expression "param_2[0xe] = iVar3 + 1" (subscript_expression "param_2[0xe]" identifier [ number_literal ]) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);" (assignment_expression "puVar2 = (undefined4 *)(iVar1 + iVar3 * 4)" identifier = (cast_expression "(undefined4 *)(iVar1 + iVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar3 * 4)" ( (binary_expression "iVar1 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar2 = param_3;" (assignment_expression "*puVar2 = param_3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[0xf] = iVar1;" (assignment_expression "param_2[0xf] = iVar1" (subscript_expression "param_2[0xf]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void addModuleArgument(Parse *pParse,Table *pTable,char *zArg)\n\n{\n  char **ppcVar1;\n  int iVar2;\n  sqlite3 *db;\n  undefined1 *puVar3;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar3 = &_gp;\n  db = pParse->db;\n  if (db->aLimit[2] <= pTable->nModuleArg + 3) {\n    sqlite3ErrorMsg(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName);\n  }\n  ppcVar1 = (char **)sqlite3DbRealloc(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4));\n  if (ppcVar1 == (char **)0x0) {\n    (*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))(db,zArg);\n  }\n  else {\n    iVar2 = pTable->nModuleArg;\n    pTable->nModuleArg = iVar2 + 1;\n    ppcVar1[iVar2] = zArg;\n    (ppcVar1 + iVar2)[1] = (char *)0x0;\n    pTable->azModuleArg = ppcVar1;\n  }\n  return;\n}\n\n" (function_definition "void addModuleArgument(Parse *pParse,Table *pTable,char *zArg)\n\n{\n  char **ppcVar1;\n  int iVar2;\n  sqlite3 *db;\n  undefined1 *puVar3;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar3 = &_gp;\n  db = pParse->db;\n  if (db->aLimit[2] <= pTable->nModuleArg + 3) {\n    sqlite3ErrorMsg(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName);\n  }\n  ppcVar1 = (char **)sqlite3DbRealloc(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4));\n  if (ppcVar1 == (char **)0x0) {\n    (*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))(db,zArg);\n  }\n  else {\n    iVar2 = pTable->nModuleArg;\n    pTable->nModuleArg = iVar2 + 1;\n    ppcVar1[iVar2] = zArg;\n    (ppcVar1 + iVar2)[1] = (char *)0x0;\n    pTable->azModuleArg = ppcVar1;\n  }\n  return;\n}" primitive_type (function_declarator "addModuleArgument(Parse *pParse,Table *pTable,char *zArg)" identifier (parameter_list "(Parse *pParse,Table *pTable,char *zArg)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Table *pTable" type_identifier (pointer_declarator "*pTable" * identifier)) , (parameter_declaration "char *zArg" primitive_type (pointer_declarator "*zArg" * identifier)) ))) (compound_statement "{\n  char **ppcVar1;\n  int iVar2;\n  sqlite3 *db;\n  undefined1 *puVar3;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar3 = &_gp;\n  db = pParse->db;\n  if (db->aLimit[2] <= pTable->nModuleArg + 3) {\n    sqlite3ErrorMsg(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName);\n  }\n  ppcVar1 = (char **)sqlite3DbRealloc(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4));\n  if (ppcVar1 == (char **)0x0) {\n    (*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))(db,zArg);\n  }\n  else {\n    iVar2 = pTable->nModuleArg;\n    pTable->nModuleArg = iVar2 + 1;\n    ppcVar1[iVar2] = zArg;\n    (ppcVar1 + iVar2)[1] = (char *)0x0;\n    pTable->azModuleArg = ppcVar1;\n  }\n  return;\n}" { (declaration "char **ppcVar1;" primitive_type (pointer_declarator "**ppcVar1" * (pointer_declarator "*ppcVar1" * identifier)) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 in_stack_ffffffe4;" type_identifier identifier ;) (expression_statement "puVar3 = &_gp;" (assignment_expression "puVar3 = &_gp" identifier = (pointer_expression "&_gp" & identifier)) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if (db->aLimit[2] <= pTable->nModuleArg + 3) {\n    sqlite3ErrorMsg(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName);\n  }" if (parenthesized_expression "(db->aLimit[2] <= pTable->nModuleArg + 3)" ( (binary_expression "db->aLimit[2] <= pTable->nModuleArg + 3" (subscript_expression "db->aLimit[2]" (field_expression "db->aLimit" identifier -> field_identifier) [ number_literal ]) <= (binary_expression "pTable->nModuleArg + 3" (field_expression "pTable->nModuleArg" identifier -> field_identifier) + number_literal)) )) (compound_statement "{\n    sqlite3ErrorMsg(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName);\n  }" { (expression_statement "sqlite3ErrorMsg(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName);" (call_expression "sqlite3ErrorMsg(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName)" identifier (argument_list "(pParse,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,pTable->zName)" ( identifier , (binary_expression "PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8" identifier + number_literal) , (field_expression "pTable->zName" identifier -> field_identifier) ))) ;) })) (expression_statement "ppcVar1 = (char **)sqlite3DbRealloc(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4));" (assignment_expression "ppcVar1 = (char **)sqlite3DbRealloc(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4))" identifier = (cast_expression "(char **)sqlite3DbRealloc(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4))" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "sqlite3DbRealloc(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4))" identifier (argument_list "(db,pTable->azModuleArg,CONCAT44(puVar3,in_stack_ffffffe4))" ( identifier , (field_expression "pTable->azModuleArg" identifier -> field_identifier) , (call_expression "CONCAT44(puVar3,in_stack_ffffffe4)" identifier (argument_list "(puVar3,in_stack_ffffffe4)" ( identifier , identifier ))) ))))) ;) (if_statement "if (ppcVar1 == (char **)0x0) {\n    (*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))(db,zArg);\n  }\n  else {\n    iVar2 = pTable->nModuleArg;\n    pTable->nModuleArg = iVar2 + 1;\n    ppcVar1[iVar2] = zArg;\n    (ppcVar1 + iVar2)[1] = (char *)0x0;\n    pTable->azModuleArg = ppcVar1;\n  }" if (parenthesized_expression "(ppcVar1 == (char **)0x0)" ( (binary_expression "ppcVar1 == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    (*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))(db,zArg);\n  }" { (expression_statement "(*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))(db,zArg);" (call_expression "(*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))(db,zArg)" (parenthesized_expression "(*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec))" ( (pointer_expression "*(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec)" * (cast_expression "(code *)(*(int *)(puVar3 + -0x7f9c) + -0x2eec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + -0x7f9c) + -0x2eec)" ( (binary_expression "*(int *)(puVar3 + -0x7f9c) + -0x2eec" (pointer_expression "*(int *)(puVar3 + -0x7f9c)" * (cast_expression "(int *)(puVar3 + -0x7f9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x7f9c)" ( (binary_expression "puVar3 + -0x7f9c" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(db,zArg)" ( identifier , identifier ))) ;) }) (else_clause "else {\n    iVar2 = pTable->nModuleArg;\n    pTable->nModuleArg = iVar2 + 1;\n    ppcVar1[iVar2] = zArg;\n    (ppcVar1 + iVar2)[1] = (char *)0x0;\n    pTable->azModuleArg = ppcVar1;\n  }" else (compound_statement "{\n    iVar2 = pTable->nModuleArg;\n    pTable->nModuleArg = iVar2 + 1;\n    ppcVar1[iVar2] = zArg;\n    (ppcVar1 + iVar2)[1] = (char *)0x0;\n    pTable->azModuleArg = ppcVar1;\n  }" { (expression_statement "iVar2 = pTable->nModuleArg;" (assignment_expression "iVar2 = pTable->nModuleArg" identifier = (field_expression "pTable->nModuleArg" identifier -> field_identifier)) ;) (expression_statement "pTable->nModuleArg = iVar2 + 1;" (assignment_expression "pTable->nModuleArg = iVar2 + 1" (field_expression "pTable->nModuleArg" identifier -> field_identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "ppcVar1[iVar2] = zArg;" (assignment_expression "ppcVar1[iVar2] = zArg" (subscript_expression "ppcVar1[iVar2]" identifier [ identifier ]) = identifier) ;) (expression_statement "(ppcVar1 + iVar2)[1] = (char *)0x0;" (assignment_expression "(ppcVar1 + iVar2)[1] = (char *)0x0" (subscript_expression "(ppcVar1 + iVar2)[1]" (parenthesized_expression "(ppcVar1 + iVar2)" ( (binary_expression "ppcVar1 + iVar2" identifier + identifier) )) [ number_literal ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pTable->azModuleArg = ppcVar1;" (assignment_expression "pTable->azModuleArg = ppcVar1" (field_expression "pTable->azModuleArg" identifier -> field_identifier) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  iVar1 = param_2[0xe];\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }\n  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);\n  if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  iVar1 = param_2[0xe];\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }\n  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);\n  if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,undefined4 *param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  iVar1 = param_2[0xe];\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }\n  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);\n  if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar1 = param_2[0xe];" (assignment_expression "iVar1 = param_2[0xe]" identifier = (subscript_expression "param_2[0xe]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 0x74) <= iVar1 + 3)" ( (binary_expression "*(int *)(iVar3 + 0x74) <= iVar1 + 3" (pointer_expression "*(int *)(iVar3 + 0x74)" * (cast_expression "(int *)(iVar3 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x74)" ( (binary_expression "iVar3 + 0x74" identifier + number_literal) )))) <= (binary_expression "iVar1 + 3" identifier + number_literal)) )) (compound_statement "{\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }" { (expression_statement "FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);" (call_expression "FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2)" identifier (argument_list "(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2)" ( identifier , (binary_expression "PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8" identifier + number_literal) , (pointer_expression "*param_2" * identifier) ))) ;) })) (expression_statement "iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);" (assignment_expression "iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" identifier = (call_expression "FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" identifier (argument_list "(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" ( identifier , (subscript_expression "param_2[0xf]" identifier [ number_literal ]) , number_literal , (binary_expression "(iVar1 + 2) * 4" (parenthesized_expression "(iVar1 + 2)" ( (binary_expression "iVar1 + 2" identifier + number_literal) )) * number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }" { (expression_statement "(*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);" (call_expression "(*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6304 + -0x2eec))" ( (pointer_expression "*(code *)(PTR_LAB_000f6304 + -0x2eec)" * (cast_expression "(code *)(PTR_LAB_000f6304 + -0x2eec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6304 + -0x2eec)" ( (binary_expression "PTR_LAB_000f6304 + -0x2eec" identifier + number_literal) )))) )) (argument_list "(iVar3,param_3)" ( identifier , identifier ))) ;) }) (else_clause "else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" else (compound_statement "{\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" { (expression_statement "iVar3 = param_2[0xe];" (assignment_expression "iVar3 = param_2[0xe]" identifier = (subscript_expression "param_2[0xe]" identifier [ number_literal ])) ;) (expression_statement "param_2[0xe] = iVar3 + 1;" (assignment_expression "param_2[0xe] = iVar3 + 1" (subscript_expression "param_2[0xe]" identifier [ number_literal ]) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);" (assignment_expression "puVar2 = (undefined4 *)(iVar1 + iVar3 * 4)" identifier = (cast_expression "(undefined4 *)(iVar1 + iVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar3 * 4)" ( (binary_expression "iVar1 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar2 = param_3;" (assignment_expression "*puVar2 = param_3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[0xf] = iVar1;" (assignment_expression "param_2[0xf] = iVar1" (subscript_expression "param_2[0xf]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , LIT , (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  iVar1 = param_2[0xe];\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }\n  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);\n  if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004df20(int *param_1,undefined4 *param_2,undefined4 param_3)" (identifier "FUN_0004df20") (parameter_list "(int *param_1,undefined4 *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  iVar1 = param_2[0xe];\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }\n  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);\n  if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar1 = param_2[0xe];" (assignment_expression "iVar1 = param_2[0xe]" (identifier "iVar1") (= "=") (subscript_expression "param_2[0xe]" (identifier "param_2") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0x74) <= iVar1 + 3)" (( "(") (binary_expression "*(int *)(iVar3 + 0x74) <= iVar1 + 3" (pointer_expression "*(int *)(iVar3 + 0x74)" (* "*") (cast_expression "(int *)(iVar3 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x74)" (( "(") (binary_expression "iVar3 + 0x74" (identifier "iVar3") (+ "+") (number_literal "0x74")) () ")")))) (<= "<=") (binary_expression "iVar1 + 3" (identifier "iVar1") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);\n  }" ({ "{") (expression_statement "FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);" (call_expression "FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2)" (identifier "FUN_0004d4d8") (argument_list "(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8" (identifier "PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4") (+ "+") (number_literal "-0x76f8")) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);" (assignment_expression "iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" (identifier "iVar1") (= "=") (call_expression "FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" (identifier "FUN_000390c4") (argument_list "(iVar3,param_2[0xf],0,(iVar1 + 2) * 4)" (( "(") (identifier "iVar3") (, ",") (subscript_expression "param_2[0xf]" (identifier "param_2") ([ "[") (number_literal "0xf") (] "]")) (, ",") (number_literal "0") (, ",") (binary_expression "(iVar1 + 2) * 4" (parenthesized_expression "(iVar1 + 2)" (( "(") (binary_expression "iVar1 + 2" (identifier "iVar1") (+ "+") (number_literal "2")) () ")")) (* "*") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }\n  else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);\n  }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);" (call_expression "(*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6304 + -0x2eec))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f6304 + -0x2eec)" (* "*") (cast_expression "(code *)(PTR_LAB_000f6304 + -0x2eec)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f6304 + -0x2eec)" (( "(") (binary_expression "PTR_LAB_000f6304 + -0x2eec" (identifier "PTR_LAB_000f6304") (+ "+") (number_literal "-0x2eec")) () ")")))) () ")")) (argument_list "(iVar3,param_3)" (( "(") (identifier "iVar3") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" (else "else") (compound_statement "{\n    iVar3 = param_2[0xe];\n    param_2[0xe] = iVar3 + 1;\n    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);\n    *puVar2 = param_3;\n    puVar2[1] = 0;\n    param_2[0xf] = iVar1;\n  }" ({ "{") (expression_statement "iVar3 = param_2[0xe];" (assignment_expression "iVar3 = param_2[0xe]" (identifier "iVar3") (= "=") (subscript_expression "param_2[0xe]" (identifier "param_2") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (expression_statement "param_2[0xe] = iVar3 + 1;" (assignment_expression "param_2[0xe] = iVar3 + 1" (subscript_expression "param_2[0xe]" (identifier "param_2") ([ "[") (number_literal "0xe") (] "]")) (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);" (assignment_expression "puVar2 = (undefined4 *)(iVar1 + iVar3 * 4)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(iVar1 + iVar3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + iVar3 * 4)" (( "(") (binary_expression "iVar1 + iVar3 * 4" (identifier "iVar1") (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*puVar2 = param_3;" (assignment_expression "*puVar2 = param_3" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[0xf] = iVar1;" (assignment_expression "param_2[0xf] = iVar1" (subscript_expression "param_2[0xf]" (identifier "param_2") ([ "[") (number_literal "0xf") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (number_literal) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (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)))))) arguments: (argument_list (identifier) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (return_statement))))

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

{
  int iVar1;
  undefined4 *puVar2;
  int iVar3;
  
  iVar1 = param_2[0xe];
  iVar3 = *param_1;
  if (*(int *)(iVar3 + 0x74) <= iVar1 + 3) {
    FUN_0004d4d8(param_1,PTR_s_EFIRSTFOLLOWINGFROMFULLIMITIFORD_000f62d4 + -0x76f8,*param_2);
  }
  iVar1 = FUN_000390c4(iVar3,param_2[0xf],0,(iVar1 + 2) * 4);
  if (iVar1 == 0) {
    (*(code *)(PTR_LAB_000f6304 + -0x2eec))(iVar3,param_3);
  }
  else {
    iVar3 = param_2[0xe];
    param_2[0xe] = iVar3 + 1;
    puVar2 = (undefined4 *)(iVar1 + iVar3 * 4);
    *puVar2 = param_3;
    puVar2[1] = 0;
    param_2[0xf] = iVar1;
  }
  return;
}

