定下契约(新注册) 登录
怀念是一行潦草的诗 返回首页

不吉波普的个人空间 http://miuk.cn/?22073 [收藏] [复制] [分享] [RSS]

日志

CLEO关于内存的研究——结构体1

已有 888 次阅读2021-7-17 23:02 | CLEO

2021年7月17日晚
今日份更新{:6_158:}
今天的是Ryosuke所整理的库中部分的结构体,里面涉及的部分过多,虽然我还木有看懂,但是后续会持续更新。
///////////////////////////////////////////////////////////////////////////////////////////////////////////
Fire(火)
Start 0xB71F80
Size 0x28
Num 0x3C

+0x00 Word Exist Flag (20=None)
+0x02 Word Index used in SCM
+0x04 Float X Position
+0x08 Float Y Position
+0x0C Float Z Position
+0x10 DWord Attached to
+0x14 DWord Fired from
+0x18 DWord Disappear Time (from 0xB7CB84)
+0x1C Float Size
+0x20 Byte Some Flag
+0x21 Byte Unknown 60
+0x22 Word Unknown 0
+0x24 Float Unknown
Corona(圆点辉光)
Start 0xC3E058
Size 0x3C
Num 0x40

+0x00 Float X Position
+0x04 Float Y Position
+0x08 Float Z Position
+0x0C DWord Unknown
+0x10 DWord Ptr To Texture Struct (+0x10 Char[64] Name)
+0x14 Float Radius
+0x18 Float Unknown
+0x1C Float Far Clip
+0x20 Float Near Clip
+0x24 DWord 0
+0x28 Float 15.0
+0x2C Byte Color R
+0x2D Byte Color G
+0x2E Byte Color B
+0x2F Byte Color A
+0x30 Byte Fade (0=Hide/255=Show)
+0x31 Byte Some Flag (0/1)
+0x32 Byte Flare
+0x33 Byte Some Flag (0/1)
+0x34 DWord Some Flag
+0x38 DWord 0

Bullet(子弹)
Start 0xC88740
Size 0x2C
Num 0x08

+0x00 DWord Weapon Type
+0x04 DWord Fired From
+0x08 Float Destroy Time
+0x0C Byte Exist Flag
+0x0D Byte3 Padding
+0x10 Float X Position
+0x14 Float Y Position
+0x18 Float Z Position
+0x1C Float X Velocity (Meters per Frame)
+0x20 Float Y Velocity (Meters per Frame)
+0x24 Float Z Velocity (Meters per Frame)
+0x28 Word Damage
+0x2A Word Padding
* Start Address and some other are from Sacky's post in GTAForums.com

Explosion(爆炸)
Start 0xC88950
Size 0x7C
Num 0x10

+0x00 DWord Explosion Type
+0x04 Float X Position
+0x08 Float X Position
+0x0C Float X Position
+0x10 Float Unknown
+0x14 Float Unknown 0.5
+0x18 DWord Unknown 0
+0x1C DWord Unknown 0
+0x20 Float Disappear Time (from 0xB7CB84)
+0x24 Float Unknown 1.0
+0x28 Byte Frames from Created
+0x29 Byte Unknown 1
+0x2A Byte Unknown 1
+0x2B Byte Unknown 0
+0x2C Float Created Time (from 0xB7CB84)
+0x30 DWord Unknown 0
+0x34 Float Visible Radius
+0x38 DWord Unknown 0
+0x3C DWord Time from Created
+0x40 - +0x78 Float Effect Coords
以上的结构体我还木有进行试验,有空就去试试看。好!摸了{:6_151:}

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 定下契约(新注册)

    切换繁體
    Archiver|手机版|小黑屋|

GMT+8, 2024-11-23 01:27 , Processed in 0.032370 second(s), 12 queries .

沪ICP备2021020632号-1

返回顶部