if (pPlayerModel) {
auto pMultiMesh = Read<ULONG_PTR>(pPlayerModel + 0xD8); //d8 : _multiMesh (type: SkinnedMultiMesh)
if (pMultiMesh) {
auto pBoneDictionary = Read<ULONG_PTR>(pMultiMesh + 0x20); //20 : boneDict (type: System.Collections.Generic.Dictionary<System.String,UnityEngine.Transform>)
if (pBoneDictionary) {
pBoneDictionary = Read<ULONG_PTR>(pBoneDictionary + 0x28);
//https://puu.sh/D07K3/ea196f456e.png
auto pBoneInfo = Read<ULONG_PTR>(pBoneDictionary + 0x18); //BoneInfo
//auto BoneValue = *(CBoneValue**)((uintptr_t)BoneInfo + 0x30 + ((Bone - 1) * 0x18));
int iBone = Bone_List::head;
auto pBone = Read<ULONG_PTR>(pBoneInfo + 0x30 + ((iBone - 1) * 0x18));
auto pTransform = Read<ULONG_PTR>(pBone + 0x10);
//get pos grom pTransform..
auto pPos = RustGetPosition(pTransform);
wHeadPos = pPos;
bRet = GWorldToScreen(D3DXVECTOR3(wHeadPos.x, wHeadPos.y, wHeadPos.z), &vHeadPos);
vAimPos = vHeadPos;
//OutputDebugStringA("GOT SKEL!\n");
}
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}