Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 724 Bytes

CBaseModelEntity_SetModel.md

File metadata and controls

22 lines (19 loc) · 724 Bytes

search string: weapons/models/defuser/defuser.vmdl, and xref

  v2 = a2;
  v3 = (__int64)a1;
  CBaseModelEntity_SetModel(a1, (__int64)"weapons/models/defuser/defuser.vmdl");
  sub_18084ABF0(v3, v2);
  v4 = (_DWORD *)sub_180CED000(&unk_1813D3728, 0xFFFFFFFFi64);
  if ( !v4 )
    v4 = *(_DWORD **)(qword_1813D3730 + 8);
  if ( *v4 == 1 )
  {
    v5 = (__int64 *)(*(__int64 (__fastcall **)(__int64, const char *, _QWORD, _QWORD))(*(_QWORD *)qword_18140DB60 + 48i64))(
                      qword_18140DB60,
                      "defuser_dropped",
                      0i64,
                      0i64);

prototype: void CBaseModelEntity::SetModel(CBaseModelEntity* pthis, const char *pszModel)

dll: server