function wshockew_unequip() /* entry=245 class_id=0x044E slot=0x0B */
{
  var
    referent, /* [BP+00h] type=0x69 */
    var, /* [BP+0Ah] type=0x69 */
    item; /* [BP-02h] type=0x24 */

  set_info(0x0212, *(arg_06));
  process_exclude();
  /* loop_selector item in nearby_items(family=6, origin=arg_06) */
  while (!condition) {
    if (!Actor.isNPC(item)) {
      if (Item.overlaps(item, arg_06) == 1) {
        spawn WSHOCKEW.gotHit(0, item, arg_06);
        return;
      }
    }
    /* loopnext  */
  }
  return;
}
