Fix this symbol

This commit is contained in:
ineed bots
2023-09-11 21:12:35 -06:00
parent 2c922da647
commit a49298d915
3 changed files with 156 additions and 155 deletions

View File

@ -490,17 +490,18 @@ namespace game
}
// void __usercall EmitFieldVariableRef(scr_block_s *block@<eax>, scriptInstance_t inst@<esi>, sval_u expr, sval_u field, sval_u sourcePos)
void EmitFieldVariableRef(scr_block_s* block, scriptInstance_t inst, sval_u expr, sval_u field, sval_u sourcePos, void* call_addr)
void EmitFieldVariableRef(scr_block_s* block, scriptInstance_t inst, sval_u expr, sval_u field, sval_u sourcePos, sval_u rhsSourcePos, void* call_addr)
{
__asm
{
push rhsSourcePos;
push sourcePos;
push field;
push expr;
mov eax, block;
mov esi, inst;
call call_addr;
add esp, 0xC;
add esp, 0x10;
}
}