function windsurf_unequip() /* entry=180 class_id=0x0337 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();
  /* loopscr value_u8=0x24 */
  /* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
  while (!condition) {
    if (item == *(arg_06)) {
      if (!Item.overlaps(item, arg_06)) {
        spawn class_0337_gotHit(0, item, arg_06);
      }
    }
    /* loopnext  */
  }
  return;
}
