PDA

View Full Version : |Source| Iventory Zen Custom 1.04d



Goten
25/04/2020, 11:19 PM
[Only registered and activated users can see links]

Define:

#define sub_635FD0 ((void(__cdecl*)(BYTE Mode)) 0x635FD0)
#define sub_635F50 ((void(__cdecl*)()) 0x635F50)



Hook:

SetRange((LPVOID)0x00834FC6, 5, ASM::NOP);
SetOp((LPVOID)0x00834FC6, DrawZenAndRud, ASM::CALL);

Função:

void DrawZenAndRud(int a1, int a2, int a3, int a4) {


int v10;
int v11;
int v17;
int v18;
DWORD v23;
sub_635FD0(1);
v10 = *(DWORD*)(a1 + 40);
v11 = *(DWORD*)(a1 + 36);
v17 = *(_DWORD *)(a1 + 40) + 371;
v18 = *(_DWORD *)(a1 + 36) + 35;
v23 = *(DWORD*)(*(DWORD*)0x8128AC4 + 5956);
*(float*)(0x00D24E88); //Width
pGetTextLine(pTextLineThis, 223); //text Trang Bi

//drawText x = v11, y = v10 + 12, Align = 3, Text = pGetTextLine(pTextLineThis, 223);
//drawGUI 0x7A89, x = v11 + 11, y = v10 + 364
//drawText x = v11 + 50, y = v10 + 371, Align = 3, Text = ("%d"), v23;

return;
}


Créditos:
Odisk

GangoX
20/09/2020, 12:16 AM
Teria para season 4