CGGameUI::InitializeGame
function · ui · primitive
- Address
0x48f480· 518 bytes, up to0x48f685- Meaning
- Registers the game handlers and arms the billing warning timer
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/billing#the-warning-timer
- Test
ui::billing_arm
Finding: The warning timer in ui: play time and the billing rest time
CGGameUI::InitializeGame zeroes the deadline 0xb4e360 at 0x48f636. With the session's remaining minutes R (+0x1af4) and plan flags, it then arms when 0 < R <= 4320 (unsigned) and flag bit 1 is clear: the deadline becomes now + R * 60000, now being the millisecond clock 0x42c010, and the line clock 0xb4e364 and dialog latch 0xb4e368 are zeroed. Otherwise those two keep their values and the deadline stays 0. It then jumps to CGGameUI::Initialize. The function has one caller, 0x401602 in 0x401570, whose one caller is 0x46c236 in the glue manager's state 8: it runs once per login into the world and never on ReloadUI, which runs 0x490bd0 and 0x48fbf0 alone.
The derivation is in the doc.
Callers 1
- ClientInitializeGame client
Callees 38
- OsGetAsyncTimeMs core
- CGGameUI::Initialize ui
- CGChat::InitializeGame ui
- BuildMapLists ui
- CGBattlefieldInfo::InitializeGame ui
- CGMailInfo::InitializeGame ui
- InitChatBubbles ui
- InitSpellBook ui
- InitTutorials ui
- CGRaidInfo::InitializeGame ui
- CGPetInfo::InitializeGame ui
- ClearLootOpened ui
- InitLotteryHandlers ui
- InitMiniGameHandlers ui
- InitWorldState ui
- InitInspectHonorHandlers ui
- InitMeetingStoneHandlers ui
- InitStableHandlers ui
- CGAuctionHouse::InitializeGame ui
- InitGuildRoster ui
- AllocateSkillList ui
- CGDuelInfo::InitializeGame ui
- CGReputationInfo::InitializeGame ui
- InitTrainer ui
- BuildTaxiPathTables ui
- InitQuestLog ui
- InitGossipHandlers ui
- InitItemText ui
- ResetBuffCache ui
- ResetActionBarState ui
- CGPartyInfo::InitializeGame ui
- LoadMinimapTextures ui
- InitPortraits ui
- DBCacheClearUnsaved dbcache
- ClientServices::GetCurrent net
- ClientServices::SetMessageHandler net
- CVar::Lookup cvar
- CVar::SetReadOnly cvar
Calls and jumps by a bare address, from tables/calls.tsv.