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 */

  entry:
    targetItem = targetRef;
    if targetRef goto block_01EA;

  block_01A1:
    if (Intrinsic003C(targetItem) != 6) goto block_01EA;

  block_01B9:
    /* loopscr value_u8=0x24 */
    /* loop current_var=0xFC string_bytes=0x1 loop_type=0x4 */

  block_01C9:
    if condition goto block_01E8;

  block_01CC:
    /* loopnext  */
    goto block_01C9;

  block_01E8:

  block_01EA:
    return;

}
