function pplate2_equip() /* entry=80 class_id=0x0199 slot=0x0A */
{
  var
    referent, /* [BP+00h] type=0x69 */
    var, /* [BP+0Ah] type=0x69 */
    ff; /* [BP-02h] type=0x69 */

  entry:
    set_info(0x0211, *(arg_06));
    process_exclude();
    ff = Item.getFrame(arg_06);
    if (ff & 1) goto block_0164;

  block_0104:
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;
    spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
    suspend;
    goto block_01C1;

  block_0164:
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;
    spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
    suspend;

  block_01C1:
    return;

}
