Type Mac LIGHTMAP_SetInterpolationStep as void __fastcc (int, int, D2LightMapStrc*)
Mac body: ECX = source X (subtracted from light +0x10), EDX = source Y (compared with/subtracted from +0x14), [EBP+8] = the light map pointer; stores the step mode/direction/slope globals; plain RET, EAX leftover. dLightMapUpdate sets ECX/EDX before the call (0x00061a09/0x00061a12). Same logic as Windows LIGHTMAP_ComputeInterpolationDir 0x00474b50 (int nSrcX, int nSrcY, D2LightMapStrc* pLightMap), mapped by role.
Changes 1, applied together
Set prototype
mac 0x000626casignatureundefined LIGHTMAP_SetInterpolationStep(void)→void LIGHTMAP_SetInterpolationStep(int nSrcX, int nSrcY, D2LightMapStrc* pLightMap)conventionunknown→__fastcc