FireTutorial
function · ui · primitive
- Address
0x4b5390· 300 bytes, up to0x4b54bb- Meaning
- Sets a tutorial's fire-once bit and signals TUTORIAL_TRIGGER now or after a delay
- Confidence
- verified, proof one
- Finding
- ui/tutorials#the-tutorial-trigger
Finding: The tutorial trigger in ui: tutorials
0x4b5390(ecx = number, edx = delay) does nothing when the fire-once count 0xb711b8 is 0 or the number's bit is already set. Otherwise it sets the bit and, for a delay of 0, plays the interface sound TutorialPopup and signals TUTORIAL_TRIGGER (event 384) with the format %d and the number plus one. The number the interface sees is therefore 1 to 50.
A delay above 0 queues the prompt (below). Because the bit is set first, each number fires once per set, and a number the server already marked never fires.
The derivation is in the doc.
Callers 30
- CGWorldFrame::OnRender ui
- EnterWorldUI ui
- CGGameUI::OnItemPush ui
- CGGameUI::SelectTarget ui
- FireChatEvent ui
- HandleBattlefieldStatusPacket ui
- AddSpellToBook ui
- RebuildRaidRoster ui
- RecomputeInventoryAlerts ui
- HandleMeetingstoneSetQueuePacket ui
- HandleSetFactionStandingPacket ui
- OpenTaxiMap ui
- CanTurnInQuest ui
- OpenMerchantWindow ui
- AcceptQuestImpl ui
- CInputControl::PressCommands input
- OnQuestLogChanged objectlayer
- OnAcceptedQuestRecord objectlayer
- OnRestStateChanged objectlayer
- CGPlayer_C::UpdateGhostState objectlayer
- HandlePlayerNotice objectlayer
- ReadMirrorTimer objectlayer
- CGPlayer_C::StopMeleeAttack objectlayer
- CGPlayer_C::OnPlayerFlagsChanged objectlayer
- CGPlayer_C::InteractWithNpc objectlayer
- CGUnit_C::OnUnitFlagsChanged objectlayer
- CGUnit_C::OnDynamicFlagsChanged objectlayer
- CGUnit_C::StartSwimming objectlayer
- LogSwing objectlayer
- ReportCastFailure spell
Callees 6
- KillGameTimer client
- OsGetAsyncTimeMs core
- SndInterfacePlayInterfaceSound sound
- ArmTutorialTimer ui
- SMemAlloc storm
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.