function thrmbcke_equip() /* entry=330 class_id=0x0567 slot=0x0A */
{
  set_info(0x0211, *(arg_06));
  process_exclude();
  if (!arg_0A) {
    while (!Intrinsic0035(4, arg_06)) {
      spawn FREE.slot_3B(pid, 2, 0x00000000);
      suspend;
    }
    while (!Intrinsic0035(4, arg_06)) {
      spawn FREE.slot_3B(pid, 2, 0x00000000);
      suspend;
    }
    while (!Intrinsic0035(4, arg_06)) {
      spawn FREE.slot_3B(pid, 2, 0x00000000);
      suspend;
    }
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x44 */
    /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
    while (!condition) {
      /* loopnext  */
    }
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x48 */
    /* loop current_var=0xFC string_bytes=0x12 loop_type=0x2 */
    while (!condition) {
      if (Intrinsic000D(local_04) == Item.getQLo(arg_06)) {
        local_08 = 3;
        if (World.gameDifficulty() <= 2) {
          local_06 = 10;
        }
        else {
          local_06 = 5;
        }
        spawn FREE.slot_3B(pid, 40, 0x00000000);
        suspend;
        spawn FREE.slot_3B(pid, 2, 0x00000000);
        suspend;
        return;
      }
      /* loopnext  */
    }
  }
  return;
}
