function miss1egg_slot_23() /* entry=353 class_id=0x090D slot=0x23 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    item, /* [BP-02h] type=0x24 */
    pathegg, /* [BP-04h] type=0x24 */
    n, /* [BP-06h] type=0x24 */
    guardBoy, /* [BP-08h] type=0x24 */
    door; /* [BP-0Ah] type=0x24 */

  entry:
    set_info(0x0001, *(arg_06));
    spawn class_090D_slot_25(arg_06);
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x3D */
    /* loopscr value_u8=0x40 */
    /* loopscr value_u8=0x25 */
    /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */

  block_0BE7:
    if condition goto block_0BF5;

  block_0BEA:
    n = item;
    /* loopnext  */
    goto block_0BE7;

  block_0BF5:
    if (!n) goto block_0C11;

  block_0C00:
    goto block_0DFB;

  block_0C11:
    suspend;
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x3D */
    /* loopscr value_u8=0x40 */
    /* loopscr value_u8=0x25 */
    /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */

  block_0C55:
    if condition goto block_0C97;

  block_0C58:
    if (Item.getQHi(item) != 23) goto block_0C93;

  block_0C6D:
    door = item;
    spawn class_0A06_slot_20(pid, door);
    suspend;

  block_0C93:
    /* loopnext  */
    goto block_0C55;

  block_0C97:
    spawn class_0A11_slot_22(pid, 5, 4, n);
    suspend;
    suspend;
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
    spawn class_0A0C_slot_3B(0x00000000);
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x3D */
    /* loopscr value_u8=0x40 */
    /* loopscr value_u8=0x25 */
    /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */

  block_0D87:
    if condition goto block_0DC2;

  block_0D8A:
    /* loopnext  */
    goto block_0D87;

  block_0DC2:
    /* pop_global global_id=0x2F size=0x1 */
    spawn class_090D_slot_24(1, pid, n, arg_06);
    suspend;

  block_0DFB:
    return;

}
