
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 uw_init_context_1(undefined4 *param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 unaff_retaddr;
  undefined4 local_e0 [38];
  undefined4 local_48;
  undefined4 local_44;
  undefined4 local_3c;
  undefined4 uStack_14;
  
  uStack_14 = 0x242ae1;
  puVar2 = param_1;
  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar2 = 0;
    puVar2 = puVar2 + 1;
  }
  param_1[0x18] = 0x40000000;
  param_1[0x13] = unaff_retaddr;
  iVar1 = uw_frame_state_for();
  if (iVar1 != 0) goto uw_init_context_1_cold_10;
  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {
LAB_00242bb0:
    if (dwarf_reg_size_table == '\0') {
      dwarf_reg_size_table = '\x04';
      DAT_0034812e = 4;
      DAT_0034812d = 4;
      DAT_0034812f = 4;
      DAT_00348132 = 4;
      DAT_00348133 = 4;
      DAT_00348131 = 4;
      DAT_00348130 = '\x04';
      DAT_00348137 = 0xc;
      DAT_00348138 = 0xc;
      DAT_00348139 = 0xc;
      DAT_0034813a = 0xc;
      DAT_0034813b = 0xc;
      DAT_0034813c = 0xc;
      DAT_00348135 = 4;
      DAT_00348134 = 4;
    }
  }
  else {
    iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table);
    if (iVar1 != 0) goto LAB_00242bb0;
  }
  if (DAT_00348130 == '\x04') {
    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {
      *(undefined1 *)(param_1 + 0x1c) = 0;
    }
    local_3c = 1;
    param_1[4] = local_e0;
    local_44 = 4;
    local_48 = 0;
    local_e0[0] = param_2;
    uw_update_context_1();
    param_1[0x13] = param_3;
    return;
  }
uw_init_context_1_cold_10:
                    /* WARNING: Subroutine does not return */
  abort();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 unaff_retaddr;
  undefined4 local_e0 [38];
  undefined4 local_48;
  undefined4 local_44;
  undefined4 local_3c;
  undefined4 uStack_14;
  
  uStack_14 = 0x242ae1;
  puVar2 = param_1;
  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar2 = 0;
    puVar2 = puVar2 + 1;
  }
  param_1[0x18] = 0x40000000;
  param_1[0x13] = unaff_retaddr;
  iVar1 = FUN_00241af0();
  if (iVar1 != 0) goto FUN_000340ff;
  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {
LAB_00242bb0:
    if (DAT_0034812c == '\0') {
      DAT_0034812c = '\x04';
      DAT_0034812e = 4;
      DAT_0034812d = 4;
      DAT_0034812f = 4;
      DAT_00348132 = 4;
      DAT_00348133 = 4;
      DAT_00348131 = 4;
      DAT_00348130 = '\x04';
      DAT_00348137 = 0xc;
      DAT_00348138 = 0xc;
      DAT_00348139 = 0xc;
      DAT_0034813a = 0xc;
      DAT_0034813b = 0xc;
      DAT_0034813c = 0xc;
      DAT_00348135 = 4;
      DAT_00348134 = 4;
    }
  }
  else {
    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);
    if (iVar1 != 0) goto LAB_00242bb0;
  }
  if (DAT_00348130 == '\x04') {
    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {
      *(undefined1 *)(param_1 + 0x1c) = 0;
    }
    local_3c = 1;
    param_1[4] = local_e0;
    local_44 = 4;
    local_48 = 0;
    local_e0[0] = param_2;
    FUN_00242750();
    param_1[0x13] = param_3;
    return;
  }
FUN_000340ff:
                    /* WARNING: Subroutine does not return */
  abort();
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
PUSH ESI
MOV ESI,EAX
XOR EAX,EAX
PUSH EBX
MOV EDI,ESI
CALL 0x00035680
ADD EBX,0xfc51f
SUB ESP,0xec
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,0x20
STOSD.REP ES:EDI
MOV dword ptr [ESI + 0x60],0x40000000
LEA EDI,[ESP + 0x20]
MOV EDX,EDI
MOV EAX,dword ptr [ESP + 0xfc]
MOV dword ptr [ESI + 0x4c],EAX
MOV EAX,ESI
CALL 0x00241af0
TEST EAX,EAX
JNZ 0x000340ff
MOV EAX,dword ptr [EBX + 0xffffff3c]
TEST EAX,EAX
JZ 0x00242bb0
SUB ESP,0x8
LEA EAX,[EBX + 0xfff02a70]
PUSH EAX
LEA EAX,[EBX + 0x9128]
PUSH EAX
CALL 0x000280b0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00242bb0
CMP byte ptr [EBX + 0x9130],0x4
JNZ 0x000340ff
MOV dword ptr [ESP + 0x1c],EBP
TEST byte ptr [ESI + 0x63],0x40
JZ 0x00242b64
MOV byte ptr [ESI + 0x70],0x0
LEA EAX,[ESP + 0x1c]
MOV EDX,EDI
MOV dword ptr [ESP + 0xc0],0x1
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,ESI
MOV dword ptr [ESP + 0xb8],0x4
MOV dword ptr [ESP + 0xb4],0x0
CALL 0x00242750
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESI + 0x4c],EAX
ADD ESP,0xec
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [EBX + 0x912c],0x0
JNZ 0x00242b49
MOV byte ptr [EBX + 0x912c],0x4
MOV byte ptr [EBX + 0x912e],0x4
MOV byte ptr [EBX + 0x912d],0x4
MOV byte ptr [EBX + 0x912f],0x4
MOV byte ptr [EBX + 0x9132],0x4
MOV byte ptr [EBX + 0x9133],0x4
MOV byte ptr [EBX + 0x9131],0x4
MOV byte ptr [EBX + 0x9130],0x4
MOV byte ptr [EBX + 0x9137],0xc
MOV byte ptr [EBX + 0x9138],0xc
MOV byte ptr [EBX + 0x9139],0xc
MOV byte ptr [EBX + 0x913a],0xc
MOV byte ptr [EBX + 0x913b],0xc
MOV byte ptr [EBX + 0x913c],0xc
MOV byte ptr [EBX + 0x9135],0x4
MOV byte ptr [EBX + 0x9134],0x4
JMP 0x00242b49
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = FUN_00241af0();\n  if (iVar1 != 0) goto FUN_000340ff;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }\nFUN_000340ff:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (function_definition "void __regparm3 FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = FUN_00241af0();\n  if (iVar1 != 0) goto FUN_000340ff;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }\nFUN_000340ff:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = FUN_00241af0();\n  if (iVar1 != 0) goto FUN_000340ff;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }\nFUN_000340ff:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined4 local_e0 [38];" type_identifier (array_declarator "local_e0 [38]" identifier [ number_literal ]) ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x242ae1;" (assignment_expression "uStack_14 = 0x242ae1" identifier = number_literal) ;) (expression_statement "puVar2 = param_1;" (assignment_expression "puVar2 = param_1" identifier = identifier) ;) (for_statement "for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" for ( (assignment_expression "iVar1 = 0x20" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "param_1[0x18] = 0x40000000;" (assignment_expression "param_1[0x18] = 0x40000000" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x13] = unaff_retaddr;" (assignment_expression "param_1[0x13] = unaff_retaddr" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = FUN_00241af0();" (assignment_expression "iVar1 = FUN_00241af0()" identifier = (call_expression "FUN_00241af0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) goto FUN_000340ff;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto FUN_000340ff;" goto statement_identifier ;)) (if_statement "if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" if (parenthesized_expression "(PTR___pthread_key_create_0033ef3c == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_0033ef3c == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }" { (labeled_statement "LAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" statement_identifier : (if_statement "if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" if (parenthesized_expression "(DAT_0034812c == '\0')" ( (binary_expression "DAT_0034812c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" { (expression_statement "DAT_0034812c = '\x04';" (assignment_expression "DAT_0034812c = '\x04'" identifier = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "DAT_0034812e = 4;" (assignment_expression "DAT_0034812e = 4" identifier = number_literal) ;) (expression_statement "DAT_0034812d = 4;" (assignment_expression "DAT_0034812d = 4" identifier = number_literal) ;) (expression_statement "DAT_0034812f = 4;" (assignment_expression "DAT_0034812f = 4" identifier = number_literal) ;) (expression_statement "DAT_00348132 = 4;" (assignment_expression "DAT_00348132 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348133 = 4;" (assignment_expression "DAT_00348133 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348131 = 4;" (assignment_expression "DAT_00348131 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348130 = '\x04';" (assignment_expression "DAT_00348130 = '\x04'" identifier = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "DAT_00348137 = 0xc;" (assignment_expression "DAT_00348137 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348138 = 0xc;" (assignment_expression "DAT_00348138 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348139 = 0xc;" (assignment_expression "DAT_00348139 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813a = 0xc;" (assignment_expression "DAT_0034813a = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813b = 0xc;" (assignment_expression "DAT_0034813b = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813c = 0xc;" (assignment_expression "DAT_0034813c = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348135 = 4;" (assignment_expression "DAT_00348135 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348134 = 4;" (assignment_expression "DAT_00348134 = 4" identifier = number_literal) ;) }))) }) (else_clause "else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" else (compound_statement "{\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" { (expression_statement "iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);" (assignment_expression "iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70)" identifier = (call_expression "pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70)" identifier (argument_list "((pthread_once_t *)&DAT_00348128,FUN_00241a70)" ( (cast_expression "(pthread_once_t *)&DAT_00348128" ( (type_descriptor "pthread_once_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00348128" & identifier)) , identifier )))) ;) (if_statement "if (iVar1 != 0) goto LAB_00242bb0;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00242bb0;" goto statement_identifier ;)) }))) (if_statement "if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }" if (parenthesized_expression "(DAT_00348130 == '\x04')" ( (binary_expression "DAT_00348130 == '\x04'" identifier == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }" { (if_statement "if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }" if (parenthesized_expression "((*(byte *)((int)param_1 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)((int)param_1 + 99) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 99)" * (cast_expression "(byte *)((int)param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 99)" ( (binary_expression "(int)param_1 + 99" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1c)" * (cast_expression "(undefined1 *)(param_1 + 0x1c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "local_3c = 1;" (assignment_expression "local_3c = 1" identifier = number_literal) ;) (expression_statement "param_1[4] = local_e0;" (assignment_expression "param_1[4] = local_e0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_44 = 4;" (assignment_expression "local_44 = 4" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_e0[0] = param_2;" (assignment_expression "local_e0[0] = param_2" (subscript_expression "local_e0[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00242750();" (call_expression "FUN_00242750()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[0x13] = param_3;" (assignment_expression "param_1[0x13] = param_3" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "FUN_000340ff:\n                    /* WARNING: Subroutine does not return */\n  abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 uw_init_context_1(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = uw_frame_state_for();\n  if (iVar1 != 0) goto uw_init_context_1_cold_10;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (dwarf_reg_size_table == '\0') {\n      dwarf_reg_size_table = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    uw_update_context_1();\n    param_1[0x13] = param_3;\n    return;\n  }\nuw_init_context_1_cold_10:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (function_definition "void __regparm3 uw_init_context_1(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = uw_frame_state_for();\n  if (iVar1 != 0) goto uw_init_context_1_cold_10;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (dwarf_reg_size_table == '\0') {\n      dwarf_reg_size_table = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    uw_update_context_1();\n    param_1[0x13] = param_3;\n    return;\n  }\nuw_init_context_1_cold_10:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "uw_init_context_1(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = uw_frame_state_for();\n  if (iVar1 != 0) goto uw_init_context_1_cold_10;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (dwarf_reg_size_table == '\0') {\n      dwarf_reg_size_table = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    uw_update_context_1();\n    param_1[0x13] = param_3;\n    return;\n  }\nuw_init_context_1_cold_10:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined4 local_e0 [38];" type_identifier (array_declarator "local_e0 [38]" identifier [ number_literal ]) ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x242ae1;" (assignment_expression "uStack_14 = 0x242ae1" identifier = number_literal) ;) (expression_statement "puVar2 = param_1;" (assignment_expression "puVar2 = param_1" identifier = identifier) ;) (for_statement "for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" for ( (assignment_expression "iVar1 = 0x20" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "param_1[0x18] = 0x40000000;" (assignment_expression "param_1[0x18] = 0x40000000" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x13] = unaff_retaddr;" (assignment_expression "param_1[0x13] = unaff_retaddr" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = uw_frame_state_for();" (assignment_expression "iVar1 = uw_frame_state_for()" identifier = (call_expression "uw_frame_state_for()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) goto uw_init_context_1_cold_10;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto uw_init_context_1_cold_10;" goto statement_identifier ;)) (if_statement "if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (dwarf_reg_size_table == '\0') {\n      dwarf_reg_size_table = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" if (parenthesized_expression "(PTR___pthread_key_create_0033ef3c == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_0033ef3c == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00242bb0:\n    if (dwarf_reg_size_table == '\0') {\n      dwarf_reg_size_table = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }" { (labeled_statement "LAB_00242bb0:\n    if (dwarf_reg_size_table == '\0') {\n      dwarf_reg_size_table = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" statement_identifier : (if_statement "if (dwarf_reg_size_table == '\0') {\n      dwarf_reg_size_table = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" if (parenthesized_expression "(dwarf_reg_size_table == '\0')" ( (binary_expression "dwarf_reg_size_table == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      dwarf_reg_size_table = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" { (expression_statement "dwarf_reg_size_table = '\x04';" (assignment_expression "dwarf_reg_size_table = '\x04'" identifier = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "DAT_0034812e = 4;" (assignment_expression "DAT_0034812e = 4" identifier = number_literal) ;) (expression_statement "DAT_0034812d = 4;" (assignment_expression "DAT_0034812d = 4" identifier = number_literal) ;) (expression_statement "DAT_0034812f = 4;" (assignment_expression "DAT_0034812f = 4" identifier = number_literal) ;) (expression_statement "DAT_00348132 = 4;" (assignment_expression "DAT_00348132 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348133 = 4;" (assignment_expression "DAT_00348133 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348131 = 4;" (assignment_expression "DAT_00348131 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348130 = '\x04';" (assignment_expression "DAT_00348130 = '\x04'" identifier = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "DAT_00348137 = 0xc;" (assignment_expression "DAT_00348137 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348138 = 0xc;" (assignment_expression "DAT_00348138 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348139 = 0xc;" (assignment_expression "DAT_00348139 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813a = 0xc;" (assignment_expression "DAT_0034813a = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813b = 0xc;" (assignment_expression "DAT_0034813b = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813c = 0xc;" (assignment_expression "DAT_0034813c = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348135 = 4;" (assignment_expression "DAT_00348135 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348134 = 4;" (assignment_expression "DAT_00348134 = 4" identifier = number_literal) ;) }))) }) (else_clause "else {\n    iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" else (compound_statement "{\n    iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" { (expression_statement "iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table);" (assignment_expression "iVar1 = pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table)" identifier = (call_expression "pthread_once(&once_regsizes_8980,init_dwarf_reg_size_table)" identifier (argument_list "(&once_regsizes_8980,init_dwarf_reg_size_table)" ( (pointer_expression "&once_regsizes_8980" & identifier) , identifier )))) ;) (if_statement "if (iVar1 != 0) goto LAB_00242bb0;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00242bb0;" goto statement_identifier ;)) }))) (if_statement "if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    uw_update_context_1();\n    param_1[0x13] = param_3;\n    return;\n  }" if (parenthesized_expression "(DAT_00348130 == '\x04')" ( (binary_expression "DAT_00348130 == '\x04'" identifier == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    uw_update_context_1();\n    param_1[0x13] = param_3;\n    return;\n  }" { (if_statement "if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }" if (parenthesized_expression "((*(byte *)((int)param_1 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)((int)param_1 + 99) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 99)" * (cast_expression "(byte *)((int)param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 99)" ( (binary_expression "(int)param_1 + 99" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1c)" * (cast_expression "(undefined1 *)(param_1 + 0x1c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "local_3c = 1;" (assignment_expression "local_3c = 1" identifier = number_literal) ;) (expression_statement "param_1[4] = local_e0;" (assignment_expression "param_1[4] = local_e0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_44 = 4;" (assignment_expression "local_44 = 4" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_e0[0] = param_2;" (assignment_expression "local_e0[0] = param_2" (subscript_expression "local_e0[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uw_update_context_1();" (call_expression "uw_update_context_1()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[0x13] = param_3;" (assignment_expression "param_1[0x13] = param_3" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "uw_init_context_1_cold_10:\n                    /* WARNING: Subroutine does not return */\n  abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))
(translation_unit "void __regparm3 FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = FUN_00241af0();\n  if (iVar1 != 0) goto FUN_000340ff;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }\nFUN_000340ff:\n                    \n  abort();\n}\n\n" (function_definition "void __regparm3 FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = FUN_00241af0();\n  if (iVar1 != 0) goto FUN_000340ff;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }\nFUN_000340ff:\n                    \n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = FUN_00241af0();\n  if (iVar1 != 0) goto FUN_000340ff;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }\nFUN_000340ff:\n                    \n  abort();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined4 local_e0 [38];" type_identifier (array_declarator "local_e0 [38]" identifier [ number_literal ]) ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x242ae1;" (assignment_expression "uStack_14 = 0x242ae1" identifier = number_literal) ;) (expression_statement "puVar2 = param_1;" (assignment_expression "puVar2 = param_1" identifier = identifier) ;) (for_statement "for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" for ( (assignment_expression "iVar1 = 0x20" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "param_1[0x18] = 0x40000000;" (assignment_expression "param_1[0x18] = 0x40000000" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x13] = unaff_retaddr;" (assignment_expression "param_1[0x13] = unaff_retaddr" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = FUN_00241af0();" (assignment_expression "iVar1 = FUN_00241af0()" identifier = (call_expression "FUN_00241af0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) goto FUN_000340ff;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto FUN_000340ff;" goto statement_identifier ;)) (if_statement "if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" if (parenthesized_expression "(PTR___pthread_key_create_0033ef3c == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_0033ef3c == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }" { (labeled_statement "LAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" statement_identifier : (if_statement "if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" if (parenthesized_expression "(DAT_0034812c == '\0')" ( (binary_expression "DAT_0034812c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" { (expression_statement "DAT_0034812c = '\x04';" (assignment_expression "DAT_0034812c = '\x04'" identifier = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "DAT_0034812e = 4;" (assignment_expression "DAT_0034812e = 4" identifier = number_literal) ;) (expression_statement "DAT_0034812d = 4;" (assignment_expression "DAT_0034812d = 4" identifier = number_literal) ;) (expression_statement "DAT_0034812f = 4;" (assignment_expression "DAT_0034812f = 4" identifier = number_literal) ;) (expression_statement "DAT_00348132 = 4;" (assignment_expression "DAT_00348132 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348133 = 4;" (assignment_expression "DAT_00348133 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348131 = 4;" (assignment_expression "DAT_00348131 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348130 = '\x04';" (assignment_expression "DAT_00348130 = '\x04'" identifier = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "DAT_00348137 = 0xc;" (assignment_expression "DAT_00348137 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348138 = 0xc;" (assignment_expression "DAT_00348138 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348139 = 0xc;" (assignment_expression "DAT_00348139 = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813a = 0xc;" (assignment_expression "DAT_0034813a = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813b = 0xc;" (assignment_expression "DAT_0034813b = 0xc" identifier = number_literal) ;) (expression_statement "DAT_0034813c = 0xc;" (assignment_expression "DAT_0034813c = 0xc" identifier = number_literal) ;) (expression_statement "DAT_00348135 = 4;" (assignment_expression "DAT_00348135 = 4" identifier = number_literal) ;) (expression_statement "DAT_00348134 = 4;" (assignment_expression "DAT_00348134 = 4" identifier = number_literal) ;) }))) }) (else_clause "else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" else (compound_statement "{\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" { (expression_statement "iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);" (assignment_expression "iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70)" identifier = (call_expression "pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70)" identifier (argument_list "((pthread_once_t *)&DAT_00348128,FUN_00241a70)" ( (cast_expression "(pthread_once_t *)&DAT_00348128" ( (type_descriptor "pthread_once_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00348128" & identifier)) , identifier )))) ;) (if_statement "if (iVar1 != 0) goto LAB_00242bb0;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00242bb0;" goto statement_identifier ;)) }))) (if_statement "if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }" if (parenthesized_expression "(DAT_00348130 == '\x04')" ( (binary_expression "DAT_00348130 == '\x04'" identifier == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }" { (if_statement "if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }" if (parenthesized_expression "((*(byte *)((int)param_1 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)((int)param_1 + 99) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 99)" * (cast_expression "(byte *)((int)param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 99)" ( (binary_expression "(int)param_1 + 99" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1c)" * (cast_expression "(undefined1 *)(param_1 + 0x1c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "local_3c = 1;" (assignment_expression "local_3c = 1" identifier = number_literal) ;) (expression_statement "param_1[4] = local_e0;" (assignment_expression "param_1[4] = local_e0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_44 = 4;" (assignment_expression "local_44 = 4" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_e0[0] = param_2;" (assignment_expression "local_e0[0] = param_2" (subscript_expression "local_e0[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00242750();" (call_expression "FUN_00242750()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[0x13] = param_3;" (assignment_expression "param_1[0x13] = param_3" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "FUN_000340ff:\n                    \n  abort();" statement_identifier : (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) })))
(function_definition "void __regparm3 FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = FUN_00241af0();\n  if (iVar1 != 0) goto FUN_000340ff;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }\nFUN_000340ff:\n                    \n  abort();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00242ad0(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00242ad0") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 unaff_retaddr;\n  undefined4 local_e0 [38];\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_3c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x242ae1;\n  puVar2 = param_1;\n  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  param_1[0x18] = 0x40000000;\n  param_1[0x13] = unaff_retaddr;\n  iVar1 = FUN_00241af0();\n  if (iVar1 != 0) goto FUN_000340ff;\n  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }\n  if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }\nFUN_000340ff:\n                    \n  abort();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (declaration "undefined4 local_e0 [38];" (type_identifier "undefined4") (array_declarator "local_e0 [38]" (identifier "local_e0") ([ "[") (number_literal "38") (] "]")) (; ";")) (declaration "undefined4 local_48;" (type_identifier "undefined4") (identifier "local_48") (; ";")) (declaration "undefined4 local_44;" (type_identifier "undefined4") (identifier "local_44") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x242ae1;" (assignment_expression "uStack_14 = 0x242ae1" (identifier "uStack_14") (= "=") (number_literal "0x242ae1")) (; ";")) (expression_statement "puVar2 = param_1;" (assignment_expression "puVar2 = param_1" (identifier "puVar2") (= "=") (identifier "param_1")) (; ";")) (for_statement "for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar1 = 0x20" (identifier "iVar1") (= "=") (number_literal "0x20")) (; ";") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" ({ "{") (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "param_1[0x18] = 0x40000000;" (assignment_expression "param_1[0x18] = 0x40000000" (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]")) (= "=") (number_literal "0x40000000")) (; ";")) (expression_statement "param_1[0x13] = unaff_retaddr;" (assignment_expression "param_1[0x13] = unaff_retaddr" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (identifier "unaff_retaddr")) (; ";")) (expression_statement "iVar1 = FUN_00241af0();" (assignment_expression "iVar1 = FUN_00241af0()" (identifier "iVar1") (= "=") (call_expression "FUN_00241af0()" (identifier "FUN_00241af0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) goto FUN_000340ff;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto FUN_000340ff;" (goto "goto") (statement_identifier "FUN_000340ff") (; ";"))) (if_statement "if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }\n  else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" (if "if") (parenthesized_expression "(PTR___pthread_key_create_0033ef3c == (undefined *)0x0)" (( "(") (binary_expression "PTR___pthread_key_create_0033ef3c == (undefined *)0x0" (identifier "PTR___pthread_key_create_0033ef3c") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }\n  }" ({ "{") (labeled_statement "LAB_00242bb0:\n    if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" (statement_identifier "LAB_00242bb0") (: ":") (if_statement "if (DAT_0034812c == '\0') {\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" (if "if") (parenthesized_expression "(DAT_0034812c == '\0')" (( "(") (binary_expression "DAT_0034812c == '\0'" (identifier "DAT_0034812c") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      DAT_0034812c = '\x04';\n      DAT_0034812e = 4;\n      DAT_0034812d = 4;\n      DAT_0034812f = 4;\n      DAT_00348132 = 4;\n      DAT_00348133 = 4;\n      DAT_00348131 = 4;\n      DAT_00348130 = '\x04';\n      DAT_00348137 = 0xc;\n      DAT_00348138 = 0xc;\n      DAT_00348139 = 0xc;\n      DAT_0034813a = 0xc;\n      DAT_0034813b = 0xc;\n      DAT_0034813c = 0xc;\n      DAT_00348135 = 4;\n      DAT_00348134 = 4;\n    }" ({ "{") (expression_statement "DAT_0034812c = '\x04';" (assignment_expression "DAT_0034812c = '\x04'" (identifier "DAT_0034812c") (= "=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) (; ";")) (expression_statement "DAT_0034812e = 4;" (assignment_expression "DAT_0034812e = 4" (identifier "DAT_0034812e") (= "=") (number_literal "4")) (; ";")) (expression_statement "DAT_0034812d = 4;" (assignment_expression "DAT_0034812d = 4" (identifier "DAT_0034812d") (= "=") (number_literal "4")) (; ";")) (expression_statement "DAT_0034812f = 4;" (assignment_expression "DAT_0034812f = 4" (identifier "DAT_0034812f") (= "=") (number_literal "4")) (; ";")) (expression_statement "DAT_00348132 = 4;" (assignment_expression "DAT_00348132 = 4" (identifier "DAT_00348132") (= "=") (number_literal "4")) (; ";")) (expression_statement "DAT_00348133 = 4;" (assignment_expression "DAT_00348133 = 4" (identifier "DAT_00348133") (= "=") (number_literal "4")) (; ";")) (expression_statement "DAT_00348131 = 4;" (assignment_expression "DAT_00348131 = 4" (identifier "DAT_00348131") (= "=") (number_literal "4")) (; ";")) (expression_statement "DAT_00348130 = '\x04';" (assignment_expression "DAT_00348130 = '\x04'" (identifier "DAT_00348130") (= "=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) (; ";")) (expression_statement "DAT_00348137 = 0xc;" (assignment_expression "DAT_00348137 = 0xc" (identifier "DAT_00348137") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "DAT_00348138 = 0xc;" (assignment_expression "DAT_00348138 = 0xc" (identifier "DAT_00348138") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "DAT_00348139 = 0xc;" (assignment_expression "DAT_00348139 = 0xc" (identifier "DAT_00348139") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "DAT_0034813a = 0xc;" (assignment_expression "DAT_0034813a = 0xc" (identifier "DAT_0034813a") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "DAT_0034813b = 0xc;" (assignment_expression "DAT_0034813b = 0xc" (identifier "DAT_0034813b") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "DAT_0034813c = 0xc;" (assignment_expression "DAT_0034813c = 0xc" (identifier "DAT_0034813c") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "DAT_00348135 = 4;" (assignment_expression "DAT_00348135 = 4" (identifier "DAT_00348135") (= "=") (number_literal "4")) (; ";")) (expression_statement "DAT_00348134 = 4;" (assignment_expression "DAT_00348134 = 4" (identifier "DAT_00348134") (= "=") (number_literal "4")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" (else "else") (compound_statement "{\n    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);\n    if (iVar1 != 0) goto LAB_00242bb0;\n  }" ({ "{") (expression_statement "iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);" (assignment_expression "iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70)" (identifier "iVar1") (= "=") (call_expression "pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70)" (identifier "pthread_once") (argument_list "((pthread_once_t *)&DAT_00348128,FUN_00241a70)" (( "(") (cast_expression "(pthread_once_t *)&DAT_00348128" (( "(") (type_descriptor "pthread_once_t *" (type_identifier "pthread_once_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_00348128" (& "&") (identifier "DAT_00348128"))) (, ",") (identifier "FUN_00241a70") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) goto LAB_00242bb0;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00242bb0;" (goto "goto") (statement_identifier "LAB_00242bb0") (; ";"))) (} "}")))) (if_statement "if (DAT_00348130 == '\x04') {\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_00348130 == '\x04')" (( "(") (binary_expression "DAT_00348130 == '\x04'" (identifier "DAT_00348130") (== "==") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }\n    local_3c = 1;\n    param_1[4] = local_e0;\n    local_44 = 4;\n    local_48 = 0;\n    local_e0[0] = param_2;\n    FUN_00242750();\n    param_1[0x13] = param_3;\n    return;\n  }" ({ "{") (if_statement "if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }" (if "if") (parenthesized_expression "((*(byte *)((int)param_1 + 99) & 0x40) != 0)" (( "(") (binary_expression "(*(byte *)((int)param_1 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 99) & 0x40)" (( "(") (binary_expression "*(byte *)((int)param_1 + 99) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 99)" (* "*") (cast_expression "(byte *)((int)param_1 + 99)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 99)" (( "(") (binary_expression "(int)param_1 + 99" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "99")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x1c) = 0;\n    }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_3c = 1;" (assignment_expression "local_3c = 1" (identifier "local_3c") (= "=") (number_literal "1")) (; ";")) (expression_statement "param_1[4] = local_e0;" (assignment_expression "param_1[4] = local_e0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "local_e0")) (; ";")) (expression_statement "local_44 = 4;" (assignment_expression "local_44 = 4" (identifier "local_44") (= "=") (number_literal "4")) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_e0[0] = param_2;" (assignment_expression "local_e0[0] = param_2" (subscript_expression "local_e0[0]" (identifier "local_e0") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_00242750();" (call_expression "FUN_00242750()" (identifier "FUN_00242750") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "param_1[0x13] = param_3;" (assignment_expression "param_1[0x13] = param_3" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "FUN_000340ff:\n                    \n  abort();" (statement_identifier "FUN_000340ff") (: ":") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 function_1(type_1 *var_8,type_1 param_2,type_1 param_3)

{
  int var_1;
  type_1 *var_2;
  type_1 unaff_retaddr;
  type_1 local_e0 [38];
  type_1 local_48;
  type_1 local_44;
  type_1 local_3c;
  type_1 uStack_14;
  
  uStack_14 = 0x242ae1;
  var_2 = var_8;
  for (var_1 = 0x20; var_1 != 0; var_1 = var_1 + -1) {
    *var_2 = 0;
    var_2 = var_2 + 1;
  }
  var_8[0x18] = 0x40000000;
  var_8[0x13] = unaff_retaddr;
  var_1 = var_3();
  if (var_1 != 0) goto uw_init_context_1_cold_10;
  if (var_4 == (type_2 *)0x0) {
LAB_00242bb0:
    if (var_5 == '\0') {
      var_5 = '\x04';
      DAT_0034812e = 4;
      DAT_0034812d = 4;
      DAT_0034812f = 4;
      DAT_00348132 = 4;
      DAT_00348133 = 4;
      DAT_00348131 = 4;
      var_7 = '\x04';
      DAT_00348137 = 0xc;
      DAT_00348138 = 0xc;
      DAT_00348139 = 0xc;
      DAT_0034813a = 0xc;
      DAT_0034813b = 0xc;
      DAT_0034813c = 0xc;
      DAT_00348135 = 4;
      DAT_00348134 = 4;
    }
  }
  else {
    var_1 = var_6(&once_regsizes_8980,init_dwarf_reg_size_table);
    if (var_1 != 0) goto LAB_00242bb0;
  }
  if (var_7 == '\x04') {
    if ((*(type_3 *)((int)var_8 + 99) & 0x40) != 0) {
      *(type_4 *)(var_8 + 0x1c) = 0;
    }
    local_3c = 1;
    var_8[4] = local_e0;
    local_44 = 4;
    local_48 = 0;
    local_e0[0] = param_2;
    var_9();
    var_8[0x13] = param_3;
    return;
  }
uw_init_context_1_cold_10:
                    /* WARNING: Subroutine does not return */
  var_10();
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (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))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 unaff_retaddr;
  undefined4 local_e0 [38];
  undefined4 local_48;
  undefined4 local_44;
  undefined4 local_3c;
  undefined4 uStack_14;
  
  uStack_14 = 0x242ae1;
  puVar2 = param_1;
  for (iVar1 = 0x20; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar2 = 0;
    puVar2 = puVar2 + 1;
  }
  param_1[0x18] = 0x40000000;
  param_1[0x13] = unaff_retaddr;
  iVar1 = FUN_00241af0();
  if (iVar1 != 0) goto FUN_000340ff;
  if (PTR___pthread_key_create_0033ef3c == (undefined *)0x0) {
LAB_00242bb0:
    if (DAT_0034812c == '\0') {
      DAT_0034812c = '\x04';
      DAT_0034812e = 4;
      DAT_0034812d = 4;
      DAT_0034812f = 4;
      DAT_00348132 = 4;
      DAT_00348133 = 4;
      DAT_00348131 = 4;
      DAT_00348130 = '\x04';
      DAT_00348137 = 0xc;
      DAT_00348138 = 0xc;
      DAT_00348139 = 0xc;
      DAT_0034813a = 0xc;
      DAT_0034813b = 0xc;
      DAT_0034813c = 0xc;
      DAT_00348135 = 4;
      DAT_00348134 = 4;
    }
  }
  else {
    iVar1 = pthread_once((pthread_once_t *)&DAT_00348128,FUN_00241a70);
    if (iVar1 != 0) goto LAB_00242bb0;
  }
  if (DAT_00348130 == '\x04') {
    if ((*(byte *)((int)param_1 + 99) & 0x40) != 0) {
      *(undefined1 *)(param_1 + 0x1c) = 0;
    }
    local_3c = 1;
    param_1[4] = local_e0;
    local_44 = 4;
    local_48 = 0;
    local_e0[0] = param_2;
    FUN_00242750();
    param_1[0x13] = param_3;
    return;
  }
FUN_000340ff:
                    /* WARNING: Subroutine does not return */
  abort();
}

