Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class GetVMConditionalVariableValueFunc : public IForEachScriptObjectFunctor
- {
- public:
- GetVMConditionalVariableValueFunc(VMClassRegistry * registry, UInt64 handle, StringCache::Ref var) : IForEachScriptObjectFunctor()
- {
- m_registry = registry;
- m_handle = handle;
- m_varName = var;
- m_result = NULL;
- m_found = 0;
- }
- virtual ~GetVMConditionalVariableValueFunc() { CALL_MEMBER_FN(this, Destroy)(); }
- virtual bool Visit(void * arg, void * arg2) { return CALL_MEMBER_FN(this, Internal_Visit)(arg, arg2); }
- private:
- VMClassRegistry * m_registry;
- UInt64 m_handle;
- StringCache::Ref m_varName;
- VMValue * m_result;
- UInt8 m_found;
- UInt8 unk[3];
- MEMBER_FN_PREFIX(GetVMConditionalVariableValueFunc);
- DEFINE_MEMBER_FN(Internal_Visit, bool, 0x00503450, void * arg1, void * arg2);
- DEFINE_MEMBER_FN(Destroy, void, 0x00502610);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement