Skip to content

Instantly share code, notes, and snippets.

View Khristian-kun's full-sized avatar

Khristian-Kun Khristian-kun

View GitHub Profile
@Khristian-kun
Khristian-kun / Main.cpp
Created November 16, 2015 21:00
Override Lava Bucket
//Override Lava Bucket
void (*_Item$initItems)();
void Item$initItems() {
void** vtable = *((void***) Item::mItems[325]);
vtable[3] = (void*) &_myGetItem;
const TextureUVCoordinateSet& &_myGetIcon("lava_bucket");
_Item$initItems();
}