This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
mission_impossible:sool_engine [2019/06/18 19:42] shygoo call_ctx_method: fix input stack order |
mission_impossible:sool_engine [2019/06/19 17:56] shygoo fix 0B, 0C, 0D |
||
---|---|---|---|
Line 96: | Line 96: | ||
Stack: ''[...] -> [...] [immValue1] [immValue2]'' | Stack: ''[...] -> [...] [immValue1] [immValue2]'' | ||
---- | ---- | ||
- | ====0B: load_ctx_var_offs ==== | + | ====0B: load_ctx_elem ==== |
''0B'' | ''0B'' | ||
- | Pop variable id and context id from the stack, push offset of variable to the stack. | + | Pop element key and context id from the stack, push context's element value to the stack. |
- | Stack: ''[...] [ctxId] [varId] -> [...] [varOffset]'' | + | Stack: ''[...] [ctxId] [elemKey] -> [...] [elemValue]'' |
---- | ---- | ||
- | ====0C: load_ctx_var_offs_keep_ctx ==== | + | ====0C: load_ctx_elem_keep_ctx ==== |
''0C'' | ''0C'' | ||
- | Pop variable id from the stack, load context id from top of stack (do not pop context id). Push offset of variable to the stack. | + | Pop element key from the stack, load context id from top of stack (do not pop context id). Push context's element value to the stack. |
- | Stack: ''[...] [ctxId] [varId] -> [...] [ctxId] [varOffset]'' | + | Stack: ''[...] [ctxId] [elemKey] -> [...] [ctxId] [elemValue]'' |
---- | ---- | ||
- | ====0D: load_ctx_var ==== | + | ====0D: load_ctx_elem_var ==== |
''0D'' | ''0D'' | ||
- | Pop variable id and context id from the stack. Push context's variable value to the stack. | + | Pop element key and context id from the stack. Using the element's value as a variable offset, push context's variable to the stack. |
- | Stack: ''[...] [ctxId] [varId] -> [...] [varValue]'' | + | Stack: ''[...] [ctxId] [elemKey] -> [...] [varValue]'' |
---- | ---- | ||
====0E: unk0E ==== | ====0E: unk0E ==== |