IdentityPtr
IDA Pro
-
Press View → Open Subviews → Strings or Shift+F12 to open the Strings tab.
-
Search for
Current identity is %d. -
Go to its xref.
-
Press TAB or F5 to decompile. It will take you here:
v2 = sub_39D48F0(qword_66EAF08);
v3 = *(_OWORD *)v2;
*(_QWORD *)(v2 + 0x28) = sub_CE75A0;
*(_QWORD *)(v2 + 0x18) = a1;
if ( (int)((__int64)(*(_QWORD *)(a1 + 0x20) - *(_QWORD *)(a1 + 8)) >> 4) <= 0 )
{
v9 = v3;
sub_1516AB0(0, "Current identity is %d", (_DWORD)v3);
The qword passed as input to the function that produces v2 (i.e. qword_XXXXXXX) is the identity struct pointer.
Here, qword_66EAF08 is used as input to produce v2, so:
IdentityPtr = 0x66EAF08