Skip to content

Instantly share code, notes, and snippets.

View SeanSullivan86's full-sized avatar

Sean Sullivan SeanSullivan86

View GitHub Profile
@SeanSullivan86
SeanSullivan86 / TreasureClassDropper.cpp
Created October 5, 2022 23:00
D2 TreasureClassDropper
#include "D2Structs.h"
#include <WinDef.h>
void __fastcall TreasureClassDropper_0055a6d0
(D2GameStrc* pGame, D2UnitStrc* pItemDropper, D2UnitStrc* pItemReceiver, D2TCExShortStrc* pParentTC,
uint presetQuality, uint ilvl, BOOL ignoreNoDrop, D2UnitStrc** pOutput, uint* itemCount, uint maxItems) {
D2Assert(pParentTC != nullptr, 0xf3a);
D2Assert(pOutput == nullptr || maxItems > 0, 0xf44);