[DiscordArchive] ```c
[DiscordArchive] ```c
Archived author: Tea • Posted: 2025-08-15T21:27:53.415000+00:00
Original source
means it needs to be aligned to 8
Archived author: MaxtorCoder • Posted: 2025-08-15T21:27:56.875000+00:00
Original source
```cs
struct __unaligned __declspec(align(4)) JamTraitConfig
{
int32_t ID;
int32_t LoadoutName;
_BYTE gap8[256];
int32_t Type;
_BYTE gap10C[4];
DynamicUF::JamTraitEntry TraitEntries;
DynamicUF::JamTraitSubTreeCache TraitSubTreeEntries;
int32_t SkillLineID;
int32_t SpecializationID;
int32_t CombatConfigFlags;
int32_t LoadoutIndex;
int32_t SystemID;
int32_t Field_194;
};
```
Archived author: MaxtorCoder • Posted: 2025-08-15T21:28:08.685000+00:00
Original source
The traitconfig?
Archived author: MaxtorCoder • Posted: 2025-08-15T21:28:13.382000+00:00
Original source
Or one of the other structs
Archived author: Tea • Posted: 2025-08-15T21:28:18.323000+00:00
Original source
ye, traitconfig
Archived author: MaxtorCoder • Posted: 2025-08-15T21:28:28.385000+00:00
Original source
Oh wtf
Archived author: Tea • Posted: 2025-08-15T21:28:34.077000+00:00
Original source
and then this implies pair<int,traitconfig> has 4 padding bytes after first
Archived author: MaxtorCoder • Posted: 2025-08-15T21:30:22.799000+00:00
Original source
Well you learn something new every day then
Archived author: MaxtorCoder • Posted: 2025-08-15T21:31:25.763000+00:00
Original source
Okay so what would the iterator struct be then?
Archived author: MaxtorCoder • Posted: 2025-08-15T21:31:59.627000+00:00
Original source
```c
struct blz::unordered_map::iterator$int32_t$JamTraitConfig // sizeof=0x18
{ // XREF: blz::pair$blz::unordered_map::iterator$int32_t$JamTraitConfig$bool/r
blz::chained_hash_node$blz::pair$int32_t$JamTraitConfig *node;
blz::chained_hash_node$blz::pair$int32_t$JamTraitConfig **bucket;
blz::chained_hash_node$blz::pair$int32_t$JamTraitConfig **end;
};
```
Literally just this?