Resolve the Mac inventory-table getter to its existing record pointer
Ghidra vmac 110 · 9528519
The inventory-table getter has an undefined return, while its complete native body returns a240-byte record address or null. The loader compiles the inventory table with240-byte rows into the same PIC global. All three complete callers use the returned address for the screen/grid/body portions matching the existing D2InventoryTxt layout. Change only the return to D2InventoryTxt*. Preserve uint nIndex in ECX, its selected name, one formal, __fastcc and plainRET; all caller, loader, global, layout and bounds behavior is unchanged. Full602-byte native proof and incoming consumers checked; static metadata correction only.
Changes 1, applied together
Set prototype
mac 0x001423bbsignatureundefined DATATBLS_GetInventoryTxtRecord(uint nIndex)→D2InventoryTxt * DATATBLS_GetInventoryTxtRecord(uint nIndex)convention__fastcc