Code:
std::pair<int,int> GetItemAttribute(DWORD ItemSlot,DWORD AttributeSlot)
{
int AttributeNmbr;
int AttributeWert;
__asm
{
PUSH AttributeSlot //Attribut 1-7
MOV ECX,DWORD PTR DS:[0x7CE01C]
PUSH ItemSlot //Slot des items
CALL GetItemAttributeCall
MOVSX EAX, WORD PTR SS:[LOCAL.2] //Inlineassembler: Syntaxfehler in 'Zweiter Operand'; 'constant' gefunden
MOVZX ECX, BYTE PTR SS:[LOCAL.3+3]//Hier das gleiche
}
std::pair <int,int> Tupel (AttributeNmbr,AttributeWert);
return Tupel;
}







