function satarg_use() /* entry=312 class_id=0x0549 slot=0x01 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    item, /* [BP-02h] type=0x24 */
    counter; /* [BP-04h] type=0x69 */

  set_info(0x0207, *(arg_06));
  process_exclude();
  if (!Item.getFrame(arg_06)) {
    return;
  }
  else {
    /* global_address global_id=0x3C */
    while (!Actor.isBusy()) {
      spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
      suspend;
    }
    /* global_address global_id=0x3C */
    /* global_address global_id=0x3C */
    suspend;
    spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
    suspend;
    spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
    suspend;
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
    spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
    suspend;
    spawn ITEM.slot_28(pid, 0, 1, arg_06);
    suspend;
    spawn FREE.slot_3B(0x00000000);
    /* loop_selector item in nearby_items(shape=NUMBERS, origin=arg_06) */
    while (!condition) {
      if (Item.getQLo(item) == 0) {
        spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 30, 20), 0x00000000);
        suspend;
      }
      /* loopnext  */
    }
    for item in nearby_items(shape=0x03C1, origin=arg_06) {
      spawn ITEM.slot_28(pid, 0, 1, item);
      suspend;
      spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 40, 20), 0x00000000);
      suspend;
      /* loopnext  */
    }
    for item in nearby_items(shape=0x03BF, origin=arg_06) {
      spawn ITEM.slot_28(pid, 0, 1, item);
      suspend;
      spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 50, 30), 0x00000000);
      suspend;
      /* loopnext  */
    }
    spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
    suspend;
    spawn FREE.slot_26(pid, "15d", 0x00000000);
    /* free_stack_string value_u8=0x0 target=[SP+00h] */
    suspend;
    spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
    suspend;
    /* pop_global global_id=0x38 size=0x1 */
    spawn TRIGGER.slot_20(1, pid, 0, *(arg_06), arg_06);
    suspend;
    spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
    suspend;
    if (Game.getDifficultyLevel() <= 1) {
      spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
      suspend;
    }
    spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
    suspend;
    /* loop_selector item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) */
    while (!condition) {
      /* loopnext  */
    }
  }
  return;
}
