| 144 | |
| 145 | |
| 146 | void PluginCommand::HighLevelILFunctionPluginCommandActionCallback( |
| 147 | void* ctxt, BNBinaryView* view, BNHighLevelILFunction* func) |
| 148 | { |
| 149 | RegisteredHighLevelILFunctionCommand* cmd = (RegisteredHighLevelILFunctionCommand*)ctxt; |
| 150 | Ref<BinaryView> viewObject = new BinaryView(BNNewViewReference(view)); |
| 151 | Ref<HighLevelILFunction> funcObject = new HighLevelILFunction(BNNewHighLevelILFunctionReference(func)); |
| 152 | cmd->action(viewObject, funcObject); |
| 153 | } |
| 154 | |
| 155 | |
| 156 | void PluginCommand::HighLevelILInstructionPluginCommandActionCallback( |