mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
FUN_ADDON_GET_BY_INDEX returns a name pointer, not the AddOnEntry record, so reading the OptionalDeps offsets (+0x3C/+0x40) directly off it landed in addon-name string memory and dereferenced garbage as an array base -> ACCESS_VIOLATION (pfUI's addon list iterates by index and hit it immediately). Route both numeric and string args through the by-name hash resolver FUN_ADDON_RESOLVE_REQ_DEPS to reach the real record, exactly as stock Script_GetAddOnDependencies does for both.