Based on this snippet, I thought I was on the right track to calculate the melee attack range.
Code:
v14 = fmaxf((float)(*(float *)(v13 + 0x19E4) + *(float *)(a1 + 0x19E4)) + 1.3333334, 5.0);
if ( (*(_DWORD *)(a1 + 0x19D0) & 0x40000000) != 0 )
v14 = v14 + *(float *)(v13 + 0x1BBC);
if ( (*(_DWORD *)(a1 + 0x19C8) & 8) != 0 || (*(_DWORD *)(v13 + 0x19C8) & 8) != 0 )
v14 = v14 + 1.0;
However, I can't figure out a way to make the values work to get the exact result. There are a few posts about this and combat reach, bounding radius, but they all have different suggestions for getting the value. I'm hoping to just achieve an in range status check. Thanks.