you could prolly use:
Code:
void loadUp()
{
addChatMessage("|cff00ff00Loaded!") ;
CDataStore *dataStore ;
*dataStore << 0x123 ; //so you will get the pointer to the dataStore inside your
//asm block of code.
__asm {
mov edx, dataStore
push edx // push the pointer to dataStore
mov ecx, 0x00BB43F0 // move g_clientConnection to ecx
mov eax, 0x0088E530
call eax // call SendPacket
add esp, 0x4 //based on lanman92 from the thread that you got the info from
}
addChatMessage("|cff00ff00Finished!") ;
}
It's not necessary to use the "&" operator in inline ASM (not just not necessary, it's not able).
You can use the "&" operator in the inline ASM but not with that symbol. You could use [dataStore](or something like that, i don't remember exactly) to get the address of your object.