function bbetty_slot_20() /* entry=371 class_id=0x0A01 slot=0x20 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    item, /* [BP-02h] type=0x24 */
    counter, /* [BP-04h] type=0x69 */
    counter2, /* [BP-06h] type=0x69 */
    total; /* [BP-08h] type=0x69 */

  entry:
    set_info(0x0205, *(arg_06));
    if (Intrinsic0016(arg_06) != 0x02C9) goto block_0232;

  block_010F:
    counter = 0;

  block_0116:
    if (counter <= 4) goto block_0219;

  block_011E:
    total = 0;
    /* loopscr value_u8=0x24 */
    /* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */

  block_0142:
    if condition goto block_015E;

  block_0145:
    total = (1 + total);
    /* loopnext  */
    goto block_0142;

  block_015E:
    counter2 = 1;

  block_019B:
    if (counter2 <= total) goto block_01E6;

  block_01A6:
    item = Intrinsic0023();
    counter2 = (1 + counter2);
    goto block_019B;

  block_01E6:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    counter = (1 + counter);
    goto block_0116;

  block_0219:

  block_0232:
    spawn class_0A01_slot_21(arg_06);
    return;

}
