//==== offset 0x2a4060  FUN_002a4060  size=1

long FUN_002a4060(int param_1)

{
  long lStack_68;
  int iStack_60;
  int iStack_5c;
  long lStack_58;
  long lStack_48;
  int iStack_40;
  int iStack_3c;
  int *piStack_38;
  long lStack_30;
  long lStack_28;
  int iStack_1c;
  long lStack_18;
  
  lStack_68 = -0x5de4cab4c79c4762;
  while( true ) {
    while( true ) {
      while( true ) {
        while( true ) {
          while( true ) {
            while( true ) {
              while( true ) {
                while( true ) {
                  while( true ) {
                    while( true ) {
                      while (lStack_68 == -0x780eb2224d76f8ad) {
                        lStack_30 = lRam00000000004577d8;
                        lStack_28 = (long)iStack_60;
                        lStack_68 = -0x44e0568dae26018e;
                      }
                      if (lStack_68 != -0x6650b1abc99e0b60) break;
                      piStack_38 = (int *)(lStack_58 + (long)iStack_60 * 4);
                      lStack_68 = -0x1c834dfd71063e2f;
                    }
                    if (lStack_68 != -0x60fc8f04122320cd) break;
                    lStack_18 = lStack_48;
                    lStack_68 = 0x11deb4bd7ec89002;
                  }
                  if (lStack_68 != -0x5de4cab4c79c4762) break;
                  lStack_58 = FUN_002b74c4(0);
                  iStack_5c = FUN_002b74d0();
                  iStack_60 = 0;
                  lStack_68 = 0x7c29b439a24c8647;
                }
                if (lStack_68 != -0x44e0568dae26018e) break;
                lStack_48 = lStack_30 + lStack_28 * 0x10;
                lStack_68 = -0x60fc8f04122320cd;
              }
              if (lStack_68 != -0x3382275055ba97b8) break;
              lStack_68 = -0x2b10cc0119d93b82;
            }
            if (lStack_68 != -0x2b10cc0119d93b82) break;
            iStack_1c = iStack_60 + 1;
            lStack_68 = 0x3c0849b6d3b21343;
          }
          if (lStack_68 != -0x2571d9e10de07365) break;
          lStack_68 = -0x6650b1abc99e0b60;
          if (iStack_3c <= iStack_40) {
            lStack_68 = 0x384ccc712f9787e0;
          }
        }
        if (lStack_68 != -0x1c834dfd71063e2f) break;
        lStack_68 = -0x780eb2224d76f8ad;
        if (*piStack_38 != param_1) {
          lStack_68 = -0x3382275055ba97b8;
        }
      }
      if (lStack_68 != -0xa035e2ad3095c91) break;
      lStack_68 = -0x60fc8f04122320cd;
    }
    if (lStack_68 == 0x11deb4bd7ec89002) break;
    if (lStack_68 == 0x384ccc712f9787e0) {
      lStack_48 = 0;
      lStack_68 = -0xa035e2ad3095c91;
    }
    else if (lStack_68 == 0x3c0849b6d3b21343) {
      iStack_60 = iStack_1c;
      lStack_68 = 0x7c29b439a24c8647;
    }
    else if (lStack_68 == 0x7c29b439a24c8647) {
      iStack_40 = iStack_60;
      iStack_3c = iStack_5c;
      lStack_68 = -0x2571d9e10de07365;
    }
  }
  return lStack_18;
}


//==== offset 0x2a233c  FUN_002a233c  size=1

void FUN_002a233c(void)

{
  int iVar1;
  long lStack_38;
  int iStack_30;
  int iStack_28;
  int iStack_24;
  byte bStack_1e;
  byte bStack_1d;
  int iStack_1c;
  int iStack_18;
  byte bStack_11;
  
  iVar1 = iRam0000000000457750;
  lStack_38 = 0x42835384f1518321;
  while( true ) {
    while( true ) {
      while( true ) {
        while( true ) {
          while (lStack_38 == -0x78808538f46efe8f) {
            iRam0000000000457760 = 0;
            lRam0000000000457770 = 0;
            lStack_38 = 0x5608772a623cabd7;
          }
          if (lStack_38 != -0x690b2f8726e092c0) break;
          lStack_38 = 0x33c2f41277e168b4;
          if ((bStack_1e & 1) == 0) {
            lStack_38 = -0x44234a719af70984;
          }
        }
        if (lStack_38 != -0x5294bcd011792f32) break;
        lStack_38 = -0x25261863e69c1206;
      }
      if (lStack_38 != -0x44234a719af70984) break;
      _pthread_cancel(lRam0000000000457770);
      lStack_38 = 0x70fcf8f22c8f8be2;
    }
    if (lStack_38 == -0x3549d8665295c930) break;
    if (lStack_38 == -0x3433971d73c6dcb5) {
      bStack_11 = *(byte *)(lRam0000000000457758 + 0x14);
      lStack_38 = 0x3883efc9d111935d;
    }
    else if (lStack_38 == -0x25261863e69c1206) {
      iRam0000000000457764 = 0;
      lRam0000000000457768 = 0;
      lStack_38 = 0x72e2eaa530f51257;
    }
    else if (lStack_38 == -0x21c40f2e18c44e88) {
      lStack_38 = -0x25261863e69c1206;
    }
    else if (lStack_38 == -0x9f099097cbe4467) {
      iRam0000000000457750 = 0;
      lStack_38 = 0x7c9e37629334a0;
    }
    else if (lStack_38 == 0x7c9e37629334a0) {
      lStack_38 = -0x3549d8665295c930;
    }
    else if (lStack_38 == 0x6fa7e7fb9398b9b) {
      lStack_38 = 0xe260596c2c22408;
      if (iStack_28 == iStack_24) {
        lStack_38 = 0x60a09f1376a27d39;
      }
    }
    else if (lStack_38 == 0xdcd24914aed6eb0) {
      lStack_38 = 0x2213aab0698b14d8;
      if (lRam0000000000457770 == 0) {
        lStack_38 = 0x60a09f1376a27d39;
      }
    }
    else if (lStack_38 == 0xe260596c2c22408) {
      bStack_1e = *(byte *)(lRam0000000000457758 + 0x14);
      lStack_38 = -0x690b2f8726e092c0;
    }
    else if (lStack_38 == 0x1035047ec3a19fb6) {
      _thread_terminate(iRam0000000000457764);
      lStack_38 = -0x21c40f2e18c44e88;
    }
    else if (lStack_38 == 0x2213aab0698b14d8) {
      iStack_28 = iRam0000000000457760;
      iStack_24 = iStack_30;
      lStack_38 = 0x6fa7e7fb9398b9b;
    }
    else if (lStack_38 == 0x22b65deffa659ccd) {
      iStack_1c = iRam0000000000457764;
      iStack_18 = iStack_30;
      lStack_38 = 0x45ec45604bf5e649;
    }
    else if (lStack_38 == 0x26ebad90015eda9f) {
      FUN_002a04e0(0);
      iStack_30 = FUN_002b0e5c();
      lStack_38 = 0xdcd24914aed6eb0;
    }
    else if (lStack_38 == 0x33c2f41277e168b4) {
      _thread_terminate(iRam0000000000457760);
      lStack_38 = 0x3c0feb1eab3dae4e;
    }
    else if (lStack_38 == 0x3883efc9d111935d) {
      lStack_38 = 0x1035047ec3a19fb6;
      if ((bStack_11 & 1) == 0) {
        lStack_38 = 0x73f43e51d537e70e;
      }
    }
    else if (lStack_38 == 0x3c0feb1eab3dae4e) {
      lStack_38 = -0x78808538f46efe8f;
    }
    else if (lStack_38 == 0x40cb9ab3f95477b5) {
      lStack_38 = -0x3549d8665295c930;
    }
    else if (lStack_38 == 0x42835384f1518321) {
      lStack_38 = 0x26ebad90015eda9f;
      if (iVar1 == 0) {
        lStack_38 = 0x40cb9ab3f95477b5;
      }
    }
    else if (lStack_38 == 0x45ec45604bf5e649) {
      lStack_38 = -0x3433971d73c6dcb5;
      if (iStack_1c == iStack_18) {
        lStack_38 = -0x9f099097cbe4467;
      }
    }
    else if (lStack_38 == 0x5608772a623cabd7) {
      lStack_38 = 0x60a09f1376a27d39;
    }
    else if (lStack_38 == 0x60a09f1376a27d39) {
      bStack_1d = lRam0000000000457768 != 0;
      lStack_38 = 0x6ca0de610f0e1a92;
    }
    else if (lStack_38 == 0x6ca0de610f0e1a92) {
      lStack_38 = 0x22b65deffa659ccd;
      if ((bStack_1d & 1) == 0) {
        lStack_38 = -0x9f099097cbe4467;
      }
    }
    else if (lStack_38 == 0x70fcf8f22c8f8be2) {
      lStack_38 = -0x78808538f46efe8f;
    }
    else if (lStack_38 == 0x72e2eaa530f51257) {
      lStack_38 = -0x9f099097cbe4467;
    }
    else if (lStack_38 == 0x73f43e51d537e70e) {
      _pthread_cancel(lRam0000000000457768);
      lStack_38 = -0x5294bcd011792f32;
    }
  }
  return;
}


//==== offset 0x2a4a30  FUN_002a4a30  size=1

uint FUN_002a4a30(ulong param_1,undefined8 param_2)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined8 uVar4;
  long lVar5;
  long unaff_x29;
  
  do {
    *(ulong *)((long)register0x00000008 + -0x10) = param_1;
    ___snprintf_chk(param_2,0x1e,0,0x1e,"%d");
    **(long **)(unaff_x29 + -0xa8) = unaff_x29 + -0x36;
    *(undefined8 *)(unaff_x29 + -0xe8) = 0xcb864b2266b89a8a;
    while( true ) {
      while( true ) {
        while( true ) {
          while( true ) {
            while( true ) {
              while( true ) {
                while( true ) {
                  while( true ) {
                    while( true ) {
                      while( true ) {
                        while( true ) {
                          while( true ) {
                            while( true ) {
                              while( true ) {
                                while (*(long *)(unaff_x29 + -0x108) = *(long *)(unaff_x29 + -0xe8),
                                      *(long *)(unaff_x29 + -0xe8) == -0x73b21969e163975e) {
                                  *(bool *)(unaff_x29 + -0x99) = iRam00000000004577b8 != 0;
                                  *(undefined8 *)(unaff_x29 + -0xe8) = 0x1b39a2c811e9918a;
                                }
                                if (*(long *)(unaff_x29 + -0x108) != -0x673c0526063deb2d) break;
                                iRam00000000004577a8 = 1;
                                *(undefined8 *)(unaff_x29 + -0xe8) = 0xaf52e9d778729955;
                              }
                              if (*(long *)(unaff_x29 + -0x108) != -0x649f4a61b84eb84c) break;
                              uVar4 = FUN_002b74c4(0);
                              *(undefined8 *)(unaff_x29 + -0xc0) = uVar4;
                              uVar2 = FUN_002b74d0();
                              *(undefined4 *)(unaff_x29 + -0x84) = uVar2;
                              *(undefined8 *)(unaff_x29 + -0xe8) = 0xa3a8f7e2fc78df7;
                            }
                            if (*(long *)(unaff_x29 + -0x108) == -0x61e4b23549ca8bbb) {
                              *(uint *)(unaff_x29 + -0xfc) = (uint)*(byte *)(unaff_x29 + -0x37);
                              lVar5 = *(long *)PTR____stack_chk_guard_0042c1b0 -
                                      *(long *)(unaff_x29 + -0x18);
                              if (lVar5 != 0) {
                                ___stack_chk_fail(lVar5);
                              }
                              return *(uint *)(unaff_x29 + -0xfc) & 1;
                            }
                            if (*(long *)(unaff_x29 + -0x108) != -0x55d1bee17b29525b) break;
                            *(undefined8 *)(unaff_x29 + -0xe8) = 0x72d9a85a8298d483;
                          }
                          if (*(long *)(unaff_x29 + -0x108) != -0x54736108ce3dfb4c) break;
                          *(undefined1 *)(unaff_x29 + -0xa9) = 1;
                          *(undefined8 *)(unaff_x29 + -0xe8) = 0xd834e6ded581df3;
                        }
                        if (*(long *)(unaff_x29 + -0x108) != -0x50ad1628878d66ab) break;
                        *(undefined8 *)(unaff_x29 + -0xe8) = 0x8c4de6961e9c68a2;
                      }
                      if (*(long *)(unaff_x29 + -0x108) != -0x4f6c6b8209ed6731) break;
                      _strerror(0,*(undefined4 *)(unaff_x29 + -0x88));
                      *(undefined8 *)(unaff_x29 + -0xe8) = 0x56270cddfb92173b;
                    }
                    if (*(long *)(unaff_x29 + -0x108) != -0x4172f43ea69e4fae) break;
                    *(long *)(unaff_x29 + -0x60) = unaff_x29 + -0x36;
                    *(long *)(unaff_x29 + -0x58) =
                         *(long *)(unaff_x29 + -0xc0) + (long)*(int *)(unaff_x29 + -0xdc) * 4;
                    *(undefined8 *)(unaff_x29 + -0xe8) = 0xe4cc8b36dda04693;
                  }
                  if (*(long *)(unaff_x29 + -0x108) != -0x3e07f76ed8ff5931) break;
                  register0x00000008 = (BADSPACEBASE *)((long)register0x00000008 + -0x10);
                  *(BADSPACEBASE **)(unaff_x29 + -0xa8) = register0x00000008;
                  *(undefined8 *)(unaff_x29 + -0xb8) = *(undefined8 *)(unaff_x29 + -0xf8);
                  uVar4 = 0x8c4de6961e9c68a2;
                  if (iRam00000000004577a8 == 0) {
                    uVar4 = 0x98c3fad9f9c214d3;
                  }
                  *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
                }
                if (*(long *)(unaff_x29 + -0x108) != -0x3bca21249989d5a9) break;
                _sigaction(*(undefined4 *)(unaff_x29 + -0x4c),
                           *(long *)(unaff_x29 + -0x48) + (long)*(int *)(unaff_x29 + -0xdc) * 0x10,0
                          );
                *(undefined8 *)(unaff_x29 + -0xe8) = 0x394d324c9a2b0a21;
              }
              if (*(long *)(unaff_x29 + -0x108) != -0x37ecd2ad6c2f7608) break;
              *(int *)(unaff_x29 + -0x3c) = *(int *)(unaff_x29 + -0xdc) + 1;
              *(undefined8 *)(unaff_x29 + -0xe8) = 0x7abba5e06e260659;
            }
            if (*(long *)(unaff_x29 + -0x108) != -0x3479b4dd99476576) break;
            puVar3 = (undefined4 *)___error(*(undefined8 *)(unaff_x29 + -0xa8));
            _strerror(*puVar3);
            *(undefined8 *)(unaff_x29 + -0xe8) = 0x5eaa2b70c72ea634;
          }
          if (*(long *)(unaff_x29 + -0x108) != -0x2680920fdb592dbc) break;
          iVar1 = _sigaction(**(undefined4 **)(unaff_x29 + -0x70),unaff_x29 + -0xd8,
                             lRam00000000004577d8 + (long)*(int *)(unaff_x29 + -0xdc) * 0x10);
          uVar4 = 0xf252177159e8bc2c;
          if (iVar1 == 0) {
            uVar4 = 0xfdec762eb9875e56;
          }
          *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
        }
        if (*(long *)(unaff_x29 + -0x108) != -0x251b515a453634a0) break;
        uRam00000000004577c0 = *(undefined8 *)(unaff_x29 + -0x98);
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x158081c2d56ade34;
      }
      if (*(long *)(unaff_x29 + -0x108) == -0x1b3374c9225fb96d) break;
      if (*(long *)(unaff_x29 + -0x108) == -0xdade88ea61743d4) {
        *(long *)(unaff_x29 + -0x68) =
             *(long *)(unaff_x29 + -0xc0) + (long)*(int *)(unaff_x29 + -0xdc) * 4;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x76ac9a0c558f9891;
      }
      else if (*(long *)(unaff_x29 + -0x108) == -0xc6bb313a01a39ae) {
        *(long *)(unaff_x29 + -0x70) =
             *(long *)(unaff_x29 + -0xc0) + (long)*(int *)(unaff_x29 + -0xdc) * 4;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xd97f6df024a6d244;
      }
      else if (*(long *)(unaff_x29 + -0x108) == -0x99a4d8c38080ccb) {
        uVar4 = 0x79c4f96538e8ac;
        if (*(long *)(*(long *)(unaff_x29 + -0xf0) + 8) != 0) {
          uVar4 = 0x158081c2d56ade34;
        }
        *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
      }
      else if (*(long *)(unaff_x29 + -0x108) == -0x21389d14678a1aa) {
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xc8132d5293d089f8;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x79c4f96538e8ac) {
        lVar5 = *(long *)(unaff_x29 + -0xf0);
        *(undefined8 *)(lVar5 + 8) = 0x20000;
        uVar4 = _malloc(*(undefined8 *)(lVar5 + 8));
        *(undefined8 *)(unaff_x29 + -0x98) = uVar4;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xdae4aea5bac9cb60;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x28cff0f12416a51) {
        uVar4 = 0x15a584d7b28bf074;
        if ((*(byte *)(unaff_x29 + -0x4d) & 1) == 0) {
          uVar4 = 0x2a753d1319d0b056;
        }
        *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0xa3a8f7e2fc78df7) {
        *(undefined4 *)(unaff_x29 + -0xc4) = *(undefined4 *)(unaff_x29 + -0x84);
        uVar4 = 0x1f5fc36bc1823fa2;
        if (lRam00000000004577d8 != 0) {
          uVar4 = 0x7af884dab6c94b7a;
        }
        *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0xd834e6ded581df3) {
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x72d9a85a8298d483;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0xf818add128cafc2) {
        *(undefined4 *)(unaff_x29 + -0x78) = *(undefined4 *)(unaff_x29 + -0xdc);
        *(undefined4 *)(unaff_x29 + -0x74) = *(undefined4 *)(unaff_x29 + -0xc4);
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x14c15c7e73061983;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x14c15c7e73061983) {
        uVar4 = 0xf3944cec5fe5c652;
        if (*(int *)(unaff_x29 + -0x74) <= *(int *)(unaff_x29 + -0x78)) {
          uVar4 = 0x6ab01e671a01042f;
        }
        *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x158081c2d56ade34) {
        iVar1 = _sigaltstack(0,0x4577c0,0);
        *(bool *)(unaff_x29 + -0x89) = iVar1 != 0;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x4a75592ed1b22aab;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x15a584d7b28bf074) {
        *(undefined4 *)(unaff_x29 + -0x4c) =
             *(undefined4 *)(*(long *)(unaff_x29 + -0xc0) + (long)*(int *)(unaff_x29 + -0xdc) * 4);
        *(long *)(unaff_x29 + -0x48) = lRam00000000004577d8;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xc435dedb66762a57;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x1b39a2c811e9918a) {
        uVar4 = 0xab8c9ef731c204b4;
        if ((*(byte *)(unaff_x29 + -0x99) & 1) == 0) {
          uVar4 = 0x2d8bc7f7531b3825;
        }
        *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x1dd46b65b7149d50) {
        *(bool *)(unaff_x29 + -0x4d) = -1 < *(int *)(unaff_x29 + -0xdc);
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x28cff0f12416a51;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x1f38550c1a09c27c) {
        *(undefined1 *)(unaff_x29 + -0xa9) = 0;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x72d9a85a8298d483;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x1f5fc36bc1823fa2) {
        uVar4 = _malloc((ulong)*(uint *)(unaff_x29 + -0xc4) * 0x10);
        *(undefined8 *)(unaff_x29 + -0x80) = uVar4;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x7286072d58c7f751;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x2416fc178646a5c2) {
        *(undefined4 *)(unaff_x29 + -0xdc) = *(undefined4 *)(unaff_x29 + -0x40);
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x1dd46b65b7149d50;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x2a753d1319d0b056) {
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x56270cddfb92173b;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x2d8bc7f7531b3825) {
        iRam00000000004577b8 = 1;
        uRam00000000004577b0 = *(undefined8 *)(unaff_x29 + -0xb8);
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xf665b273c7f7f335;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x32119d723217e0d5) {
        puVar3 = (undefined4 *)___error(0);
        *(undefined4 *)(unaff_x29 + -0x88) = *puVar3;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xb093947df61298cf;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x394d324c9a2b0a21) {
        *(int *)(unaff_x29 + -0x40) = *(int *)(unaff_x29 + -0xdc) + -1;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x2416fc178646a5c2;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x4a75592ed1b22aab) {
        uVar4 = 0x32119d723217e0d5;
        if ((*(byte *)(unaff_x29 + -0x89) & 1) == 0) {
          uVar4 = 0x9b60b59e47b147b4;
        }
        *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x56270cddfb92173b) {
        iRam00000000004577a8 = 0;
        iRam00000000004577b8 = 0;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x1f38550c1a09c27c;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x5eaa2b70c72ea634) {
        *(int *)(unaff_x29 + -0xdc) = *(int *)(unaff_x29 + -0xdc) + -1;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x1dd46b65b7149d50;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x6ab01e671a01042f) {
        *(undefined1 *)(unaff_x29 + -0xa9) = 1;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xaa2e411e84d6ada5;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x7286072d58c7f751) {
        lRam00000000004577d8 = *(long *)(unaff_x29 + -0x80);
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x7af884dab6c94b7a;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x72d9a85a8298d483) {
        *(byte *)(unaff_x29 + -0x37) = *(byte *)(unaff_x29 + -0xa9) & 1;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x9e1b4dcab6357445;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x76ac9a0c558f9891) {
        uVar4 = func_0x002b69ec(**(undefined4 **)(unaff_x29 + -0x68));
        **(undefined8 **)(unaff_x29 + -0xa8) = uVar4;
        uVar4 = 0xbe8d0bc15961b052;
        if (**(long **)(unaff_x29 + -0xa8) != 0) {
          uVar4 = 0xcb864b2266b89a8a;
        }
        *(undefined8 *)(unaff_x29 + -0xe8) = uVar4;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x7abba5e06e260659) {
        *(undefined4 *)(unaff_x29 + -0xdc) = *(undefined4 *)(unaff_x29 + -0x3c);
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xf818add128cafc2;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x7af884dab6c94b7a) {
        *(undefined8 *)(unaff_x29 + -0xd8) = 0;
        *(undefined8 *)(unaff_x29 + -0xd0) = 0;
        *(undefined4 *)(unaff_x29 + -0xcc) = 0x41;
        *(uint *)(unaff_x29 + -0xcc) = *(uint *)(unaff_x29 + -0xcc) | 0x200;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0x7fd74971c440515d;
      }
      else if (*(long *)(unaff_x29 + -0x108) == 0x7fd74971c440515d) {
        *(undefined4 *)(unaff_x29 + -0xd0) = 0;
        *(undefined **)(unaff_x29 + -0xd8) = &DAT_002a3868;
        *(undefined4 *)(unaff_x29 + -0xdc) = 0;
        *(undefined8 *)(unaff_x29 + -0xe8) = 0xf818add128cafc2;
      }
    }
    param_1 = (ulong)**(uint **)(unaff_x29 + -0x58);
    param_2 = *(undefined8 *)(unaff_x29 + -0x60);
  } while( true );
}


//==== offset 0x2b0e5c  FUN_002b0e5c  size=1

undefined4 FUN_002b0e5c(void)

{
  undefined4 uVar1;
  
  uVar1 = _mach_thread_self();
  _mach_port_deallocate(*(undefined4 *)PTR__mach_task_self__0042c1d0,uVar1);
  return uVar1;
}


