SysMsgAdd
function · sysmsg · orchestration
- Address
0x44cb40· 72 bytes, up to0x44cb87- Signature
int __fastcall (CStatus *status, uint32_t arg2)- Meaning
- Returns 1 for an empty status, else checks its error text at its level, frees the text and returns the check
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- sysmsg#status-object-check
Finding: Status object check in sysmsg
0x44cb40(status, _) returns 1 at once when CStatus::IsEmpty (0x41a150) of the status holds.
Otherwise it takes the status' error text with CStatus::GetErrorStrAlloc (0x41a2c0, argument
0), calls 0x44cb20(text, [status+0x10]), frees the text with SMemFree (file tag 0x835934,
line 0xae) and returns the check's result. Its second argument is pushed for the check and
never read. Its 10 callers include the cache-update timer 0x402a20, which calls it with a
local status object.
The derivation is in the doc.
Callers 10
- CacheUpdateHandler client
- CGWorldFrame::CGWorldFrame ui
- CCamera::LoadShot uicamera
- GetLiquidFrame terrain
- SetDriftCloudTexture terrain
- LoadMapTexture models
- SimpleModelReplaceTexture ui
- CSimpleTexture::SetTexture ui
- LoadGlare lighting
- LoadDisc lighting
Callees 4
- CStatus::IsEmpty client
- CStatus::GetErrorStrAlloc client
- ValidateStatusLevel sysmsg
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.