Skip to content

Instantly share code, notes, and snippets.

Avatar

Khristian-Kun Khristian-kun

View GitHub Profile
@Khristian-kun
Khristian-kun / Main.cpp
Created Nov 16, 2015
Override Lava Bucket
View Main.cpp
//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();
}
You can’t perform that action at this time.