function pplate_gotHit() /* entry=79 class_id=0x0198 slot=0x06 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    ref, /* [BP+0Ah] type=0x69 */
    vel, /* [BP+0Ch] type=0x69 */
    item; /* [BP-02h] type=0x24 */

  entry:
    set_info(0x020C, *(arg_06));
    process_exclude();
    class_0A0C_slot_2C(vel, ref);
    if retval goto block_0103;

  block_00FD:
    goto block_0238;

  block_0103:
    if (Item.getMapNum(arg_06) != 0) goto block_0218;

  block_0115:
    item = ref;
    if ((Intrinsic0057(arg_06) != 0) || (Item.use(*(arg_06), item) != 0)) goto block_0148;

  block_0142:
    goto block_0238;

  block_0148:
    spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
    suspend;

  block_018A:
    if 1 goto block_0218;

  block_0192:
    if (Intrinsic0057(arg_06) != 0) goto block_01CD;

  block_01A4:
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;
    goto block_0215;

  block_01CD:
    spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
    suspend;
    goto block_0238;

  block_0215:
    goto block_018A;

  block_0218:
    if (!Item.getFrame(arg_06)) goto block_0238;

  block_022B:

  block_0238:
    return;

}
