function item_slot_27() /* entry=400 class_id=0x0A1E slot=0x27 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    damageRef, /* [BP+0Ah] type=0x69 */
    vel, /* [BP+0Ch] type=0x69 */
    maxHits, /* [BP+0Eh] type=0x69 */
    damagePoints, /* [BP-02h] type=0x69 */
    currentHits, /* [BP-04h] type=0x69 */
    newHits; /* [BP-06h] type=0x69 */

  entry:
    set_info(1, *(arg_06));
    if (damageRef != 0x4000) goto block_0B3C;

  block_0B32:
    /* word_to_dword  */
    /* pop_result  */
    goto block_0BA1;

  block_0B3C:
    damagePoints = (vel & 0x00FF);
    currentHits = Item.getNpcNum(arg_06);
    newHits = (currentHits + damagePoints);
    if (newHits >= maxHits) goto block_0B8A;

  block_0B70:
    /* word_to_dword  */
    /* pop_result  */
    goto block_0BA1;

  block_0B87:
    goto block_0BA1;

  block_0B8A:
    /* word_to_dword  */
    /* pop_result  */
    goto block_0BA1;

  block_0BA1:
    return;

}
