
void dlg_label_change(control *ctrl,void *dlg,char *text)

{
  code *pcVar1;
  undefined4 *puVar2;
  dlgparam *dp;
  
                    /* WARNING: Load size is inaccurate */
  if (*dlg == (tree234 *)0x0) {
                    /* WARNING: Does not return */
    pcVar1 = (code *)trap(0);
    (*pcVar1)();
  }
  puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c));
  if (*(uint *)*puVar2 < 9) {
                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +
                              *(uint *)*puVar2 * 4 + -0xf9c)))();
    return;
  }
  (*(code *)PTR___assert_fail_000a7840)
            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,
             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,
             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);
  return;
}



void dlg_label_change(undefined4 param_1,int *param_2)

{
  code *pcVar1;
  undefined4 *puVar2;
  
  if (*param_2 == 0) {
                    /* WARNING: Does not return */
    pcVar1 = (code *)trap(0);
    (*pcVar1)();
  }
  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);
  if (*(uint *)*puVar2 < 9) {
                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +
                                *(uint *)*puVar2 * 4 + -0xf9c)))();
    return;
  }
  (*(code *)PTR___assert_fail_000a7840)
            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,
             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,
             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);
  return;
}


lui gp,0x6
addiu gp,gp,-0x3df8
addu gp,gp,t9
lw v0,0x0(a1)
beq v0,zero,0x00052ff0
_lw t9,-0x7e98(gp)
addiu sp,sp,-0x28
or a1,a0,zero
sw s1,0x1c(sp)
or s1,a2,zero
sw gp,0x10(sp)
sw s2,0x20(sp)
sw s0,0x18(sp)
or s0,a0,zero
sw ra,0x24(sp)
or a0,v0,zero
lw a2,-0x7b58(gp)
bal 0x0004c044
_addiu a2,a2,-0x14c
or s2,v0,zero
lw v0,0x0(v0)
lw v0,0x0(v0)
sltiu v1,v0,0x9
beq v1,zero,0x00052fcc
_lw gp,0x10(sp)
sll v1,v0,0x2
lw v0,-0x7fb8(gp)
addiu v0,v0,-0xf9c
addu v0,v0,v1
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lw t9,-0x71b0(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a1,v0,zero
lw t9,-0x71e8(gp)
jalr t9
_lw a0,0x28(s2)
or a1,s1,zero
lw gp,0x10(sp)
lw t9,-0x74b8(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lb a1,0x1c(s0)
lw a0,0x28(s2)
lw ra,0x24(sp)
lw t9,-0x7b58(gp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
addiu t9,t9,-0x80
b 0x0004ff80
_addiu sp,sp,0x28
lw t9,-0x71b0(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a1,v0,zero
lw t9,-0x71e8(gp)
jalr t9
_lw a0,0x4(s2)
or a1,s1,zero
lw gp,0x10(sp)
lw t9,-0x74b8(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lb a1,0x1c(s0)
lw a0,0x4(s2)
lw ra,0x24(sp)
lw t9,-0x7b58(gp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
addiu t9,t9,-0x80
b 0x0004ff80
_addiu sp,sp,0x28
lw a3,-0x7fb8(gp)
li a2,0x37b
lw a1,-0x7fb8(gp)
lw a0,-0x7fb8(gp)
lw t9,-0x7850(gp)
addiu a3,a3,-0x81c
addiu a1,a1,-0x1b9c
jalr t9
_addiu a0,a0,-0x19d0
lw v0,0x0(zero)
teq zero,zero
(translation_unit "void dlg_label_change(undefined4 param_1,int *param_2)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  \n  if (*param_2 == 0) {\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);\n  if (*(uint *)*puVar2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}\n\n" (function_definition "void dlg_label_change(undefined4 param_1,int *param_2)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  \n  if (*param_2 == 0) {\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);\n  if (*(uint *)*puVar2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}" primitive_type (function_declarator "dlg_label_change(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  undefined4 *puVar2;\n  \n  if (*param_2 == 0) {\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);\n  if (*(uint *)*puVar2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (*param_2 == 0) {\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" if (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" { comment (expression_statement "pcVar1 = (code *)trap(0);" (assignment_expression "pcVar1 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);" (assignment_expression "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" identifier = (cast_expression "(undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" identifier (argument_list "(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" ( (pointer_expression "*param_2" * identifier) , identifier , (binary_expression "PTR_LAB_000a7538 + -0x14c" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)*puVar2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }" if (parenthesized_expression "(*(uint *)*puVar2 < 9)" ( (binary_expression "*(uint *)*puVar2 < 9" (pointer_expression "*(uint *)*puVar2" * (cast_expression "(uint *)*puVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" ( (binary_expression "&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" * (cast_expression "(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c" (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4" identifier + (binary_expression "*(uint *)*puVar2 * 4" (pointer_expression "*(uint *)*puVar2" * (cast_expression "(uint *)*puVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);" (call_expression "(*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000a7840)" ( (pointer_expression "*(code *)PTR___assert_fail_000a7840" * (cast_expression "(code *)PTR___assert_fail_000a7840" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0" identifier + number_literal) , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void dlg_label_change(control *ctrl,void *dlg,char *text)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  dlgparam *dp;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*dlg == (tree234 *)0x0) {\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c));\n  if (*(uint *)*puVar2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}\n\n" (function_definition "void dlg_label_change(control *ctrl,void *dlg,char *text)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  dlgparam *dp;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*dlg == (tree234 *)0x0) {\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c));\n  if (*(uint *)*puVar2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}" primitive_type (function_declarator "dlg_label_change(control *ctrl,void *dlg,char *text)" identifier (parameter_list "(control *ctrl,void *dlg,char *text)" ( (parameter_declaration "control *ctrl" type_identifier (pointer_declarator "*ctrl" * identifier)) , (parameter_declaration "void *dlg" primitive_type (pointer_declarator "*dlg" * identifier)) , (parameter_declaration "char *text" primitive_type (pointer_declarator "*text" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  undefined4 *puVar2;\n  dlgparam *dp;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*dlg == (tree234 *)0x0) {\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c));\n  if (*(uint *)*puVar2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "dlgparam *dp;" type_identifier (pointer_declarator "*dp" * identifier) ;) comment (if_statement "if (*dlg == (tree234 *)0x0) {\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" if (parenthesized_expression "(*dlg == (tree234 *)0x0)" ( (binary_expression "*dlg == (tree234 *)0x0" (pointer_expression "*dlg" * identifier) == (cast_expression "(tree234 *)0x0" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" { comment (expression_statement "pcVar1 = (code *)trap(0);" (assignment_expression "pcVar1 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c));" (assignment_expression "puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c))" identifier = (cast_expression "(undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c))" identifier (argument_list "(*dlg,ctrl,(cmpfn234)(PTR_LAB_000a7538 + -0x14c))" ( (pointer_expression "*dlg" * identifier) , identifier , (call_expression "(cmpfn234)(PTR_LAB_000a7538 + -0x14c)" (parenthesized_expression "(cmpfn234)" ( identifier )) (argument_list "(PTR_LAB_000a7538 + -0x14c)" ( (binary_expression "PTR_LAB_000a7538 + -0x14c" identifier + number_literal) ))) ))))) ;) (if_statement "if (*(uint *)*puVar2 < 9) {\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }" if (parenthesized_expression "(*(uint *)*puVar2 < 9)" ( (binary_expression "*(uint *)*puVar2 < 9" (pointer_expression "*(uint *)*puVar2" * (cast_expression "(uint *)*puVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)))();" (call_expression "(*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c))" ( (binary_expression "&_gp + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)" * (cast_expression "(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4 + -0xf9c" (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                              *(uint *)*puVar2 * 4" identifier + (binary_expression "*(uint *)*puVar2 * 4" (pointer_expression "*(uint *)*puVar2" * (cast_expression "(uint *)*puVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);" (call_expression "(*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000a7840)" ( (pointer_expression "*(code *)PTR___assert_fail_000a7840" * (cast_expression "(code *)PTR___assert_fail_000a7840" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0" identifier + number_literal) , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void dlg_label_change(undefined4 param_1,int *param_2)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  \n  if (*param_2 == 0) {\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);\n  if (*(uint *)*puVar2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}\n\n" (function_definition "void dlg_label_change(undefined4 param_1,int *param_2)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  \n  if (*param_2 == 0) {\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);\n  if (*(uint *)*puVar2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}" primitive_type (function_declarator "dlg_label_change(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  undefined4 *puVar2;\n  \n  if (*param_2 == 0) {\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);\n  if (*(uint *)*puVar2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (*param_2 == 0) {\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" if (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" { (expression_statement "pcVar1 = (code *)trap(0);" (assignment_expression "pcVar1 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);" (assignment_expression "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" identifier = (cast_expression "(undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" identifier (argument_list "(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" ( (pointer_expression "*param_2" * identifier) , identifier , (binary_expression "PTR_LAB_000a7538 + -0x14c" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)*puVar2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }" if (parenthesized_expression "(*(uint *)*puVar2 < 9)" ( (binary_expression "*(uint *)*puVar2 < 9" (pointer_expression "*(uint *)*puVar2" * (cast_expression "(uint *)*puVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) < number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }" { (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" ( (binary_expression "&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" * (cast_expression "(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c" (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4" identifier + (binary_expression "*(uint *)*puVar2 * 4" (pointer_expression "*(uint *)*puVar2" * (cast_expression "(uint *)*puVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);" (call_expression "(*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000a7840)" ( (pointer_expression "*(code *)PTR___assert_fail_000a7840" * (cast_expression "(code *)PTR___assert_fail_000a7840" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0" identifier + number_literal) , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_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 (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) * LIT)) + LIT) ))))) )))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void dlg_label_change(undefined4 param_1,int *param_2)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  \n  if (*param_2 == 0) {\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);\n  if (*(uint *)*puVar2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}" (primitive_type "void") (function_declarator "dlg_label_change(undefined4 param_1,int *param_2)" (identifier "dlg_label_change") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  code *pcVar1;\n  undefined4 *puVar2;\n  \n  if (*param_2 == 0) {\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);\n  if (*(uint *)*puVar2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }\n  (*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);\n  return;\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (if_statement "if (*param_2 == 0) {\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" (if "if") (parenthesized_expression "(*param_2 == 0)" (( "(") (binary_expression "*param_2 == 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" ({ "{") (expression_statement "pcVar1 = (code *)trap(0);" (assignment_expression "pcVar1 = (code *)trap(0)" (identifier "pcVar1") (= "=") (cast_expression "(code *)trap(0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "trap(0)" (identifier "trap") (argument_list "(0)" (( "(") (number_literal "0") () ")"))))) (; ";")) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);" (assignment_expression "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" (identifier "find234") (argument_list "(*param_2,param_1,PTR_LAB_000a7538 + -0x14c)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "param_1") (, ",") (binary_expression "PTR_LAB_000a7538 + -0x14c" (identifier "PTR_LAB_000a7538") (+ "+") (number_literal "-0x14c")) () ")"))))) (; ";")) (if_statement "if (*(uint *)*puVar2 < 9) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }" (if "if") (parenthesized_expression "(*(uint *)*puVar2 < 9)" (( "(") (binary_expression "*(uint *)*puVar2 < 9" (pointer_expression "*(uint *)*puVar2" (* "*") (cast_expression "(uint *)*puVar2" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (< "<") (number_literal "9")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" (* "*") (cast_expression "(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c)" (( "(") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4 + -0xf9c" (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +\n                                *(uint *)*puVar2 * 4" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (binary_expression "*(uint *)*puVar2 * 4" (pointer_expression "*(uint *)*puVar2" (* "*") (cast_expression "(uint *)*puVar2" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0xf9c")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);" (call_expression "(*(code *)PTR___assert_fail_000a7840)\n            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000a7840)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000a7840" (* "*") (cast_expression "(code *)PTR___assert_fail_000a7840" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000a7840"))) () ")")) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,\n             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c)" (( "(") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "-0x19d0")) (, ",") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "-0x1b9c")) (, ",") (number_literal "0x37b") (, ",") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "-0x81c")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *ctrl,void *dlg,char *text)

{
  type_2 *pcVar1;
  type_3 *puVar2;
  type_4 *dp;
  
                    /* WARNING: Load size is inaccurate */
  if (*dlg == (type_5 *)0x0) {
                    /* WARNING: Does not return */
    pcVar1 = (type_2 *)var_1(0);
    (*pcVar1)();
  }
  puVar2 = (type_3 *)var_2(*dlg,ctrl,(cmpfn234)(var_3 + -0x14c));
  if (*(type_6 *)*puVar2 < 9) {
                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */
                    /* WARNING: Treating indirect jump as call */
    (*(type_2 *)(&_gp + *(int *)(var_4 +
                              *(type_6 *)*puVar2 * 4 + -0xf9c)))();
    return;
  }
  (*(type_2 *)PTR___assert_fail_000a7840)
            (var_4 + -0x19d0,
             var_4 + -0x1b9c,0x37b,
             var_4 + -0x81c);
  return;
}


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

void MASKED(undefined4 param_1,int *param_2)

{
  code *pcVar1;
  undefined4 *puVar2;
  
  if (*param_2 == 0) {
                    /* WARNING: Does not return */
    pcVar1 = (code *)trap(0);
    (*pcVar1)();
  }
  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_000a7538 + -0x14c);
  if (*(uint *)*puVar2 < 9) {
                    /* WARNING: Could not emulate address calculation at 0x00052ef8 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 +
                                *(uint *)*puVar2 * 4 + -0xf9c)))();
    return;
  }
  (*(code *)PTR___assert_fail_000a7840)
            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x19d0,
             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1b9c,0x37b,
             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x81c);
  return;
}

