SysMsgPrintf
function · sysmsg · orchestration
- Address
0x44cbd0· 44 bytes, up to0x44cbfb- Signature
int __cdecl (int level, int channel, const char *format, ...)- Meaning
- Prints a formatted system message: error 0x57 for a null format, else the formatted level check
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- sysmsg#printing-a-message
Finding: Printing a message in sysmsg
0x44cbd0(level, channel, format, ...) returns 0 after SErrSetLastError(0x57) when format is
null, and otherwise calls 0x44cb90 with a pointer to the variable arguments. 0x44cb90 writes
the text with __vsnprintf into a 256-byte stack buffer, sets its last byte to 0, and returns
0x44cb20(text, level), which returns 1 when text is non-null and level < 4 (signed), and
otherwise sets error 0x57 and returns 0. The buffer is not stored or shown, so a print does
nothing but the check. 35 call sites reach 0x44cbd0; 31 reach 0x44cb20.
The derivation is in the doc.
Callers 26
- CCamera::SetView uicamera
- GetDynamicObjectEffectName objectlayer
- CGDynamicObject_C::GetModelPath objectlayer
- DynamicObjectModelEvent objectlayer
- CGCorpse_C::GetModelPath objectlayer
- GetInventoryIconByDisplayId objectlayer
- CGPlayer_C::LearnSpell objectlayer
- CGPlayer_C::UnlearnSpell objectlayer
- CGGameObject_C::CGGameObject_C objectlayer
- CGGameObject_C::GetDisplayModelPath objectlayer
- CGUnit_C::OnModelEvent objectlayer
- CGUnit_C::GetModelPath objectlayer
- CGUnit_C::DisplayNeedsRebuild objectlayer
- CGUnit_C::ResolveDisplayRecords objectlayer
- CGUnit_C::UpdateCollisionSize objectlayer
- CGUnit_C::OnModelLoaded objectlayer
- CGObject_C::CreateNode objectlayer
- 0x6143d0 objectlayer
- 0x614410 objectlayer
- 0x6144b0 objectlayer
- CGPlayer_C::PlayPrecastSound objectlayer
- LoadInteriorTile minimap
- LoadOutdoorTiles minimap
- BuildTilePath minimap
- HandleSpellGo spell
- PlaySpellPrecastVisual spell
Callees 2
- SysMsgVPrintf sysmsg
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.