Article Plutonium T6 Offsets

NordCFW

IT Specialist/Security Enthusiast
Messages
110
Reaction score
19
Points
888
Code:
  pCG         = reinterpret_cast<cg_t*>(*(__int64*)(0x113F18C));
        pRefdef  = reinterpret_cast<refdef_t*>(*(__int64*)(0x113F18C) + 0x4D890);

      
        pActors  = reinterpret_cast<actors_t*>(*(__int64*)(0x1140878));
        pClients = reinterpret_cast<clients_t*>(*(__int64*)(0x113F18C) + 0x69A60);

      
        GScr_AllocString      = reinterpret_cast<tGScr_AllocString>(0x5EE820); //registertag
        Com_GetClientDObj      = reinterpret_cast<tCom_GetClientDObj>(0x4DA190);
        WorldPosToScreenPos   = reinterpret_cast<tWorldPosToScreenPos>(0x429A80);
        CG_DObjGetWorldTagPos = reinterpret_cast<tCG_DObjGetWorldTagPos>(0x4A1210);

      
        ScrPlace_GetView                  = reinterpret_cast<tScrPlace_GetView>(0x6F6AF0);
        UI_GetFontHandle                  = reinterpret_cast<tUI_GetFontHandle>(0x494BD0);
        CL_DrawTextPhysical                  = reinterpret_cast<tCL_DrawTextPhysical>(0x4048B0);
        Material_RegisterHandle              = reinterpret_cast<tMaterial_RegisterHandle>(0x734CC0); //registershader
        AimTarget_IsTargetVisible          = reinterpret_cast<tAimTarget_IsTargetVisible>(0x507EC0);
        CG_DrawRotatedPicPhysical          = reinterpret_cast<tCG_DrawRotatedPicPhysical>(0x5A7080);
        CL_DrawStretchPicPhysicalInternal = reinterpret_cast<tCL_DrawStretchPicPhysicalInternal>(0x4F7820);

        /// Statics.
        pViewHandle = ScrPlace_GetView(GetIndex());
        pMaterial01 = Material_RegisterHandle("white", 7, true, -1);
        pMaterial02 = Material_RegisterHandle("compassping_enemydirectional", 7, true, -1);
        pFontHandle = UI_GetFontHandle(pViewHandle, (*(__int64*)(0x113F168) + 0xC) <= 600, 0.275);
 

BullyWiiPlaza

Modder
Messages
214
Reaction score
174
Points
818
It's great to see those offsets being posted but it would be nice if there also were some code examples on what you could do with them because it doesn't always seem obvious. Just my opinion on how these "offset only" posts are truly lacking in usefulness for people playing on Plutonium and for people not playing on it.
 

NordCFW

IT Specialist/Security Enthusiast
Messages
110
Reaction score
19
Points
888
It's great to see those offsets being posted but it would be nice if there also were some code examples on what you could do with them because it doesn't always seem obvious. Just my opinion on how these "offset only" posts are truly lacking in usefulness for people playing on Plutonium and for people not playing on it.
I will take a look at updating this!
 
Top