function item_slot_21() /* entry=400 class_id=0x0A1E slot=0x21 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    targetRef, /* [BP+0Ah] type=0x69 */
    targetItem, /* [BP-02h] type=0x24 */
    item; /* [BP-04h] type=0x24 */

  targetItem = targetRef;
  if (!targetRef) {
    if (Item.getItemFamily(targetItem) == 6) {
      /* loopscr value_u8=0x24 */
      /* loop current_var=0xFC string_bytes=0x1 loop_type=0x4 */
      while (!condition) {
        /* loopnext  */
      }
    }
  }
  return;
}
