local fn = _gn(0x94eb1fe4)
--- Gets local index inside a collection (which can be obtained using [GET_PED_COLLECTION_NAME_FROM_DRAWABLE](#\_0xD6BBA48B)) for the given global drawable ID. The collection name and index are used in functions like [SET_PED_COLLECTION_COMPONENT_VARIATION](#\_0x88711BBA).
-- @param ped The target ped
-- @param componentId One of the components from [SET_PED_COMPONENT_VARIATION](#\_0x262B14F48D29DE80)
-- @param drawableId Global drawable ID. Same as set in [SET_PED_COMPONENT_VARIATION](#\_0x262B14F48D29DE80). Global drawable ID points to drawables as if drawables from all collections for the given component are placed into one continuous array.
-- @return Local index inside a collection that the given global drawable ID corresponds to. Returns -1 if Ped is not found or the global index is out of bounds.
function Global.GetPedCollectionLocalIndexFromDrawable(ped, componentId, drawableId)
	return _in2(fn, ped, componentId, drawableId, _ri)
end
