| 209 | #endif |
| 210 | |
| 211 | void *virtual_identity::get_vmethod_ptr(int idx) const |
| 212 | { |
| 213 | assert(idx >= 0); |
| 214 | void **vtable = (void**)vtable_ptr(); |
| 215 | if (!vtable) return NULL; |
| 216 | return vtable[idx]; |
| 217 | } |
| 218 | |
| 219 | bool virtual_identity::set_vmethod_ptr(MemoryPatcher &patcher, int idx, void *ptr) const |
| 220 | { |
no test coverage detected