
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "<anon>": Some values do not have unique names */
/* DWARF original prototype: void do_setup(Arm_relobj<true> * this) */

void __thiscall anon_unknown.dwarf_91258a::Arm_relobj<true>::do_setup(Arm_relobj<true> *this)

{
}



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

void FUN_001427a0(int param_1)

{
  uint uVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  
  FUN_00294830(param_1);
  uVar1 = *(uint *)(param_1 + 0x28);
  if (uVar1 == 0) {
    puVar3 = (undefined4 *)0x0;
    puVar5 = (undefined4 *)0x0;
  }
  else {
    if (0x3fffffff < uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_003f38c0();
    }
    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);
    puVar5 = puVar3 + uVar1;
    puVar4 = puVar3;
    do {
      *puVar4 = 0;
      puVar4 = puVar4 + 1;
    } while (puVar4 != puVar5);
  }
  iVar2 = *(int *)(param_1 + 0x13c);
  *(undefined4 **)(param_1 + 0x140) = puVar5;
  *(undefined4 **)(param_1 + 0x13c) = puVar3;
  *(undefined4 **)(param_1 + 0x144) = puVar5;
  if (iVar2 != 0) {
    FUN_003ae080(iVar2);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00050b50
ADD EBX,0x4a7854
SUB ESP,0xc
PUSH EDI
CALL 0x00294830
MOV EDX,dword ptr [EDI + 0x28]
ADD ESP,0x10
TEST EDX,EDX
JZ 0x00142828
CMP EDX,0x3fffffff
JA 0x0014282e
LEA ESI,[EDX*0x4 + 0x0]
SUB ESP,0xc
PUSH ESI
CALL 0x003ac4d0
ADD ESP,0x10
LEA EDX,[EAX + ESI*0x1]
MOV ECX,EAX
LEA ESI,[ESI]
MOV dword ptr [ECX],0x0
ADD ECX,0x4
CMP ECX,EDX
JNZ 0x001427e8
MOV ECX,dword ptr [EDI + 0x13c]
MOV dword ptr [EDI + 0x140],EDX
MOV dword ptr [EDI + 0x13c],EAX
MOV dword ptr [EDI + 0x144],EDX
TEST ECX,ECX
JZ 0x0014281d
SUB ESP,0xc
PUSH ECX
CALL 0x003ae080
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
XOR EAX,EAX
XOR EDX,EDX
JMP 0x001427f5
CALL 0x003f38c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001427a0(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  FUN_00294830(param_1);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }\n  iVar2 = *(int *)(param_1 + 0x13c);\n  *(undefined4 **)(param_1 + 0x140) = puVar5;\n  *(undefined4 **)(param_1 + 0x13c) = puVar3;\n  *(undefined4 **)(param_1 + 0x144) = puVar5;\n  if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001427a0(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  FUN_00294830(param_1);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }\n  iVar2 = *(int *)(param_1 + 0x13c);\n  *(undefined4 **)(param_1 + 0x140) = puVar5;\n  *(undefined4 **)(param_1 + 0x13c) = puVar3;\n  *(undefined4 **)(param_1 + 0x144) = puVar5;\n  if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001427a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  FUN_00294830(param_1);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }\n  iVar2 = *(int *)(param_1 + 0x13c);\n  *(undefined4 **)(param_1 + 0x140) = puVar5;\n  *(undefined4 **)(param_1 + 0x13c) = puVar3;\n  *(undefined4 **)(param_1 + 0x144) = puVar5;\n  if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "FUN_00294830(param_1);" (call_expression "FUN_00294830(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" identifier = (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }" { (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)0x0;" (assignment_expression "puVar5 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" else (compound_statement "{\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" { (if_statement "if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003f38c0();\n    }" if (parenthesized_expression "(0x3fffffff < uVar1)" ( (binary_expression "0x3fffffff < uVar1" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_003f38c0();\n    }" { comment (expression_statement "FUN_003f38c0();" (call_expression "FUN_003f38c0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);" (assignment_expression "puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4)" identifier = (cast_expression "(undefined4 *)FUN_003ac4d0(uVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(uVar1 * 4)" identifier (argument_list "(uVar1 * 4)" ( (binary_expression "uVar1 * 4" identifier * number_literal) ))))) ;) (expression_statement "puVar5 = puVar3 + uVar1;" (assignment_expression "puVar5 = puVar3 + uVar1" identifier = (binary_expression "puVar3 + uVar1" identifier + identifier)) ;) (expression_statement "puVar4 = puVar3;" (assignment_expression "puVar4 = puVar3" identifier = identifier) ;) (do_statement "do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);" do (compound_statement "{\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar5)" ( (binary_expression "puVar4 != puVar5" identifier != identifier) )) ;) }))) (expression_statement "iVar2 = *(int *)(param_1 + 0x13c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x13c)" identifier = (pointer_expression "*(int *)(param_1 + 0x13c)" * (cast_expression "(int *)(param_1 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x13c) = puVar3;" (assignment_expression "*(undefined4 **)(param_1 + 0x13c) = puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x13c)" * (cast_expression "(undefined4 **)(param_1 + 0x13c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x144) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x144) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x144)" * (cast_expression "(undefined4 **)(param_1 + 0x144)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x144)" ( (binary_expression "param_1 + 0x144" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_003ae080(iVar2);\n  }" { (expression_statement "FUN_003ae080(iVar2);" (call_expression "FUN_003ae080(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "<anon>": Some values do not have unique names */\n/* DWARF original prototype: void do_setup(Arm_relobj<true> * this) */\n\nvoid __thiscall anon_unknown.dwarf_91258a::Arm_relobj<true>::do_setup(Arm_relobj<true> *this)\n\n{\n}\n\n" comment comment comment (function_definition "void __thiscall anon_unknown.dwarf_91258a::Arm_relobj<true>::do_setup(Arm_relobj<true> *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_91258a::Arm_relobj<true>::" identifier . identifier : : identifier < true > : :) (function_declarator "do_setup(Arm_relobj<true> *this)" identifier (parameter_list "(Arm_relobj<true> *this)" ( (parameter_declaration "Arm_relobj<true> *this" type_identifier (ERROR "<true>" < true >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_001427a0(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  FUN_00294830(param_1);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }\n  iVar2 = *(int *)(param_1 + 0x13c);\n  *(undefined4 **)(param_1 + 0x140) = puVar5;\n  *(undefined4 **)(param_1 + 0x13c) = puVar3;\n  *(undefined4 **)(param_1 + 0x144) = puVar5;\n  if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001427a0(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  FUN_00294830(param_1);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }\n  iVar2 = *(int *)(param_1 + 0x13c);\n  *(undefined4 **)(param_1 + 0x140) = puVar5;\n  *(undefined4 **)(param_1 + 0x13c) = puVar3;\n  *(undefined4 **)(param_1 + 0x144) = puVar5;\n  if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001427a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  FUN_00294830(param_1);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }\n  iVar2 = *(int *)(param_1 + 0x13c);\n  *(undefined4 **)(param_1 + 0x140) = puVar5;\n  *(undefined4 **)(param_1 + 0x13c) = puVar3;\n  *(undefined4 **)(param_1 + 0x144) = puVar5;\n  if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "FUN_00294830(param_1);" (call_expression "FUN_00294830(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" identifier = (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }" { (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)0x0;" (assignment_expression "puVar5 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" else (compound_statement "{\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" { (if_statement "if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }" if (parenthesized_expression "(0x3fffffff < uVar1)" ( (binary_expression "0x3fffffff < uVar1" number_literal < identifier) )) (compound_statement "{\n                    \n      FUN_003f38c0();\n    }" { (expression_statement "FUN_003f38c0();" (call_expression "FUN_003f38c0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);" (assignment_expression "puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4)" identifier = (cast_expression "(undefined4 *)FUN_003ac4d0(uVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(uVar1 * 4)" identifier (argument_list "(uVar1 * 4)" ( (binary_expression "uVar1 * 4" identifier * number_literal) ))))) ;) (expression_statement "puVar5 = puVar3 + uVar1;" (assignment_expression "puVar5 = puVar3 + uVar1" identifier = (binary_expression "puVar3 + uVar1" identifier + identifier)) ;) (expression_statement "puVar4 = puVar3;" (assignment_expression "puVar4 = puVar3" identifier = identifier) ;) (do_statement "do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);" do (compound_statement "{\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar5)" ( (binary_expression "puVar4 != puVar5" identifier != identifier) )) ;) }))) (expression_statement "iVar2 = *(int *)(param_1 + 0x13c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x13c)" identifier = (pointer_expression "*(int *)(param_1 + 0x13c)" * (cast_expression "(int *)(param_1 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x13c) = puVar3;" (assignment_expression "*(undefined4 **)(param_1 + 0x13c) = puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x13c)" * (cast_expression "(undefined4 **)(param_1 + 0x13c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x144) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x144) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x144)" * (cast_expression "(undefined4 **)(param_1 + 0x144)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x144)" ( (binary_expression "param_1 + 0x144" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_003ae080(iVar2);\n  }" { (expression_statement "FUN_003ae080(iVar2);" (call_expression "FUN_003ae080(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT * LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001427a0(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  FUN_00294830(param_1);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }\n  iVar2 = *(int *)(param_1 + 0x13c);\n  *(undefined4 **)(param_1 + 0x140) = puVar5;\n  *(undefined4 **)(param_1 + 0x13c) = puVar3;\n  *(undefined4 **)(param_1 + 0x144) = puVar5;\n  if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001427a0(int param_1)" (identifier "FUN_001427a0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  FUN_00294830(param_1);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }\n  iVar2 = *(int *)(param_1 + 0x13c);\n  *(undefined4 **)(param_1 + 0x140) = puVar5;\n  *(undefined4 **)(param_1 + 0x13c) = puVar3;\n  *(undefined4 **)(param_1 + 0x144) = puVar5;\n  if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "FUN_00294830(param_1);" (call_expression "FUN_00294830(param_1)" (identifier "FUN_00294830") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0x28)" (* "*") (cast_expression "(uint *)(param_1 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (uVar1 == 0) {\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)0x0;\n    puVar5 = (undefined4 *)0x0;\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)0x0;" (assignment_expression "puVar5 = (undefined4 *)0x0" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" (else "else") (compound_statement "{\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }\n    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);\n    puVar5 = puVar3 + uVar1;\n    puVar4 = puVar3;\n    do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);\n  }" ({ "{") (if_statement "if (0x3fffffff < uVar1) {\n                    \n      FUN_003f38c0();\n    }" (if "if") (parenthesized_expression "(0x3fffffff < uVar1)" (( "(") (binary_expression "0x3fffffff < uVar1" (number_literal "0x3fffffff") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n                    \n      FUN_003f38c0();\n    }" ({ "{") (expression_statement "FUN_003f38c0();" (call_expression "FUN_003f38c0()" (identifier "FUN_003f38c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);" (assignment_expression "puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_003ac4d0(uVar1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(uVar1 * 4)" (identifier "FUN_003ac4d0") (argument_list "(uVar1 * 4)" (( "(") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "puVar5 = puVar3 + uVar1;" (assignment_expression "puVar5 = puVar3 + uVar1" (identifier "puVar5") (= "=") (binary_expression "puVar3 + uVar1" (identifier "puVar3") (+ "+") (identifier "uVar1"))) (; ";")) (expression_statement "puVar4 = puVar3;" (assignment_expression "puVar4 = puVar3" (identifier "puVar4") (= "=") (identifier "puVar3")) (; ";")) (do_statement "do {\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar5);" (do "do") (compound_statement "{\n      *puVar4 = 0;\n      puVar4 = puVar4 + 1;\n    }" ({ "{") (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar5)" (( "(") (binary_expression "puVar4 != puVar5" (identifier "puVar4") (!= "!=") (identifier "puVar5")) () ")")) (; ";")) (} "}")))) (expression_statement "iVar2 = *(int *)(param_1 + 0x13c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x13c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x13c)" (* "*") (cast_expression "(int *)(param_1 + 0x13c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x13c) = puVar3;" (assignment_expression "*(undefined4 **)(param_1 + 0x13c) = puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x13c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x13c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")")))) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x144) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x144) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x144)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x144)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x144)" (( "(") (binary_expression "param_1 + 0x144" (identifier "param_1") (+ "+") (number_literal "0x144")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (if_statement "if (iVar2 != 0) {\n    FUN_003ae080(iVar2);\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_003ae080(iVar2);\n  }" ({ "{") (expression_statement "FUN_003ae080(iVar2);" (call_expression "FUN_003ae080(iVar2)" (identifier "FUN_003ae080") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "<anon>": Some values do not have unique names */
/* DWARF original prototype: void do_setup(Arm_relobj<true> * this) */

void __thiscall anon_unknown.dwarf_91258a::type_1<true>::function_1(type_1<true> *this)

{
}


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

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

void MASKED(int param_1)

{
  uint uVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  
  FUN_00294830(param_1);
  uVar1 = *(uint *)(param_1 + 0x28);
  if (uVar1 == 0) {
    puVar3 = (undefined4 *)0x0;
    puVar5 = (undefined4 *)0x0;
  }
  else {
    if (0x3fffffff < uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_003f38c0();
    }
    puVar3 = (undefined4 *)FUN_003ac4d0(uVar1 * 4);
    puVar5 = puVar3 + uVar1;
    puVar4 = puVar3;
    do {
      *puVar4 = 0;
      puVar4 = puVar4 + 1;
    } while (puVar4 != puVar5);
  }
  iVar2 = *(int *)(param_1 + 0x13c);
  *(undefined4 **)(param_1 + 0x140) = puVar5;
  *(undefined4 **)(param_1 + 0x13c) = puVar3;
  *(undefined4 **)(param_1 + 0x144) = puVar5;
  if (iVar2 != 0) {
    FUN_003ae080(iVar2);
  }
  return;
}

