Files
SatyandClaude Opus 5.5 393769ff36 Port single-missing-function modules
LeaveWorld handlers, game object type checks, corpse/dynamic object
virtuals, loot/voice/macro helpers, declined words, ProcessAgreement,
ObjectCreateStaticEx, FFX death/fog-seed/nether-blur passes, software
snow renderer, streaming decal, QuestCache copy, trajectory encoder and
deleting destructor tags. Fixes the missing CMapStaticEntity destructor
model release.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-02 14:39:43 +02:00

26 lines
528 B
C++

#include "BLLLoader.h"
// INLINED
BLLLoader::~BLLLoader() {
this->Unload();
}
// VERIFY: 41b5b6fb manual
// OFFSET: 0x00872320
void* BLLLoader::GetExport(int32_t ordinal) {
uint8_t* image = this->m_image;
if (!image) {
return nullptr;
}
const uint32_t* header = reinterpret_cast<const uint32_t*>(image);
uint32_t index = ordinal - header[6];
if (index >= header[5]) {
return nullptr;
}
return image + *reinterpret_cast<const uint32_t*>(image + header[4] + index * 4);
}